Dear Nick,
thanks a lot for Your Kind and prompt reply.
Kind Regards,
Carlo
-----Messaggio originale-----
Da: [email protected]
[mailto:[email protected]] Per conto di n j cox
Inviato: gioved� 5 luglio 2007 18.55
A: [email protected]
Oggetto: Re: st: RE: replacing after egen
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/
*
* 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/