[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: replacing after egen

From   n j cox <>
Subject   Re: st: RE: replacing after egen
Date   Thu, 05 Jul 2007 17:54:30 +0100

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.


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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index