[R] Reporting odds ratios or risk ratios from GLM

lafadnes ubuntu at fadnes.net
Tue Mar 15 18:25:06 CET 2011


I am a new R user (am using it through the Rcmdr package) and have struggled
to find out how to report OR and RR directly when running GLM models (not
only reporting coefficients.)

Example of the syntax that I have used:

GLM.2 <- glm(diarsev ~ treatmentarm +childage +breastfed,
family=binomial(logit), data=fieldtrials2)
summary(GLM.2)

This works well except that I manually have to calculate the OR based on the
coefficients. Can I get these directly (with confidence intervals) by just
amending the syntax?

Will be grateful for advice!

--
View this message in context: http://r.789695.n4.nabble.com/Reporting-odds-ratios-or-risk-ratios-from-GLM-tp3357209p3357209.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list