Learn R Programming

mStats (version 3.2.2)

esttab: Tabulate estimates of regression models for comparison

Description

esttab() produces publication quality tables which can be exported to .csv format.

Usage

esttab(...)

Arguments

...

regression models of mStats's functions

Details

It is an extention to functions like regress and logistic. It processes their outputs and generates a publication quality tabulation for model comparisons.

Examples

Run this code
# 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