Main Content

Stepwise Regression

Variable selection using stepwise regression


Regression LearnerTrain regression models to predict data using supervised machine learning


LinearModelLinear regression model


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


Stepwise Regression

In stepwise regression, predictors are automatically added to or trimmed from a model.

Linear Regression with Interaction Effects

Construct and analyze a linear regression model with interaction effects and interpret the results.

Wilkinson Notation

Wilkinson notation provides a way to describe regression and repeated measures models without specifying coefficient values.