Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65569

xtmixed with complex survey design

$
0
0
Hi all,

I have a question regarding multilevel modeling with complex survey design. I set my survey design as:

Code:
svyset  district [pw=weight], strata(region) || block
Then, I run my linear regression model:

Code:
svy: regress y x var1 x*var1
But, I want to take into account the clustering that does not belong to the survey design, and I would like to run the following model but it seems that xtmixed does not support svy:

How can I run a model like the one below in stata?

Code:
svy: xtmixed y x var1 x*var1 || cluster: var1, mle
Thanks!

Viewing all articles
Browse latest Browse all 65569

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>