# NOT RUN {
## use infert data
data(infert)
codebook(infert)
## running different logistic regression models
m1 <- logistic(infert, case, education, odds_ratio = FALSE)
m2 <- logistic(infert, case, education, age, odds_ratio = FALSE)
m3 <- logistic(infert, case, education, age, parity, odds_ratio = FALSE)
m4 <- logistic(infert, case, education, age, parity, induced, odds_ratio = FALSE)
m5 <- logistic(infert, case, education, age, parity, induced, spontaneous,
odds_ratio = FALSE)
e <- esttab(m1, m2, m3, m4, m5)
# }
Run the code above in your browser using DataLab