Stepwise Regression

Variable selection using stepwise regression

Apps

Regression LearnerTrain regression models to predict data using supervised machine learning

Classes

LinearModelLinear regression model

Functions

stepwiselm Fit linear regression model using 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
stepwisefitStepwise regression
plotPartialDependenceCreate partial dependence plot (PDP) and individual conditional expectation (ICE) plots

Topics

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.