Carlo is in order. -egen, rsum()- was renamed
-egen, rowtotal()- in Stata 9. Thus Rajesh is
strictly correct only for Stata 8 and below.
In Stata 9 (and I think Stata 10) -egen, rsum()-
continues to work but is not documented.
Nick
[email protected]
Rajesh Tharyan
I believe the command you want is
egen sum=rsum(Alfa Beta)
Carlo Lazzaro
I have calculated via egen the total number of administrations of a given
drugs (Alfa=parenteral; Beta=per os).
egen Sum=rowtotal(Alfa Beta)
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/