powered by
glm
Calculate odds ratios and their confidence intervals from glm object
ORci(x, conf.level = 0.95)
glm object (logistic regression only!).
the confidence interval. Default is 0.95.
an object ORci and matirix classes with four columns.
ORci
matirix
odds ratio
lower conficence intarval
upper conficence intarval
P value by logistic regression
# NOT RUN { require(graphics) require(MASS) data(birthwt) x <- glm(low ~ age + lwt + smoke + ptl + ht + ui, data = birthwt, family = binomial) OR1 <- ORci(x) CIplot(OR1, las = 1) # }
Run the code above in your browser using DataLab