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

st: how to get a scalar value of the column sum?


From   Olena Stavrunova <ostavrun@blue.weeg.uiowa.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: how to get a scalar value of the column sum?
Date   Thu, 15 Aug 2002 01:32:08 -0500

Could you, please, let me know how to obtain the scalar for the value of the 
column sum? I need the value I get using "egen sum(x)", but not the column of 
these values, but just a single number which stata would terat as a scalar.
Thank you.

Olena Stavrunova
S216 Pappajohn
University of Iowa
Iowa City, IA 52242-1000
(319)335-0494

*
*   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