Dear Statalisters,
I am analysing longitudinal data in long format from a complex survey design.
Those in charge the data distribution suggest to handle them in this way:
svyset psu [pweight=weightres4], strata ( strata ) singleunit(centered) (1)
Weights are time-varying so, they vary for individuals and waves.
So far, I ran a model of this type
svy: logit y x
but I wish I could use a random effect model to control for individual unobserved heterogeneity.
xtlogit is not supported by svy.
So I was wondering whether melogit could be used and in that case
how to set model such that it considers the complex design in (1).
In the end I think that the hierarchy of the levels should be:
_n (t) <-- ID <--strata<-- psu
.
and the model this one:
melogit y x [pweight=weightres4] ||pidnew: || strata: || psu:, or level(95)
But I would like to have an opinion on whether this specification is correct,
as computing this model and the margins from this model is quite long
and I am not sure whether this specification is correct.
Thank you and best,
Lydia
Related Posts with SVY and MELOGIT
Agreement between many raters with many different subjects against gold standard raterHi All, Any tips on how to analyze level of agreement when 1) many raters, let's say students that w…
Simultaneous Quantile Regression with PweightsDoes anyone know how to run a simultaneous quantile regression with pweights? I am trying to test wh…
Getting around the time limit imposed by the serverDear all, Hope everyone is staying well in this difficult time. I am bootstrapping standard errors…
Oaxaca Package r(602) errorI am having an issue with using the 'oaxaca' package in STATA. I have managed to use this package in…
viewing long text-based responses in column windowIn my stata database i have some text-based survey responses that are too long to be viewed in the c…
Subscribe to:
Post Comments (Atom)
0 Response to SVY and MELOGIT
Post a Comment