[R] Can I get odd ratios from lm() model or only glm()?

David Winsemius dwinsemius at comcast.net
Sun Oct 2 21:50:28 CEST 2016


> 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.html

Yes.


-- 
David Winsemius
Alameda, CA, USA



More information about the R-help mailing list