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

st: about sums


From   "Rodrigo Briceno" <rbriceno@sanigest.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: about sums
Date   Thu, 31 Mar 2005 11:14:24 -0600

Dear statalisters. I was reviewing the manuals and FAQs and I didn't find a
solution for my need.
I have a file with 42 variables and 1 million observations, and I would like
to have the sum of the values for each variable in the same table. Let's
say:

Variable	sum
X		200
Y		300
Z		2000
ZZ		5000, etc.

What can I use in Stata 8 for that purpose? Summarize has some statistics,
but no sum of variables seem to appear.

Thanks

_____________________________
Rodrigo Briceño
Consultant
Sanigest International
San José, Costa Rica
Telf. (506) 291-1200
Fax. (506) 232-0830
Cell (506) 357-4535
www.sanigest.com
_____________________________




*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index