- Introduced by
- Carl Friedrich Gauss
- Year
- 1801
- Type
- Method
- Family
- predictive-modeling
What does it do?
Multiple regression analysis models the relationship between a continuous outcome and two or more predictors, estimating a linear equation in which each predictor's coefficient describes its association with the outcome while the other predictors are held constant.
The least-squares principle behind it is attributed to Carl Friedrich Gauss's early 19th-century work on astronomical prediction, and the multiple-predictor framework was set out systematically by Draper and Smith (1966). Simple regression is the special case with a single predictor. The method is widely used in epidemiology, economics, psychology and clinical research.
The intuition behind the method
Simple correlation examines one predictor at a time, whereas multiple regression estimates several predictors at once. The linear model assumes the outcome is a weighted sum of the predictors: Y = b₀ + b₁X₁ + b₂X₂ + ... + bₚXₚ + ε. Each coefficient bᵢ is the expected change in Y for a one-unit increase in Xᵢ, with the other predictors held fixed, which allows the contribution of one predictor to be separated from that of correlated predictors. This adjustment is statistical rather than experimental: it removes only the confounding that is measured and included in the model. The fitted equation can then be used to predict outcomes for new observations.
History
Carl Friedrich Gauss developed the least-squares principle in the early nineteenth century for astronomical prediction; that work did not address multiple predictors. Regression terminology and its application to biological data are associated with Francis Galton (1886), a lineage distinct in origin from Gauss's least-squares computation. Draper and Smith's 1966 Applied Regression Analysis set out the methodology for multiple regression. Software that made the method widely available spread in the 1980s and 1990s. Later extensions include regularization (ridge, lasso, elastic net; Tibshirani, 1996), robust methods, and causal inference approaches such as propensity scores and instrumental variables.
When to use it
Use multiple regression when the outcome is continuous and you want to examine several predictors together, adjusting each association for the others. It suits observational data, where randomization is not possible, and questions such as how much a clinical or demographic factor is associated with an outcome after accounting for other measured variables. Categorical predictors can be included through dummy coding. Do not use it as the main model when the outcome is categorical (logistic or multinomial regression is more appropriate), when observations are clustered (such as students within schools, where multilevel models are needed), or when a substantial share of the data is missing without a plan (multiple imputation should be considered first). It is also a poor choice when the sample is small relative to the number of predictors, or when the relationships are strongly curved and cannot be captured by transformations or polynomial terms.
Limitations and considerations
- The model is linear in its parameters; curvilinear or threshold relationships are missed unless transformations or polynomial terms are added explicitly.
- Highly correlated predictors produce unstable coefficients that are hard to interpret. High VIF values indicate the problem, and remedies include removing predictors, combining them into components, or using ridge regression.
- OLS estimates can be pulled substantially by outliers and influential points; robust methods such as Huber or M-estimators reduce this sensitivity.
- The standard errors and tests assume constant residual variance; when variance changes with the fitted values, weighted least squares or robust standard errors are needed.
- A significant coefficient does not establish causation: the association may reflect an unmeasured confounder, and a strong theoretical rationale is needed before causal language is used.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each coefficient is estimated with the other predictors in the model, so the association of one variable can be separated from correlated variables, although this adjustment is only as good as the set of variables included.
- Coefficients are expressed in the units of the outcome, so the expected change per unit of a predictor can be reported directly.
- Dummy-coded categorical predictors, interaction terms and polynomial terms can be added within the same linear framework.
- The fitted equation gives predictions for new observations, with confidence intervals around the mean prediction.
- Residual plots, leverage and influence measures such as Cook's distance and DFFITS allow the assumptions and influential cases to be examined directly.
Applications
- Clinical prediction: modelling readmission risk from patient demographics, comorbidities and treatment factors, to inform discharge planning (illustrative use; no specific study is cited here).
- Epidemiology: estimating the association between an exposure such as smoking or diet and an outcome, adjusting for confounders such as age, sex and socioeconomic status.
- Educational research: relating college graduation to high-school GPA, test scores and socioeconomic variables, to see which factors carry the most weight (illustrative).
- Economics and real estate: modelling property prices from floor area, location, age and neighbourhood characteristics (illustrative).
- Manufacturing and quality improvement: modelling failure rates from process parameters such as temperature, pressure and materials (illustrative).
How it works
How it works
Collect a continuous outcome and continuous or categorical predictors from a sample large enough to estimate all parameters. Sample size should be justified by a power analysis, or by the expected effect size and the precision needed for the coefficients. A commonly cited rough check is n > 10p, where p is the number of predictors, but it is only a crude screen and does not replace power planning. Check how much data is missing and whether the missingness appears random before fitting. Define the outcome and predictors before analysis, so that the model is not chosen from the data. Standardizing continuous predictors (subtract the mean, divide by the SD) helps compare coefficients measured on different scales (Marquardt, 1980), although it does not change the collinearity among predictors. Code categorical predictors with dummy coding (k−1 indicators for k categories) or with contrast coding.
Estimate the coefficients by ordinary least squares (OLS), which minimizes the sum of squared residuals, SSE = Σ(yᵢ − ŷᵢ)². Software (R, Python, SPSS, SAS) computes the coefficient vector b = (X'X)⁻¹X'y. Report: (1) the intercept b₀, the predicted Y when all X = 0; (2) the slope coefficients b₁, b₂, ..., the change in Y per unit of each X, adjusted for the other predictors; (3) standard errors (SE) and t-statistics, where t = b/SE tests whether a coefficient differs from zero; (4) 95% confidence intervals, typically b ± 1.96×SE; (5) R², the proportion of Y variance explained by the predictors; (6) adjusted R², which penalizes model complexity; (7) the variance inflation factor (VIF) for each predictor as a diagnostic for multicollinearity, with values above 10 usually treated as problematic and values between 5 and 10 warranting attention; (8) the Durbin-Watson statistic for residual autocorrelation.
Interpret each slope as the change in the outcome for a one-unit increase in that predictor, holding the other predictors constant. Report each estimate with its 95% confidence interval alongside the p-value, since the interval shows the range of plausible effect sizes. A coefficient with p < 0.05 is conventionally described as statistically significant. Use the overall F-test to assess whether the predictors jointly explain variance in the outcome; its null hypothesis is that all slope coefficients are zero. Use adjusted R² as the more conservative summary of fit. For predictive use, judge performance on held-out data (for example by cross-validation) rather than relying on in-sample R². Check the assumptions with residual plots. (1) Linearity: a plot of predicted values against residuals should show no systematic pattern. (2) Normality: residual normality matters mainly for small-sample inference and prediction intervals; the coefficient estimates do not depend on it, so a Q-Q plot of standardized residuals should be judged visually. (3) Homoscedasticity: residual variance should be roughly constant across fitted values. Heteroscedasticity affects the standard errors rather than the coefficient estimates; the Breusch-Pagan test has a null hypothesis of constant residual variance. (4) Independence: the Durbin-Watson statistic applies only where observations have a meaningful order, such as time series; a value near 2 suggests no first-order autocorrelation. Systematic patterns suggest misspecification, which may be addressed by transforming the outcome (for example, log Y) or adding interactions or polynomial terms. Leverage and influence measures such as Cook's distance and DFFITS help identify cases that disproportionately affect the estimates.
Common pitfalls
- Data-driven model selection (stepwise, forward or backward selection) capitalizes on chance, inflates Type I error and produces unstable coefficients. Theory-driven model specification is preferred.
- Checking only the correlation matrix is not enough to detect multicollinearity; the VIF of each predictor should be computed, and values above about 5 to 10 call for action.
- Adding many predictors raises R² and can overfit the sample. Adjusted R² or cross-validation gives a better picture of predictive performance.
- Interpreting coefficients causally without randomization ignores confounding, reverse causation and selection bias.
- Non-normal residuals, heteroscedasticity and autocorrelation can inflate standard errors or bias inference, so the residual checks should not be skipped.
- Using ordinary standard errors with clustered data (for example, patients nested in hospitals) gives confidence intervals that are too narrow; multilevel models or sandwich estimators are needed.
Frequently asked questions
When should I standardize predictors, and how does it affect interpretation?
Standardize continuous predictors (z-score: subtract the mean, divide by the standard deviation) when you want to compare the magnitude of coefficients measured on different scales. Standardized coefficients are in units of standard deviations: a coefficient of 0.5 means a 1-SD increase in the predictor is associated with a 0.5-SD increase in the outcome. Because the SD depends on the sample, standardized coefficients are comparable only within the same sample. Standardization does not reduce multicollinearity among the predictors. Raw (unstandardized) coefficients keep the original units and are often easier to interpret in practice. Report both, and state which one you are reporting.
What is the difference between R² and adjusted R²?
R² = 1 − (SSE/SS_total) is the proportion of outcome variance explained by the model. It never decreases when a predictor is added, even if that predictor has no real association with the outcome. Adjusted R² = 1 − [(1 − R²)(n − 1)/(n − p − 1)] corrects for the degrees of freedom used by the p predictors, where n is the sample size. Adding a predictor can therefore lower adjusted R² when the improvement in fit is too small to justify the extra parameter. For model comparison and for judging how much predictive power is real, use adjusted R²; report both.
How do I interpret a nonsignificant coefficient when other variables are in the model?
A nonsignificant coefficient (p > 0.05) means there is insufficient evidence of an association between this predictor and the outcome, holding the other variables constant. This may reflect no effect, confounding or collinearity with other predictors, or a sample too small to detect the effect. Check the 95% confidence interval and the VIF: a wide interval together with a high VIF suggests multicollinearity. Report the estimate with its interval so readers can judge the range of plausible effects. Do not drop predictors based only on p-values; use subject-matter knowledge.
What do I do if residuals are not normally distributed?
Mild non-normality is often acceptable, because regression is fairly robust and the normality assumption matters mainly for inference in small samples; a rule of thumb treats n < 30 as the range where it matters most. Examine the Q-Q plot visually before relying on a formal test, since the Shapiro-Wilk test is very sensitive in large samples, where trivial departures can become significant. If the residuals are clearly non-normal, consider: (1) a log or square-root transformation of the outcome, (2) adding omitted predictors or interactions, (3) robust regression (Huber, bisquare), or (4) bootstrap confidence intervals. Investigate extreme outliers with influence measures such as Cook's distance; remove them only if they result from data-entry error, otherwise report results with and without them.
Related methods
Sources
Draper, N. R., & Smith, H. (1966). Applied Regression Analysis. John Wiley & Sons.
Open publication referenceCohen, J., Cohen, P., West, S. G., & Aiken, L. S. (1992). Applied Multiple Regression/Correlation Analysis for the Behavioral Sciences (2nd ed.). Lawrence Erlbaum.
Open publication referenceMarquardt, D. W. (1980). You should standardize the independent variables in your regression models. Discussion of a paper by G. David Knottnerus. Journal of the American Statistical Association, 75(369), 87–91.
Open publication reference