IQSS / Zelig

A statistical framework that serves as a common interface to a large range of models
http://zeligproject.org
111 stars 43 forks source link

ordered logistic regression deprecated? #346

Closed juliosolisar closed 3 years ago

juliosolisar commented 3 years ago

impossible to replicate http://docs.zeligproject.org/articles/zeligchoice_ologit.html

data(sanction)
sanction$ncost <- factor(sanction$ncost, ordered = TRUE,
                         levels = c("net gain", "little effect", "modest loss", "major loss"))
z.out <- zelig(ncost ~ mil + coop, model = "ologit",
               data = sanction)
joannieboire commented 3 years ago

@juliosolisar I had the same problem. I noticed that Zelig was not actually installing the ZeligChoice dependency as it should. So I just installed the ZeligChoice package from the CRAN archive myself, and now it works.

juliosolisar commented 3 years ago

thanks @joannieboire !