Description Usage Arguments Examples
This function produces summary tables for step-wise step-down model fitting effects binomial logistic regressions by extracting the relevent information from a glm and an lrm object.
1 | mdlfttngswsu(mdlcmp)
|
mdlcmp |
is a list of model comparisons of which individual elements are created by anova calls. |
1 2 3 4 5 6 7 8 9 | ## Not run:
m0 <-glm(depvar ~ 1, data = data, family = "binomial")
m1 = glm(depvar ~ indepvar1, data = data, family = "binomial")
m2 = glm(depvar ~ indepvar + inpepvar2, data = data, family = "binomial")
m1m0 = anova(m1, m0, test = "Chi)
m2m1 = anova(m2, m1, test = "Chi)
mdlfttngswsd(m1m0, m2m1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.