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

st: retrieve svymean output


From   "Ngo,PT (pgr)" <P.T.Ngo@lse.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: retrieve svymean output
Date   Sun, 14 Dec 2003 15:49:23 -0000

Dear Stata-listers,

Does anyone know how can I retrieve the mean from the following command ?
svymean X if reg==1, subpop(rural) by(pctile)

When I do gen meanX=_b[X], I obtain an error message. 

The idea is to retrieve the means of the X so that I can graph the mean of X for each percentile.

Thanks a lot in advance.

Thi Minh

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