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
Logit model convergence not achieved when adding non-linearitiesHi, I am working a logit model with a binary dependent variable. Some of the independent variables …
Firm fixed effects in SEM (unbalanced panel data)Dear all, that is my first post here on Statalist; I hope my request is in line with this forum's p…
Replace missing observations with the average of non-missing observationsDear Stata Users, Please, help me to resolve the following issue with reduced sample of data below:…
I need help to create a variableHi Statlistas! I am currently working on a dataset (tradedata from 2004--2016) where I have created…
Problems in running a pooled mean group estimation on a gravity datasetDear Stata users, I am trying to run a pooled mean group estimation on a dyadic dataset using the xt…
Subscribe to:
Post Comments (Atom)
0 Response to Xtlogit with weights workaround
Post a Comment