Main Content

Stepwise Regression

Variable selection in linear regression model using stepwise regression

Stepwise regression is a dimensionality reduction method in which less important predictor variables are successively removed in an automatic iterative process. You can perform stepwise regression with or without the LinearModel object, or by using the Regression Learner app.

Apps

Regression LearnerTrain regression models to predict data using supervised machine learning

Functions

expand all

stepwiselmPerform stepwise regression
fitlmFit linear regression model
addTermsAdd terms to linear regression model
removeTermsRemove terms from linear regression model
stepImprove linear regression model by adding or removing terms
stepwiseInteractive stepwise regression
stepwisefitFit linear regression model using stepwise regression

Objects

LinearModelLinear regression model

Topics