Skip to content
Prev 156861 / 398503 Next

Coefficients, OR and 95% CL

l.mod<-glm(menarche~age,binomial)

you will get odds-ratios by exponentiating the coefficients of this 
model, so

exp(coef(l.mod))

will do this job. You may notice that this will produce an "OR" for the 
intercept part as well - which is not interpretable.
For the confidence intervals for this odds ratio you have to 
exponentiate the borders of the "standard" confidence intervals for the 
log-odds-ratios,

exp(confint(l.mod))

hth.

Luciano La Sala schrieb: