Re: weights for ttest [message #1687 is a reply to message #1685] |
Thu, 27 March 2014 16:40 ![Go to previous message Go to previous message](/theme/default/images/up.png) ![Go to next message Go to previous message](/theme/default/images/down.png) |
Reduced-For(u)m
Messages: 292 Registered: March 2013
|
Senior Member |
|
|
Thanks for that Liz/Shea.
I've always needed a reason to check the equivalence of these two methods using DHS data, so I did a quick comparison of changes in HAZ over time in Bangladesh as a test case. Let me just confirm that both of these methods generate the same point estimates, and very similar standard errors (probably just rounding differences, and/or something about my specification of strata/psu across survey rounds - but the regression form generated slightly larger se's).
I would add that the regression version took me like 1/10th the time, but that was because retrieving the variance estimates from "svy: mean" took me a minute as they are returned in a matrix.
So point is - Fay: they both work, and statistical theory is vindicated!
|
|
|