I am interested in getting first differences from a mixed logit model using the Zelig package. However, I am not able to run a mixed logit model in Zelig. I updated the Zelig package as instructed by the Zelig website.
I ran the mixed logit mode but I got the following error: Error: logit.mixed is not a supported model type.
I tried to run the model from the vignette and got the same error:
library(Zelig)
data(voteincome)
z.out1 <- zelig(vote ~ education + age + female +tag(1 | state), data=voteincome, model="logit.mixed")
I get the following error: Error: logit.mixed is not a supported model type.
Is "logit.mixed" no longer available on Zelig? I am currently using R version 3.5.1 if that makes a difference.
It seems like
logit.mixedis no longer supported by thezelig-package.It was implemented in Zelig 4: http://zeligdev.github.io/ , but I can not find it in the currently supported models.
There is, however, a deprecated version of a package called
ZeligMultilevelup on github available here.You can try:
and then, followed by the demo, you can: