Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: CIs from survey commands


From   "b. water" <[email protected]>
To   [email protected]
Subject   RE: st: CIs from survey commands
Date   Wed, 25 Jan 2006 15:03:03 +0000

Richard, looking at your example (if it was correct), then you can type -ereturn list- immediately after your svymean to get the saved results, which should include the CI's. If it is not eclass i.e. e(_) than you need to type -return list- instead.

HTH,
bw



From: Richard Palmer-Jones <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: st: CIs from survey commands
Date: Wed, 25 Jan 2006 14:33:52 +0500

How do I recover the CIs from svymean?
Using (for example)

svymean s
mat no = e(_N)
di ci = _b[s] +/- invttail(-1,0.025)* _se[s]

does not give exatly the same figures as reported by the output

Thanks

Richard

*
*   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/
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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