Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: special sum


From   <[email protected]>
To   [email protected]
Subject   st: special sum
Date   Sun, 12 Dec 2004 14:59:51 +0100

I have a variable xi and I wish to generate a new variable

yi=sum(xj) for j=(1)...(i-1)

thank you
*
*   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/



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