Two separate questions
A regression gives you two things: a coefficient and a standard error for it. Most violated assumptions damage only one of them. Heteroskedasticity and autocorrelation leave unbiased but make the textbook standard error wrong. Omitted variables and measurement error bias itself, and no standard-error correction fixes that. Multicollinearity damages neither in principle; it just makes the honest standard error large.
The objective: state the assumptions behind OLS, know which failure hits the coefficient and which hits the inference, and know the standard fix for each.
The Gauss–Markov assumptions
For with an design matrix:
- Linearity in the parameters (the regressors may be nonlinear transforms such as or ).
- Full column rank: no regressor is an exact linear combination of the others, so is invertible.
- Strict exogeneity: .
- Spherical errors: , i.e. constant variance (homoskedasticity) and no correlation across observations.
Assumptions 1–3 give unbiasedness: , so . Adding 4 gives
and the Gauss–Markov theorem: OLS is BLUE, the best (lowest-variance) linear unbiased estimator. Proof sketch: write any other linear estimator as . Unbiasedness forces , and then , which exceeds the OLS variance by a PSD matrix.
Normality of is not a Gauss–Markov assumption. It is needed only for exact finite-sample and distributions; with a large sample the central limit theorem gives approximately normal anyway. "BLUE" is also weaker than it sounds: a biased estimator such as ridge can have lower mean squared error.
Heteroskedasticity and White standard errors
If varies across observations, write . Then
the sandwich. The textbook formula is the special case . White's estimator plugs in squared residuals for the unknown :
HC1 multiplies by ; HC3 divides each by and behaves better in small samples. None of them requires knowing the form of the heteroskedasticity.
When does it matter? In simple regression with centred , the true slope variance is . The classical formula effectively replaces by its average. They agree when is unrelated to ; when noise is larger at extreme , which is typical in finance (returns are noisier when volatility, volume or the signal itself is extreme), the classical standard error is too small.
Detecting it: plot residuals against fitted values or each regressor and look for a fan; formally, the Breusch–Pagan test regresses on the regressors and compares with a . In practice, just report robust standard errors.
Weighted least squares is the efficient alternative when you know (or can model) : weight each observation by . It changes the coefficients; robust standard errors do not.
Worked example
how far off is the classical standard error?
A regressor takes the values and the error variance is . Compare the true variance of the OLS slope with what the classical formula reports (using the average error variance). By what factor are the classical -statistics inflated?
Show solutionHide solution
The values are centred, with . The variances are , averaging .
True (sandwich) variance:
Classical: .
The true standard error is times the classical one, so classical -statistics are about 21% too large: a reported is really about . The coefficient itself is still unbiased. A simulation with 200,000 draws from this design gives an HC0-to-classical standard-error ratio of 1.21.
Autocorrelated errors and Newey–West
In time series, errors are often correlated across . The middle of the sandwich becomes , which includes cross terms. For a single regressor, with autocorrelations of the regressor and of the error, the true variance is approximately the classical one times
Two consequences. Autocorrelated errors with a serially uncorrelated regressor barely hurt the slope's standard error. But a persistent regressor (valuation ratios, interest rates, slow signals) combined with autocorrelated errors makes the classical standard error far too small.
The Newey–West estimator estimates the middle term with the first lagged cross-products, down-weighted by Bartlett weights (the weights guarantee a PSD estimate). Choose to cover the dependence: at least the overlap length for overlapping returns, or a rule of thumb like .
Detecting it: plot the residual autocorrelation function; the Durbin–Watson statistic is approximately , so values well below 2 signal positive autocorrelation. And if the residual autocorrelation is strong, ask whether the model is missing dynamics (a lagged term) rather than just patching the standard errors.
Panels: when many assets share a date, their errors are correlated cross-sectionally; cluster standard errors by date (and by firm if residuals persist over time).
Worked example
overlapping returns
You regress 5-day forward returns, sampled every day, on a slow-moving signal (treat its autocorrelation as 1 at short lags). Daily returns are independent. By how much do the classical standard errors understate the truth? What does Newey–West with deliver in this population?
Show solutionHide solution
Consecutive 5-day returns share 4 of their 5 days, so the error autocorrelations are for and zero beyond. With the variance factor is
The true standard error is times the classical one. A classical -statistic of 3 is really about 1.3. This is the overlapping-observations problem: 1,000 daily observations of a 5-day return carry about the information of 200 independent ones.
Newey–West with uses weights , so even with the true autocorrelations its factor is
still short of 5. The Bartlett down-weighting needs larger than the overlap (or the uniform-weight Hansen–Hodrick estimator) to capture an MA(4) fully. Sampling non-overlapping returns every 5 days avoids the issue at the cost of observations.
Multicollinearity and VIF
The variance of coefficient can be written
where is the from regressing on the other regressors. The second factor is the variance inflation factor, . With two regressors of correlation , : gives (standard errors ), gives . A common flag is VIF above 5 or 10.
What collinearity does not do: bias the coefficients, hurt the fit or the predictions (as long as new data keep the same correlation structure), or invalidate the standard errors, which are correct, just large. What it does: makes individual coefficients unstable, sign-flipping between samples, while their sum (or whatever combination the data identify) is precise. Remedies: drop or combine regressors, collect more varied data, or regularise (ridge, next lesson). Near-collinearity also shows up numerically as a large condition number of .
Leverage and influence
The fitted values are with the hat matrix . Its diagonal entry , the leverage, is how much pulls its own fitted value. Facts: , (so the average is ), and in simple regression
Leverage depends only on : it measures how unusual the regressors are, not whether the point fits. The residual of a high-leverage point has variance , which is small, because the line is dragged towards it. So raw residuals hide influential points. Better measures:
- The leave-one-out (deleted) residual : the error in predicting from a fit without it.
- Cook's distance , which measures how far all fitted values move when point is dropped. (or well above ) deserves a look.
A point is influential when it has both high leverage and a large deleted residual. In finance the usual culprits are crash days, data errors and a few very large or illiquid stocks.
Worked example
a single point bends the line
Fit OLS to . Find the leverages, the residual of the last point, its deleted residual and its Cook's distance.
Show solutionHide solution
and , so the leverages are :
The fit is , against slope 1 for the first four points alone. Residuals are : the point at has one of the smallest residuals because it has dragged the line to itself.
Its deleted residual is : the first four points predict at , and the observation is 4. With ,
far above 1. Every other point has . A residual plot alone would have missed it; leverage and Cook's distance do not.
Omitted variables and other exogeneity failures
Strict exogeneity fails whenever something in the error is correlated with a regressor. Then is biased, and more data does not help. Partition the true model as and regress on only:
where holds the slopes from regressing each omitted variable on the included ones. With one variable of each, the bias is : its sign is the sign of (effect of the omitted variable) (its correlation with the included one). That sign rule is what interviewers ask for. Example: regress returns on a stock's analyst-upgrade count without controlling for past momentum. Momentum predicts returns () and analysts upgrade winners (), so the upgrade coefficient is biased upward.
Two other sources of the same problem:
- Measurement error in a regressor (a noisy proxy): if you observe with independent noise , the slope is attenuated towards zero by the factor . Noisy signals look weaker than they are. (Noise in only adds variance.)
- Simultaneity / reverse causality: order flow moves prices and prices attract order flow.
The fixes are design, not standard errors: include the confounder, use within-variation (fixed effects), use instruments, or run a cleaner experiment.
Interview angle
Asked "what assumptions does OLS make and what happens if they fail?", sort the answer into the two questions: is still unbiased? (yes under heteroskedasticity, autocorrelation and collinearity; no under omitted variables, measurement error and simultaneity) and is the standard error right? (no under heteroskedasticity and autocorrelation; fix with White, Newey–West or clustering). Then name the diagnostic you would run for each.
Knowledge check
The residuals from a regression of daily stock returns on a signal fan out: they are much larger when the signal is extreme. Which statement is correct?
Knowledge check
Regressing on the other regressors gives . Compared with a design where is uncorrelated with the others (same variance of , same ), the standard error of is multiplied by about:
Knowledge check
Bigger funds have higher fees, and fees reduce net returns. You regress fund net returns on fund size and omit fees. Size has no true effect. What do you expect the size coefficient to be?
Knowledge check
A regression has n = 50 observations and k = 5 coefficients (including the intercept). What is the average leverage across observations?
Key takeaways
- Gauss–Markov (linearity, full rank, , spherical errors) makes OLS BLUE with variance . Normality is only for exact small-sample tests.
- Heteroskedasticity and autocorrelation leave unbiased but break the standard errors: use White (HC) or Newey–West (HAC), and cluster by date in panels. Overlapping returns with a persistent signal can understate standard errors by .
- inflates the variance, not the bias. Collinear coefficients are unstable individually but precise in combination.
- High leverage hides in small residuals: check , deleted residuals and Cook's distance.
- Omitted-variable bias is , signed by (effect of the omitted variable) (its correlation with the included one). Measurement error attenuates. Neither shrinks with more data.
Practice problems
Finished reading?
Answer the 4 knowledge checks to complete this lesson (0 done).