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: svy + aweights


From   Jeph Herrin <stata@spandrel.net>
To   statalist@hsphsun2.harvard.edu
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<junk@spandrel.net>  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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index