Closed
Description
I started a branch for dealing with ordered logistic regression via MASS::polr
. I'm heading out of town through the end of the work week and won't have time to work on it more, but it might be worth taking a look. It works okay overall but the big issue currently is that the numerator and denominator are wrapped in \text
and so I can't insert code like \geq
easily. I don't think this should be a terrifically difficult fix, but it's something we should address.
Here's how it looks currently
library(magrittr)
library(rio)
library(equatiomatic)
d <- import("https://stats.idre.ucla.edu/stat/data/ologit.dta",
setclass = "tibble") %>%
factorize()
m <- MASS::polr(apply ~ pared + public + gpa, data = d)
extract_eq(m)
On a side note, I was really happy with how little code actually had to be written to make this extension. I think we've set ourselves up well for future development.
Metadata
Metadata
Assignees
Labels
No labels
Activity