Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: sum() with egenerate


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: sum() with egenerate
Date   Tue, 13 Apr 2010 07:06:33 -0500

The -egen- function -sum()- was renamed  -total()- in version 9.

Using -sum()- just redirects you to -total()- :

*! version 4.0.0  04oct2004
program define _gsum
	// -egen- function -sum()- renamed to -total()- for Stata 9

	// no -version #- statement
	_gtotal `0'
end

Scott

On Tue, Apr 13, 2010 at 6:59 AM,  <uatz@mail.uni-mannheim.de> wrote:
> Hello everybody,
>
> I used the sum() function in combination with egen command and it behaved like the total() function, hence not a running sum as I expected.
> Can anyone confirm this or is it an old topic?
>
> Thanks,
> Ulrich
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index