[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: Question about cummulative summatories
In response to Sirenia Vazquez's question about cumulative sum, and the
reply that Gabi Huiber provided, I would like to add...
will give the overall sum (a constant), whereas,
will give the cumulative sum.
Either can be combined with -by- to partition the data into subsets.
At 01:41 PM 7/29/2003 -0400, you wrote:
if you have a variable x, and want another variable y=sum(x), then Stata 7's
will do it.
From: Sirenia Vazquez [mailto:firstname.lastname@example.org]
Sent: Tuesday, July 29, 2003 2:26 PM
There is a command in the spss program in which you can generate a new
variable that is the cumulative summatory of the original variable (namely
csum). I would like to know if there is a similar command or funcion in
or if there is any other way I could create that new variable.
Institute for Policy Studies
Johns Hopkins University
* For searches and help try: