powered by
Show odds ratios and their confidence intervals for logistic regression parameter estimates.
coefsLogReg(model, confint = TRUE, level = 0.95)
coefsLogReg returns the same table as summary(object)$coefficients, with the addition of the coefficients' odds ratios and their confidence intervals.
coefsLogReg
summary(object)$coefficients
object of class glm, with family parameter set to binomial.
glm
binomial
indicates whether a confidence interval for the odds ratio should be returned.
the confidence level required.
Mathijs Deen
glm(formula = am ~ disp, family = binomial, data = mtcars) |> coefsLogReg()
Run the code above in your browser using DataLab