mdlfttngswsu: Summary Tables for Step_Wise Step_Down Model Fitting

Description Usage Arguments Examples

View source: R/mdlfttngswsu.r

Description

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.

Usage

1
mdlfttngswsu(mdlcmp)

Arguments

mdlcmp

is a list of model comparisons of which individual elements are created by anova calls.

Examples

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)

MartinSchweinberger/coedlstatzr documentation built on Nov. 27, 2019, 6:16 a.m.