I'm doing logistic regression and I need to infer the coefficients as odds ratios. I first did my model using lm(), but now that I need odd ratios, then should I have used glm() like displayed here: http://r.789695.n4.nabble.com/Odds-ratio-from-Logistic-model-in-R-td2630277.html
David Winsemius
2016-Oct-02 19:50 UTC
[R] Can I get odd ratios from lm() model or only glm()?
> On Oct 2, 2016, at 9:24 AM, mviljamaa <mviljamaa at kapsi.fi> wrote: > > I'm doing logistic regression and I need to infer the coefficients as odds ratios. > > I first did my model using lm(), but now that I need odd ratios, then should I have used glm() like displayed here: > > http://r.789695.n4.nabble.com/Odds-ratio-from-Logistic-model-in-R-td2630277.htmlYes. -- David Winsemius Alameda, CA, USA