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

Re: st: Multiple mean comparisons with complex survey design

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

Sven Klingemann <> 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.

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index