model.output: Regression models, reporting coefficients

Description Usage Arguments Details Author(s) See Also Examples

View source: R/model.output.R

Description

model.output display corresponding estimates of different models along with 95

Usage

1

Arguments

model

object glm or lm type

raw

logical value

Details

If raw is set to TRUE, a table containing raw estimate, standard errors, z value and p-value is generated.

Author(s)

Myo Minn Oo (Email: dr.myominnoo@gmail.com | Website: https://myominnoo.github.io/)

See Also

model.fit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
## example from IRDE website:
## https://stats.idre.ucla.edu/r/dae/logit-regression/
mydata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv")
summarize(mydata)
tab(admit, mydata)
tab(rank, mydata)
mydata$rank <- label(mydata$rank)

mylogit <- glm(admit ~ gre + gpa + rank, data = mydata, family = "binomial")
summary(mylogit)

model.output(mylogit)
model.output(mylogit, raw = TRUE)
model.fit(mylogit)

## End(Not run)

myominnoo/stats2 documentation built on Nov. 4, 2019, 8:33 p.m.