<>
Martin Weiss wrote:
> See - help whatsnew8to9- and search for "sum()"
>
> "The following egen functions have been renamed:
>
> old name new name
> ------------------------
> any() anyvalue()
> eqany() anymatch()
> neqany() anycount()
> rfirst() rowfirst()
> rlast() rowlast()
> rmean() rowmean()
> rmin() rowmin()
> rmiss() rowmiss()
> robs() rownonmiss()
> rsd() rowsd()
> rsum() rowtotal()
> sum() total()
> ------------------------"
>
Thanks Martin, your memory is clearly better than mine to remember that
from 2005! I thought that might have been the case and had read -man
whatsnew- but hadn't gone back further (I also neglected to state that
I'm using Stata 10.1 born 11 Aug 2008)
In addition to this excellent advice, for egen functions you can
always just look at them:
which _gsum.ado
viewsource _gsum.ado
*! version 4.0.0 04oct2004
program define _gsum
// -egen- function -sum()- renamed to -total()- for Stata 9
// no -version #- statement
_gtotal `0'
end
to see what they are doing.
Kit Baum, Boston College Economics and DIW Berlin
http://ideas.repec.org/e/pba1.html
An Introduction to Modern Econometrics Using Stata:
http://www.stata-press.com/books/imeus.html
*
* 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/