Hi,
I'm trying to run a random effects logit models with weights. The syntax I was trying was
xtologit dichotomousdv keyiv control1 contol2 control3 if selectioncriteria==1 [pweight=nweight]
I get a message that weights are not allowed with random effects models (though I'd been using them with xtologit for other models and they worked just fine).
These are sampling weights. The models is random effects because cases are not independent but nested.
I was googling yesterday and found some mention of another command that could be used to run essentially the same model, but now I can't find what I was reading yesterday. Can someone please help me figure out how to do this?
I have stata15
Thank you.
Related Posts with Xtlogit with weights workaround
Merge datasets based on a range of a variableHi Statalist, This is my first post but I have found this forum invaluable in the past. Hopefully …
Mixed effect modelHi Stata experts, I have a longitudinal dataset with outcome recorded at 8 timepoints and exposure …
Stata 17 destring dpcomma does not workHi, recently I updated my stata16 version to stata17 and now have an issue with the command destring…
Help with rangestat calculating moving average results in all missing valuesHello I am trying to calculate the rolling average of the past 36 months (periods) and when I run th…
Fixed effects (individual and time), interacting FEs, and Time TrendsHi everyone! I have panel data of the form: Country Continent Year agprod drought ABW LAC 1972…
Subscribe to:
Post Comments (Atom)
0 Response to Xtlogit with weights workaround
Post a Comment