Can I calculate Odds Ratios from a linear regression model?
Or is it only possible / allowed on a logistic model?
I have a linear mixed-effects model and I use R
and the lmer
command to run a regression and then the following code calculates odds ratios:
fit <- lmer(formula, data = reg_SwisciRuralUrban_bin)
OR <- exp(fixef(fit))