Description Usage Arguments Details Value Author(s) See Also Examples
APA formated interpretation of glm
1 2 | ## S3 method for class 'glm'
apa.regression(model, ci = NULL)
|
model |
|
ci |
|
Currently only the binomial family is supported
Pulls out the log odds, confidence interval, statistic, and p-value of the model; converts the log odds and confidence interval to odds ratios; formats p-values; and produces a table.
the formatted data.frame
Mark Newman, mark@trinetteandmark.com
Other regression: apa.confint
,
apa.regression.glmerMod
,
apa.regression.lmerModLmerTest
,
apa.regression.lm
,
apa.regression
1 2 3 4 5 6 7 |
x = testdata.apa.regression.glm
model = glm(Response ~ Attribute, data = x, family = binomial())
ci = confint(model)
tab = apa.regression(model, ci)
kable(tab, caption = 'Odds ratios with 95% CI', booktabs = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.