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

Re: st: retrieve svymean output

From   Richard Williams <>
To, <>
Subject   Re: st: retrieve svymean output
Date   Sun, 14 Dec 2003 10:57:31 -0500

At 03:49 PM 12/14/2003 +0000, Ngo,PT  (pgr) wrote:
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
I don't know the exact answer to your question, but in general if you type the commands

return list
ereturn list

you'll get listings of the info Stata has saved for you and that is available for use.

Richard Williams, Associate Professor
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW (personal):
WWW (department):

* For searches and help try:

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