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 on April 23, and its replacement, is already up and running.

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

Re: st: svy + aweights

From   Jeph Herrin <>
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

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

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:

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