Statalist


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

Re: st: Multiple mean comparisons with complex survey design


From   [email protected] (Jeff Pitblado, StataCorp LP)
To   [email protected]
Subject   Re: st: Multiple mean comparisons with complex survey design
Date   Tue, 19 Feb 2008 16:44:46 -0600

Sven Klingemann <[email protected]> want to perform a multiple comparison test
of means computed from survey data:

> I would like to compare means across six groups and adjust the significance
> test accordingly. I noticed that the "mtest" command (and associated
> Bonferroni option) is not allowed after the svy:mean command. Is there any
> recommended alternative for multiple group comparisons using a complex
> survey design?

Richard Williams pointed out that this is allowed in Stata 10, and shows the
following example (I'll omit the output):

	. webuse nhanes2f
	. svy: mean health, over(race)
	. test [#1]White = [#1]Black = [#1]Other, mtest(b)

The Stata 9 manuals were incorrect regarding this restriction, and this was
fixed in the Stata 10 manuals.

Sven can perform the above example using Stata 9 and get the same results as
in Stata 10.

--Jeff
[email protected]
*
*   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