Dear Forum,
I am trying to run a mixed effects logit model for the effect of economic inequality (gini_net on country level from Standardized World Income Inequality Database) on voter turnout among immigrants (individual level data from European Social Survey, ESS). My current problem, before introducing an interaction between vote and gini_net, is to get the command melogit to run wile applying sampling weight for the individual data from ESS.
I have tried to run the following command:
melogit vote gini_net immi1 pweight=dweight || country:
..and I get the message: =exp not allowed
Is it at all possible to add weights in melogit, or what am I doing wrong?
Any help is appreciated!
Best regards, Astrid Jæger
I am trying to run a mixed effects logit model for the effect of economic inequality (gini_net on country level from Standardized World Income Inequality Database) on voter turnout among immigrants (individual level data from European Social Survey, ESS). My current problem, before introducing an interaction between vote and gini_net, is to get the command melogit to run wile applying sampling weight for the individual data from ESS.
I have tried to run the following command:
melogit vote gini_net immi1 pweight=dweight || country:
..and I get the message: =exp not allowed
Is it at all possible to add weights in melogit, or what am I doing wrong?
Any help is appreciated!
Best regards, Astrid Jæger
Comment