Display logistic coefficient table as odds ratios and associated statistics.

Description

Following the glm command, toOR() displays a table of odds ratios and related statistics including exponentiated model confidence intervals.

Usage

1
toOR(object)

Arguments

object

name of the fitted glm function model

Format

object

The only argument is the name of the fitted glm function model

value

or

odds ratio of predictor

delta

Model standard error using delta method

zscore

z-statistic

pvalue

probability-value based on normal distribution

exp.loci

Exponentialed lower model confidence interval

exp.upci

Expontiated upper model confidence interval

Details

toOR is a post-estimation function, following the use of glm().

Value

list

Note

toOR must be loaded into memory in order to be effectve. As a function in LOGIT, it is immediately available to a user.

Author(s)

Joseph M. Hilbe, Arizona State University, and Jet Propulsion Laboratory, California Institute of technology

References

Hilbe, Joseph M. (2015), Practical Guide to Logistic Regression, Chapman & Hall/CRC.

See Also

glm

Examples

1
2
3
4
5
6
library(MASS)
 library(LOGIT)
 data(medpar)
 mylogit <- glm(died ~ los + white + hmo, family=binomial, data=medpar)
 summary(mylogit)
 toOR(mylogit)