Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: svy + aweights


From   Jeph Herrin <[email protected]>
To   [email protected]
Subject   Re: st: svy + aweights
Date   Thu, 10 Nov 2011 16:48:00 -0500

I'm not sure I get this. How can correlations at one level be "engulfed"
by correlations at another? The PSUs account for subject level correlation,
but for each subject I have multiple observations.

Moreover, if I -reshape-, does it still make sense to -svyset psu-? I thought
not.

On 11/10/2011 4:40 PM, Stas Kolenikov wrote:
On Thu, Nov 10, 2011 at 4:01 PM, JH<[email protected]>  wrote:
But doesn't your suggestion ignore the correlation of observations within
subjects?

No. Unless your current -svyset-ting is -svyset _n-... and frankly I
don't know how that would behave with -reshape-. If you have PSUs in
your -svyset- (and NHANES does have them), then the correlations of
observations within the subjects will be engulfed by the correlations
of observations within the PSUs that -svy:- controls for.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index