AutoSelectLRM: Automated backward elemination for logistic regression

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Wrapper for automated backward elemination for logistic regression

Usage

1

Arguments

formula

passed to lrm

data

passed to lrm

...

passed to fastbw

Details

First run backward elemination via fastbw from the rms package, then fit the logistic regression model including the selected variables

Value

object of class AutoSelectLRM

Author(s)

Thomas A. Gerds <tag@biostat.ku.dk>

See Also

fastbw lrm

Examples

1
2
3
4
5
6
library(rms)
set.seed(7)
x <- abs(rnorm(20))
d <- data.frame(y=rbinom(20,1,x/max(x)),x=x,z=rnorm(20))
fbw <- AutoSelectLRM(y~x+z,d)
predictStatusProb(fbw,newdata=d[1:3,])

ModelGood documentation built on May 2, 2019, 5 p.m.