Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Statistics›Stepwise Regression
Regression model

Stepwise Regression

Stepwise Variable Selection in Multiple Regression · Also known as: stepwise selection, forward stepwise regression, backward stepwise regression, forward-backward selection, stepwise multiple regression

Stepwise regression is an automated variable selection procedure for multiple linear regression that adds or removes predictor variables one at a time according to a statistical criterion, typically the F-statistic or a p-value threshold. The forward-selection algorithm was formally described by Efroymson (1960) and the bidirectional variant was popularised by Draper and Smith in their landmark 1966 text Applied Regression Analysis. Despite widespread historical use, the method is now widely critiqued, making its documentation essential in any canonical methods library.

ScholarGate
  1. Regression model
  2. v1
  3. 3 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Stepwise Regression
Elastic NetLasso RegressionMultiple Linear Regressi…Partial Least SquaresRidge RegressionModel Confidence Set

When to use it

Stepwise regression is applicable when the outcome is continuous, the candidate predictors are at least interval-scaled (or appropriately dummy-coded), and standard OLS assumptions hold — linearity, independence, homoscedasticity, approximate normality of residuals, and no severe multicollinearity. It is most defensible in purely predictive settings with a large ratio of observations to predictors, or in exploratory work where the goal is to shortlist variables for further confirmatory analysis. It should not be used as a substitute for theory-driven variable selection in causal research, and is inadvisable when n/p is small (fewer than 10–20 observations per candidate predictor). Modern penalised regression (LASSO, elastic net) should be preferred whenever sparse automatic selection is the primary goal.

Strengths & limitations

Strengths
  • Computationally simple and available in every major statistical package, making it accessible for applied researchers.
  • Reduces model dimensionality automatically, which can improve prediction accuracy in moderate-n settings.
  • Provides a useful starting point for variable shortlisting in large-scale exploratory research.
  • Forward selection is efficient when p is very large relative to computing resources, because it avoids evaluating all 2^p subsets.
Limitations
  • Post-selection inference is invalid: p-values and confidence intervals reported for the final model are biased because the same data drove both selection and estimation (the 'winner's curse').
  • The selected subset is highly unstable — small changes in the data can yield an entirely different model, a problem documented extensively by Harrell (2001) and others.
  • Greedy search does not guarantee the globally optimal subset; the procedure can miss the best model.
  • Stepwise selection inflates R-squared and underestimates standard errors in the final model when applied to the same dataset used for selection.
  • Does not account for multiple comparisons across the many implicit tests performed during selection.

Frequently asked

What is the difference between forward selection, backward elimination, and stepwise (bidirectional) selection?

Forward selection begins with an empty model and adds the predictor with the highest F-to-enter at each step, stopping when no remaining variable clears the entry threshold. Backward elimination begins with all p predictors and removes the predictor with the lowest F-to-remove at each step, stopping when all retained variables exceed the removal threshold. Bidirectional stepwise selection combines both passes: after each addition it checks whether any previously included variable should be removed, and vice versa. Bidirectional selection is generally preferred over pure forward selection because it can correct early inclusions, but all three variants share the same post-selection inference problems.

Why are p-values from a stepwise-selected model not trustworthy?

Standard p-values assume the model structure was fixed before seeing the data. In stepwise regression the data are used to choose which predictors appear in the model and then again to estimate and test those predictors. This double-use inflates the apparent significance of retained variables — an effect sometimes called the 'winner's curse'. Simulation studies show that variables with true zero effect are regularly selected and appear significant when stepwise is applied to moderate samples. Correcting for this requires either data splitting, bootstrap-based validation, or penalised estimation methods that fold selection and estimation into a single regularised optimisation.

When is stepwise regression still acceptable to use?

Stepwise selection is most defensible in purely predictive applications where (a) the dataset is large relative to the number of candidates, (b) the resulting model will be validated on a held-out or prospective sample, and (c) inference about individual coefficients is not the goal. In exploratory work it can serve as a preliminary screening tool, provided the shortlisted variables are then evaluated in a pre-specified confirmatory model on new data. It should not be used for causal inference, hypothesis testing about specific predictors, or any setting where the reported p-values will be interpreted at face value.

What modern methods should I consider instead of stepwise regression?

For sparse variable selection with valid inference, LASSO (Tibshirani, 1996) and elastic net (Zou & Hastie, 2005) are the standard alternatives: they fold selection and estimation into a single penalised criterion, their tuning parameter is chosen by cross-validation, and bootstrap confidence intervals can be reported. Best-subset selection (examined systematically with modern algorithms) provides an exhaustive alternative when p is not too large. For confirmatory research, the correct approach is to specify the model on theoretical grounds before data collection, not to let the data choose the predictors.

Sources

  1. Efroymson, M. A. (1960). Multiple regression analysis. In A. Ralston & H. S. Wilf (Eds.), Mathematical Methods for Digital Computers (pp. 191–203). Wiley. link ↗
  2. Draper, N. R., & Smith, H. (1966). Applied Regression Analysis (1st ed.). Wiley. ISBN: 9780471221708
  3. Draper, N. R., & Smith, H. (1998). Applied Regression Analysis (3rd ed.). Wiley. ISBN: 9780471170822

How to cite this page

ScholarGate. (2026, June 3). Stepwise Variable Selection in Multiple Regression. ScholarGate. https://scholargate.app/en/statistics/stepwise-regression

Related methods

Elastic NetLasso RegressionMultiple Linear RegressionPartial Least SquaresRidge Regression

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Elastic NetMachine learning↔ compare
  • Lasso RegressionMachine learning↔ compare
  • Multiple Linear RegressionStatistics↔ compare
  • Partial Least SquaresMachine learning↔ compare
  • Ridge RegressionMachine learning↔ compare
Compare side by side →

Referenced by

Model Confidence SetMultiple Linear Regression

Similar methods

Lasso RegressionMultiple Linear RegressionRegularized linear regressionMultiple Regression AnalysisLinear Regression (ML)Elastic NetRidge RegressionOrdinary Least Squares

Related reference concepts

Model Selection and DiagnosticsMultiple Linear RegressionRegression and CorrelationMultivariate Multiple RegressionMultivariate RegressionPartial Least Squares Regression

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Stepwise Regression (Stepwise Variable Selection in Multiple Regression). Retrieved 2026-07-21 from https://scholargate.app/en/statistics/stepwise-regression · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
M. A. Efroymson
Year
1960
Family
Regression model
Type
Automated variable selection
Parametric
Yes
SelectionCriteria
F-to-enter, F-to-remove, AIC, BIC, p-value
Variants
forward selection, backward elimination, bidirectional (stepwise)
Outcome
continuous
CanonicalReference
Efroymson (1960); Draper & Smith (1966)
Related methods
Elastic NetLasso RegressionMultiple Linear RegressionPartial Least SquaresRidge Regression
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account