Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: sum() with egenerate
From
Scott Merryman <[email protected]>
To
[email protected]
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, <[email protected]> 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/