orci {poliscidata} | R Documentation |
Translate logistic regression coefficients into odds ratios
Description
Generates odds-ratios based on logistic regression model coefficients
Usage
orci(model, digits = 3)
Arguments
model |
An estimated logistic regression model |
digits |
Number of digits after decimal to display |
Value
Returns odds rations and confidence intervals in columns (a matrix class object)
Examples
library(poliscidata)
obama_state_model <- glm(obama_win12 ~ secularism + gunlaw_rank, data=states, family=binomial)
summary(obama_state_model)
orci(obama_state_model)
obama_vote_model <- svyglm(obama_vote ~ ft_dem, design=nesD, family="quasibinomial")
summary(obama_vote_model)
orci(obama_vote_model)
[Package poliscidata version 2.3.0 Index]