Statalist


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

st: Correcting for SEs in complex survey design


From   Erin Hye-Won Kim <hk31@duke.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Correcting for SEs in complex survey design
Date   Fri, 20 Feb 2009 13:50:43 -0500

Dear statalisters,

I am analyzing data from a survey with complex design. The dataset has both
clusters and strata, so I used

svyset psuid [pweight=weight], strata(stratid)

The dataset is representative of individual parents and many parents have
multiple children. To analyze the relationship between a parent and each of
his/her children,

I reshape the dataset from a wide to a long format as in the following

parent1 child1 child2.... ==> parent1-child1
                              parent1-child2

In regressions after reshaping, I have to correct for SEs since siblings are
correlated, so I tried the following

svy: regress Y Xs, cluster(parent_id)

STATA says "svy" cannot be used with "cluster" option. Is there any way to
correct for SEs while circumventing this problem?
---------------------------------------------------------

In addition, I tried family fixed-effects models by controlling for parent_ids.

svy: aregress Y Xs, absorb(parent id)

Again STATA says "svy" cannot go with "areg". There are too many parent_ids to
control manually. Is there any solution to this problem?
---------------------------------------------------------

Thanks for your help in advance !

Best,
Erin

*
*   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   |   What's new   |   Site index