Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Testing whether two estimated survey means are statistically different


From   Steven Samuels <sjsamuels@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Testing whether two estimated survey means are statistically different
Date   Thu, 20 Oct 2011 17:15:44 -0400


Andrew, you probably realize by now that your original -ttesti-  statements with the weighted population totals were improper (with "n" ≈ 86,000, no wonder everything was significant!). 

Steve


On Oct 19, 2011, at 5:33 PM, Andrew Wade wrote:

Hi Austin, 

Thanks for this advice.  I'll give this a go...noting that is, as you say, equivalent to, but not exactly the same, as the hypothesis I need to test. 

Presumably the regression approach, where you have a single dummy for the sub-population, will be identical (or near identical) to:
- estimating svy: mean with over command (ie. mean for sub-population, and not in sub-population). 
- lincom after svy: mean. 

Or could the regression approach be applied, whereby you suppress the constant term?
Wouldn't this alternate regression approach be closer to what I'm after?  

Regards, 

Andrew



--------------------------------------------------------------------------------


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index