Multiple linear regression
Multiple linear regression is a statistical method used to model the relationship between a dependent variable and two or more explanatory variables. It extends simple linear regression by allowing multiple explanatory variables to be included in the same model.
A general multiple linear regression model is:
where:
- = dependent variable for observation ;
- = value of explanatory variable for observation ;
- = intercept;
- = coefficient associated with explanatory variable ;
- = error term;
- = number of explanatory variables;
- = observation index.
The fitted regression equation is:
Ordinary least squares
Multiple linear regression is commonly estimated using ordinary least squares (OLS).
OLS chooses the coefficient estimates that minimize the sum of squared residuals:
The residual for observation is:
The residual sum of squares is:
Matrix formulation
The multiple linear regression model can be written in matrix form as:
where:
- = vector of dependent-variable observations;
- = design matrix of explanatory variables;
- = vector of regression coefficients;
- = vector of error terms.
Under the standard OLS formulation, the coefficient estimator is:
provided that is invertible.
Interpretation of coefficients
In multiple linear regression, a coefficient represents the estimated change in the dependent variable associated with a one-unit change in the corresponding explanatory variable, holding the other included explanatory variables constant.
For example:
Here, represents the estimated change in associated with a one-unit increase in , conditional on remaining unchanged.
Similarly, measures the corresponding conditional association between and .
This interpretation depends on the model specification and does not by itself establish causation.
Intercept
The intercept is the expected or fitted value of the dependent variable when all explanatory variables equal zero:
under the conditional-mean interpretation of the model.
The practical meaning of the intercept depends on whether zero is a meaningful value for all explanatory variables.
Coefficient of determination
The coefficient of determination, denoted by , measures the proportion of sample variation in the dependent variable accounted for by the fitted regression model relative to an intercept-only model.
It is calculated as:
where:
is the total sum of squares.
Equivalently:
where is the explained sum of squares.
Unlike simple linear regression, the coefficient of determination in multiple regression is not generally equal to the square of the correlation between any single explanatory variable and the dependent variable.
Adjusted R-squared
Adding explanatory variables to a regression cannot decrease ordinary , even when the additional variables provide little useful information.
The adjusted R-squared accounts for the number of explanatory variables:
where:
- = adjusted coefficient of determination;
- = coefficient of determination;
- = number of observations;
- = number of explanatory variables.
Adjusted can decrease when an additional explanatory variable does not provide sufficient improvement in model fit.
Statistical inference
Multiple linear regression can be used to test hypotheses about individual coefficients.
For an explanatory variable , a common null hypothesis is:
A corresponding t-statistic is:
where:
- = estimated coefficient;
- = hypothesized coefficient value;
- = standard error of the estimated coefficient.
A joint hypothesis concerning several coefficients can be evaluated using an F-test.
For example:
The F-test evaluates whether the specified group of explanatory variables provides statistically significant explanatory power within the model.
Multicollinearity
Multicollinearity occurs when explanatory variables are highly linearly related.
For example, if:
for constants and , the two explanatory variables contain substantial overlapping information.
Perfect multicollinearity prevents unique estimation of the standard OLS coefficients because the design matrix does not have full column rank.
High but imperfect multicollinearity does not prevent estimation but can:
- increase coefficient standard errors;
- make individual coefficients unstable;
- make coefficient interpretation more difficult;
- cause coefficients to change substantially when variables are added or removed.
Heteroskedasticity
Heteroskedasticity occurs when the conditional variance of the regression errors is not constant:
OLS coefficient estimates can remain unbiased under appropriate exogeneity conditions, but conventional standard errors may be unreliable.
Heteroskedasticity-consistent standard errors can be used for inference that is robust to certain forms of non-constant error variance.
Autocorrelation
In time-series and other ordered data, regression errors may be correlated across observations.
A simplified representation is:
for some non-zero lag .
Serial correlation can affect the efficiency of OLS estimates and the validity of conventional standard errors, depending on the model and assumptions.
Regression in finance
Multiple linear regression is widely used in finance to model asset returns as a function of multiple market or economic variables.
A simplified financial model is:
where:
- = return of asset ;
- = regression intercept;
- = factor ;
- = asset's exposure to factor ;
- = residual return.
If excess returns are modeled, the equation may be written as:
Such models can estimate an asset's exposure to multiple systematic risk factors.
Market and factor models
A simple market model is:
Multiple regression extends this framework by including additional explanatory variables.
For example, a multifactor model may include market, size, value, momentum, and profitability factors:
where each beta represents the estimated exposure of the asset to the corresponding factor.
Prediction
Once the coefficients have been estimated, the model can be used to calculate fitted values or generate predictions.
For a new observation with explanatory-variable vector :
Prediction intervals can incorporate both uncertainty in the estimated regression function and uncertainty associated with the individual outcome.
Advantages
Multiple linear regression can:
- model several explanatory variables simultaneously;
- estimate conditional relationships;
- control statistically for included explanatory variables;
- quantify the marginal association of explanatory variables;
- generate fitted values and predictions;
- provide statistical tests and confidence intervals;
- support financial factor and risk models.
Limitations
Multiple linear regression has several limitations:
- statistical association does not establish causation;
- omitted variables can bias coefficient estimates;
- multicollinearity can make individual coefficients imprecise;
- outliers can materially influence estimates;
- nonlinear relationships may not be adequately represented;
- model results depend on the selected explanatory variables;
- relationships can change over time;
- high does not necessarily indicate a correctly specified model.
In financial applications, regression estimates can also be affected by changing market regimes, structural breaks, non-stationarity, and time-varying volatility.