Learn R Programming

My.stepwise (version 0.1.0)

Stepwise Variable Selection Procedures for Regression Analysis

Description

The stepwise variable selection procedure (with iterations between the 'forward' and 'backward' steps) can be used to obtain the best candidate final regression model in regression analysis. All the relevant covariates are put on the 'variable list' to be selected. The significance levels for entry (SLE) and for stay (SLS) are usually set to 0.15 (or larger) for being conservative. Then, with the aid of substantive knowledge, the best candidate final regression model is identified manually by dropping the covariates with p value > 0.05 one at a time until all regression coefficients are significantly different from 0 at the chosen alpha level of 0.05.

Copy Link

Version

Install

install.packages('My.stepwise')

Monthly Downloads

584

Version

0.1.0

License

GPL (>= 3)

Maintainer

Last Published

June 29th, 2017

Functions in My.stepwise (0.1.0)

My.stepwise.lm

Stepwise Variable Selection Procedure for Linear Regression Model
My.stepwise.coxph

Stepwise Variable Selection Procedure for Cox's Proportional Hazards Model and Cox's Model
My.stepwise.glm

Stepwise Variable Selection Procedure for Generalized Linear Models