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

Re: st: Testing means of subgroups vs mean of full sample using svymean


From   "Arnold Levinson" <[email protected]>
To   <[email protected]>
Subject   Re: st: Testing means of subgroups vs mean of full sample using svymean
Date   Mon, 22 Sep 2003 08:03:46 -0600

The difficulty here is that the two means are correlated because the mean of
the whole includes the subgroup. So perhaps it doesn't really make sense to
do this. A more common approach is to test each subgroup against the
remainder of the whole. If multiple such tests are used, a correction like
Scheffe or Bonferroni might also be appropriate.

Arnold H. Levinson, Ph.D.
Associate Scientist, Center for Behavioral and Community Studies
AMC Cancer Research Center
[email protected]
Assistant Professor of Preventive Medicine and Biometrics
University of Colorado School of Medicine
[email protected]
303.777.8801
------------------------------
>
> Date: Mon, 22 Sep 2003 00:33:20 -0400
> From: [email protected]
> Subject: st: Testing means of subgroups vs mean of full sample using
svymean
>
> Dear Stata-listers,
>
> I am probably missing something here but after spending quite some 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!!
>
> Cheers,
>
> Niels-Hugo
>
> ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
> Niels-Hugo Blunch
> World Bank
> 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
> Email: [email protected]
> 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:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/

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