<>
*************
egen x=rowtotal(x1-xn)
*************
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Andrea Rispoli
Gesendet: Montag, 26. Oktober 2009 19:46
An: [email protected]
Betreff: st: sum of many variables
Dear Statalisters,
I would like to use the sum command, i.e.
egen x= sum (x1, x2...xn)
however since my n is a large number I would like to indicate that I
want the sum from x1 to xn without specifying all variables.
Do you have any suggestions?
Thank you very much in advance
AR
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/