Sorry if this is a FAQ, but I didn't see it in a search on the mailing
list archives or in help or in looking through the FAQ.
Two part question:
1. Where is there a list of the designations for the output for a command?
For instance, the example below is on the FAQ. I tried guessing how
to display the estimate, like _mean[x] and _est[x] to no avail.
svymean x
Mean | Estimate Std. Err. [95% Conf. Interval] Deff
---------+--------------------------------------------------------------------
x | 7.497354 1.154104 4.925852 10.06886 1.826019
di _se[x]*sqrt($S_E_nobs/S_E_deff[1,1])
3.9138278
Also, is there some way just to treat the output as a matrix without the
names?
2. Eventually, for y a binary variable, I'd like to do
svymean x, by(y)
and ttest whether estimates are equal at the two levels of y.
How would I call the components of this?
Mean Subpop. | Estimate Std. Err. Deff Obs
---------------+--------------------------------------------------------------
x |
y==0 | 6.252655 .2913123 .9953564 2402
y==1 | 5.087685 .6354503 1.30706 214
Janet
--
Janet Rosenbaum [email protected]
PhD Candidate in Health Policy, Harvard GSAS
Harvard Injury Control Research Center, Harvard School of Public Health
*
* 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/