[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Testing means of subgroups vs mean of full sample using svymean
I am sure, I am missing something here but after spending a good time now trying
to figure this out, I reluctantly decided to throw the towel in the ring...
Specifically, I want to test the mean(s) of sub-samples vs the mean of the full
sample using the "svymean"-command. For example, say that I am interested in
the mean income of literates vs the mean income for the sample as a whole. I
can test the means of the literate and illiterate sub-groups against each other
by, say (following the "Survey Data" manual for Stata 8, p. 16), where the
variable literate is dummy-coded:
. svymean income, by(literate)
. lincom [income]1 - [income]0
But how do I test the mean income for literates, say, against the mean income
for the entire sample?
Thank you very much in advance!!
HDNSP, MSN G7-703
1818 H Street, N.W.
Washington D.C. 20433, U.S.A.
Phone: (+1) 202 473 5599, Fax: (+1) 202 522 3252
Social Protection on the Web: http://www.worldbank.org/sp
The Labor Markets Group in SP: http://www.worldbank.org/labormarkets
* For searches and help try: