Heteroskedasticity: detection and correction

Heteroskedasticity: detection and correction

Published September 28, 2026

Heteroskedasticity: detection and correction

On this page

Learning Outcome Statement

Explain the types of heteroskedasticity and how it affects statistical inference.

On the exam: You will get a regression setting, a residual pattern or heteroskedasticity-test result, sample details, and a significance level. The question may ask you to identify the type, make the test decision, state the inference consequence, or choose an appropriate correction in a qualitative or calculation-based choice.

Think of OLS as finding the average relationship between variables. It can estimate that relationship correctly while giving you the wrong sense of precision because the residual spread changes across observations. Heteroskedasticity means conditional error variance changes across observations, often as an observed regressor or fitted value grows. Under exogeneity, OLS coefficient estimates can remain unbiased and consistent, but conventional inference can fail.

TypeConditional error varianceSource
HomoskedasticityConstantNo systematic widening
Pure heteroskedasticityChanges with observed regressor or fitted valueVariance structure
Impure heteroskedasticityAppears nonconstantWrong form or omitted structure

When residuals spread into a fan or funnel as a regressor or fitted value changes, suspect nonconstant conditional variance. A roughly even, random residual spread does not provide that visual clue. Ask what produced the pattern: pure heteroskedasticity is a variance pattern, while impure heteroskedasticity signals a misspecified functional form or omitted relevant structure.

When you want to check that visual clue, use the Breusch-Pagan procedure. It regresses squared residuals on variables that may explain why their spread changes. In the auxiliary regression, $n$ is the number of sample observations and $R^2$ is its coefficient of determination. The Breusch-Pagan test statistic, $LM$, combines them as follows:

$$ LM = nR^2 $$

With $R^2$ unchanged, adding sample observations makes $LM$ larger. A larger auxiliary $R^2$ also makes $LM$ larger because the squared residuals line up more closely with the variance predictors. The homoskedasticity null says conditional error variance is constant, and the alternative is heteroskedasticity. Compare the statistic with the upper-tail chi-square critical value at the stated significance level, using the auxiliary degrees of freedom. If the statistic exceeds the critical value, reject the null.

Use the plot to form a suspicion, not to make the final call. Let the test decide whether the null is rejected.

Loading diagram…

Under exogeneity, OLS coefficient estimates can remain unbiased and consistent. Heteroskedasticity can make conventional standard errors unreliable, so t tests, F tests, p-values, and confidence intervals can mislead you. Heteroskedasticity-consistent standard errors change the inference without changing the OLS coefficients.

Worked example

You are handed an annual cross-sectional regression of annual profit margin on firm size. The residuals appear to widen as firm size rises, and the auxiliary regression output comes with a chi-square critical value. You need to calculate the Breusch-Pagan $LM$ statistic and make the upper-tail decision about homoskedasticity.

InputValue
SampleAnnual cross-sectional sample
$n$12 sample observations
Auxiliary $R^2$0.42
Critical value3.84
Significance level $\alpha$0.05 decimal level
Auxiliary degrees of freedom1
Test tailUpper-tail chi-square test
HypothesesHomoskedasticity null, heteroskedasticity alternative
Residual conventionActual minus fitted annual margin
ExogeneityAssumed for coefficient interpretation
Firm size, USD billions1.0, 2.0, 3.0, 4.0, 5.0, 6.0
Residuals, annual profit-margin percentage points0.20, -0.30, 0.50, -0.70, 0.90, -1.20

The line plots the listed annual residuals against firm size. It is a compact display of those observations, not a new fitted line. The widening spread at larger firm sizes supports a visual suspicion of nonconstant conditional variance. Compare the widening residuals with the test inputs: the picture motivates a check, while the calculation supplies the formal decision.

Loading diagram…
  1. Multiply the sample count $n$ by the auxiliary $R^2$. This applies the Breusch-Pagan rule and produces the test statistic.

$$ LM = 12 \times 0.42 = 5.04 $$

  1. Subtract the critical value from the statistic. This checks the upper-tail rule at $0.05$ and $1$ degree of freedom and produces the decision gap.

$$ 5.04 - 3.84 = 1.20 $$

Reject the homoskedasticity null at the stated significance level. Under exogeneity, the rejection can make conventional standard errors, t tests, F tests, p-values, and confidence intervals unreliable, while OLS coefficients can remain unbiased and consistent.

Changed condition

Only the auxiliary regression’s $R^2$ changes. The sample, critical value, significance level, and degrees of freedom remain the same.

QuantityOriginalChanged
Auxiliary $R^2$0.420.1
Breusch-Pagan $LM$5.041.20
Statistic minus critical value1.20-2.64

Predict the direction before calculating. Lowering $R^2$ while holding the sample count $n$ fixed must lower $LM$. The statistic moves from $5.04$ to $1.20$, and the gap moves from $1.20$ to $-2.64$. The result is a failure to reject the homoskedasticity null at $0.05$, not proof that conditional variance is constant. Before reading on, recompute the changed statistic and compare it with the critical value.

Common error

Candidates often treat a large Breusch-Pagan statistic as proof that OLS coefficients are biased. It feels right because a rejected homoskedasticity null sounds like the whole regression has failed. The question gives it away when it asks about standard errors or t tests under an exogeneity assumption, because coefficients can remain unbiased and consistent while conventional inference is unreliable.

Calculator

KeysDisplay
2ND CLR WORK0.00
12 ENTER12.00
0.42 ENTER0.42
×5.04

Go deeper

Start by asking what moved: the spread of the errors or the mean relationship itself. If only the spread changed, you can correct the uncertainty calculation, but evidence of a wrong mean equation calls for a different model. Match each remedy to its assumption: robust errors address inference, while changing the fitted model requires a defensible variance structure.

ResponseOLS coefficientsVariance requirement
Heteroskedasticity-consistent standard errorsOLS unchangedNo explicit variance model
TransformationMay changeDefensible variance structure
Weighted least squares (WLS)May changeDefensible variance structure

The standard-error response leaves the OLS point estimates in place because you still fit the same mean equation. It changes the estimated variance of each coefficient, and the standard error is the square root of that variance. A transformation or WLS changes the fitted scale or the influence assigned to observations, so you must defend the variance structure before using it. If the residual pattern comes from an omitted variable or a wrong functional form, revisit the mean specification because no standard-error correction repairs that misspecification.

ConclusionSample evidenceDecision relevance
Statistical significanceTest result or p-valueSampling evidence
Economic significanceSize relative to decisionEconomic materiality

After the test, you ask two different questions. Does the sample provide enough evidence against the null, and is the estimated effect large enough to affect the decision? A very small effect can be statistically significant with a large sample, while a practically important effect can remain statistically inconclusive with a small sample. Statistical significance and economic significance are separate conclusions.

Check yourself

Practice

An annual cross-sectional regression supplies residual evidence, auxiliary regression output, a chi-square critical value, and an exogeneity assumption.

Question 1

The mean specification is appropriate, but residual spread changes with an observed regressor. Which type is present?

Question 2

An annual sample has n=12 observations and an auxiliary regression with R^2=0.42. Calculate the Breusch-Pagan LM statistic.

Question 3

The Breusch-Pagan statistic is 5.04. The upper-tail chi-square critical value is 3.84 at α=0.05 with 1 degree of freedom. Which decision follows?

Question 4

Under exogeneity, heteroskedasticity is detected. Which inference statement is correct?

Which response addresses heteroskedasticity while preserving OLS coefficient estimates?

Revision snapshot

Pure heteroskedasticity occurs when conditional error variance changes with an observed regressor or fitted value. Impure heteroskedasticity reflects misspecified functional form or omitted relevant structure. A residual fan or funnel pattern suggests nonconstant conditional variance. Random residual spread does not. The Breusch-Pagan $LM$ statistic is $LM = nR^2$. Test the homoskedasticity null using the upper tail of a chi-square distribution. Under exogeneity, OLS coefficient estimates can remain unbiased and consistent, but conventional standard errors, t tests, F tests, p-values, and confidence intervals can be unreliable. Heteroskedasticity-consistent standard errors change inference without changing OLS coefficients. Transformations or WLS require a defensible variance structure. Statistical significance and economic significance are separate conclusions. A large Breusch-Pagan statistic is not proof that OLS coefficients are biased.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Heteroskedasticity: detection and correction

  1. 1. Meridian Asset Consulting is evaluating whether the Meridian Tactical Fund's monthly excess returns are related to the equity market and changes in the term spread. Analyst Priya Shah estimates an ordinary least squares regression using 60 consecutive monthly observations. The dependent variable is the fund return minus the one-month risk-free rate. The explanatory variables are the market excess return and the monthly change in the ten-year government yield minus the three-month government yield. Exhibit 1 presents the estimated coefficients and model statistics. Shah tests each slope coefficient using a two-sided test at the 5% significance level. The null hypothesis for each test is that the relevant population slope coefficient equals zero. The critical value shown in Exhibit 1 reflects the applicable residual degrees of freedom and must be used instead of a normal-distribution critical value. Shah also considers the overall F-test, for which the null hypothesis is that both slope coefficients jointly equal zero. A colleague makes three observations. First, he argues that the market coefficient cannot be statistically significant because its estimate exceeds 1.0. Second, he concludes that the term-spread coefficient is significant because its sign is negative and the overall regression has a low F-test p-value. Third, he states that an R² of 0.380 proves the explanatory variables cause 38% of the fund's monthly excess return. Shah must evaluate these statements using standard regression interpretation. Before using the model for manager assessment, Shah examines the residuals. Exhibit 2 reports a Breusch–Pagan test, the Durbin–Watson statistic, and variance inflation factors. At the 5% level, a Breusch–Pagan p-value below 0.05 is evidence that the error variance is not constant. For this monthly regression, a Durbin–Watson statistic materially below 2.0 is consistent with positive residual serial correlation. VIF values below 5.0 are not considered evidence of serious multicollinearity under the firm's diagnostic policy. Shah does not intend to alter the estimated coefficients solely because of the diagnostic results. Her immediate objective is to obtain reliable hypothesis tests and confidence intervals. Any proposed treatment must therefore address the effect of the detected error structure on estimated standard errors without deleting economically justified regressors.

    • 2. Northbridge Investment Research evaluates an actively managed US equity fund using a monthly factor regression. The research team estimates fund excess return as a function of market excess return, a size-factor return, and a value-factor return. The 60 observations are consecutive monthly observations, and all return variables are stated in percentage points. The model is estimated using ordinary least squares with an intercept. The team has confirmed that the dependent variable and each factor-return series are stationary over the sample period. Exhibit 1 presents coefficient estimates, conventional ordinary least squares standard errors, p-values based on those conventional standard errors, and variance inflation factors. A senior analyst notes that the market coefficient should be interpreted conditionally, with the other included factor returns held constant. She also cautions that association in the regression does not, without an identification strategy, establish a causal effect. The research team uses a 5% significance level for all tests. Exhibit 2 reports model fit and diagnostic statistics. The overall F-test has the null hypothesis that all three slope coefficients equal zero. The Breusch–Pagan test has the null hypothesis that the regression error variance is constant. The Durbin–Watson statistic is also reported because consecutive monthly residuals may be serially correlated; a value materially below 2 is consistent with positive serial correlation. Two of the analysts disagree about the diagnostic implications. One argues that high variance inflation factors necessarily bias all coefficient estimates. The other responds that multicollinearity principally increases the uncertainty of the affected coefficient estimates while leaving ordinary least squares coefficients unbiased if the remaining assumptions, including exogeneity, hold. They also consider whether conventional standard errors remain suitable if the Breusch–Pagan test rejects its null hypothesis. No evidence indicates that the regression's functional form is nonlinear, and the team does not intend to remove an explanatory variable solely because its individual p-value exceeds 5%. The final report must distinguish model fit, individual coefficient significance, joint significance, and causal interpretation.

      • 3. An analyst at Northbridge Consulting evaluates whether Delta Fund's monthly excess returns are related to the market excess return and changes in the term spread. The term spread is measured in percentage points as the yield on a 10-year government bond minus the yield on a 3-month government bill. The dependent and independent return variables are expressed in decimal form, and all observations correspond to the same 60 monthly periods. The analyst estimates a multiple linear regression using ordinary least squares. She assumes that the relation is linear and that the regressors are measured without error. She initially conducts individual coefficient tests using conventional standard errors. For a two-sided test at the 5% significance level, the relevant critical t-value is 2.002. She distinguishes statistical significance from economic significance and recognizes that a coefficient can satisfy one criterion without satisfying the other. The investment committee also asks whether the explanatory variables are jointly useful. The analyst estimates a restricted model imposing both slope restrictions simultaneously. For the joint test, the numerator degrees of freedom equal the number of restrictions, and the denominator degrees of freedom equal the unrestricted model's residual degrees of freedom. The committee will compare the calculated F-statistic with the appropriate critical value, although only calculation of the statistic is required in this item set. After estimating the model, the analyst plots residuals against fitted values. The dispersion of the residuals appears to increase as fitted returns increase. A formal diagnostic also rejects the null hypothesis of constant residual variance. The analyst concludes that conditional heteroskedasticity is present but finds no evidence of serial correlation or model nonlinearity. She notes that, if the other regression assumptions hold, ordinary least squares coefficient estimates remain unbiased and consistent, although conventional estimates of their standard errors may be inconsistent. A colleague suggests replacing the estimated coefficients with values obtained from the heteroskedasticity-consistent covariance matrix. The analyst responds that the robust procedure normally leaves ordinary least squares coefficients unchanged and instead revises the estimated standard errors used for tests and confidence intervals. Exhibit 1 presents the regression coefficients, both sets of standard errors, and the restricted and unrestricted sums of squared errors.

        • 4. Meridian Securities analyst Elena Rossi investigates whether a company's monthly stock excess return is related to the market and size factors. She estimates an ordinary least squares multiple regression using 60 consecutive monthly observations. The dependent variable and both factor returns are expressed in percentage points. Her initial results appear in Exhibit 1. Rossi uses a two-sided 5% significance level for individual coefficient tests. She observes that the model has a relatively high R-squared and a statistically significant F-test. She cautions, however, that overall model significance does not establish that every classical linear regression assumption is satisfied or that the estimated relationships are causal. Rossi next performs residual and regressor diagnostics, summarized in Exhibit 2. For the Breusch–Pagan test, the null hypothesis is that the residual variance is constant. She also examines the Durbin–Watson statistic because the observations are ordered through time. Finally, she calculates the correlation between the two included factors and their variance inflation factors. She understands that high multicollinearity can make individual coefficient estimates imprecise even when the regression has substantial explanatory power. A colleague proposes dropping the size factor solely because its coefficient is negative. Rossi responds that coefficient sign alone is not a valid variable-selection criterion. The sign should instead be interpreted in light of the specified model, statistical evidence, economic rationale, and possible misspecification. Additional research identifies momentum as a potentially omitted factor. Prior evidence applicable to the sample indicates that momentum has a positive partial effect on the company's excess return. Momentum is also negatively correlated with the included size factor. Rossi assumes that momentum is not perfectly collinear with the included regressors and that adding it would otherwise leave the model suitable for ordinary least squares estimation. She evaluates the likely direction of omitted-variable bias before re-estimating the model.

          • 5. Northbridge Research develops a model to explain monthly changes in investment-grade corporate credit spreads. The dependent variable is measured in basis points. The explanatory variables are the contemporaneous monthly equity market return, measured in percentage points, and the monthly change in the central bank policy rate, also measured in percentage points. The analyst estimates the model using ordinary least squares and reports the results in Exhibit 1. The research director asks whether the equity market coefficient is statistically different from zero using a two-sided test at the 1% significance level. She emphasizes that statistical significance does not by itself demonstrate economic importance or causality. She also asks the analyst to interpret R-squared strictly as a sample measure of goodness of fit. As part of model validation, the analyst plots residuals against fitted spread changes. The residuals remain centered around zero, but their dispersion increases substantially as fitted values rise. The observations are displayed in chronological order only incidentally; the values along the horizontal axis represent fitted values, not time. The analyst has not yet applied heteroskedasticity-consistent standard errors. A credit strategist then identifies market liquidity as a potentially omitted variable. Deteriorating liquidity tends to widen credit spreads and is also associated with negative equity market returns. The team therefore concludes that liquidity both affects the dependent variable and is correlated with an included regressor. No interaction term or liquidity proxy is present in the reported model. The team is not claiming that the regression establishes a structural causal relationship. It is evaluating whether the reported inferential statistics are reliable and whether the coefficient estimates may be biased by model misspecification. The stated critical value applies directly to the requested test, and candidates need not calculate additional degrees of freedom.

            • 6. Meridian Securities analyst Priya Shah is developing a model to explain a company's monthly stock return using the broad-market return and the monthly change in the term spread. All returns and changes in the term spread are entered as decimals; therefore, 1.00% is entered as 0.0100. A decrease of 0.25 percentage points in the term spread is entered as −0.0025. Exhibit 1 reports the ordinary least squares estimates from 60 monthly observations. Shah initially evaluates the fitted model by examining the coefficient estimates, their standard errors, and the overall model statistics. She tests each slope coefficient using a two-sided null hypothesis that the population coefficient equals zero, and she also constructs confidence intervals around the coefficient estimates. All tests use a 5% significance level. She also evaluates whether the model is statistically significant as a whole, but she recognizes that the overall F-test does not replace tests of the individual coefficients. For a scenario analysis, Shah assumes a monthly market return of 1.00% and a 0.25-percentage-point decrease in the term spread. She intends to calculate the fitted stock return directly from the reported intercept and slope coefficients. She does not add a separate residual forecast because the conditional expected value of the error term is assumed to be zero. Shah next examines the residual diagnostics in Exhibit 2. The Breusch–Pagan test has a null hypothesis of homoskedastic residual variance. The Durbin–Watson statistic is used to assess first-order serial correlation, with a value near 2 indicating no serial correlation. Variance inflation factors are used to identify whether linear relationships among explanatory variables materially inflate coefficient variances. The research director states that the regressors may be treated as exogenous, but asks Shah to identify any condition that could make conventional ordinary least squares standard errors unreliable. If such a condition is present, she should select a correction that preserves the estimated coefficients while improving inference. The director also cautions her not to infer causality solely from R² or statistical significance and not to diagnose nonstationarity using a test designed for residual variance.

              • 7. An equity analyst at Northbridge Securities evaluates the monthly excess returns of Delta Industries. She estimates a multiple regression using 60 consecutive monthly observations. The dependent variable is Delta's return minus the one-month risk-free rate, expressed in percentage points. The explanatory variables are the domestic market excess return, also in percentage points, and the monthly change in an investment-grade credit spread, measured in percentage points. Exhibit 1 presents ordinary least squares estimates using conventional standard errors. For the credit-spread coefficient, the analyst tests the null hypothesis that the coefficient equals zero against the two-sided alternative that it does not equal zero. At the 5% significance level, the applicable critical t-value is 2.00 in absolute value. She separately uses the reported F-test to assess the joint null hypothesis that both slope coefficients equal zero. The analyst then reviews the residual evidence in Exhibit 2. The Breusch–Pagan test is conducted at a 5% significance level. A residual plot shows that dispersion increases with the magnitude of the market excess return. The Durbin–Watson statistic is materially below 2, creating an additional concern about positive serial correlation. The analyst can obtain heteroskedasticity-consistent standard errors without changing the estimated coefficients. She understands that this adjustment addresses inference under heteroskedasticity but does not itself correct serial correlation or omitted-variable bias. To quantify the serial correlation and decide on a joint correction, she also approximates the first-order autocorrelation coefficient implied by the Durbin–Watson statistic and considers whether an autocorrelation-and-heteroskedasticity-consistent standard error, such as Newey-West, is required instead of a heteroskedasticity-only correction. A colleague identifies an omitted monthly investor-sentiment measure. Economic research indicates that higher sentiment increases Delta's return after controlling for the included regressors. In this sample, sentiment is positively correlated with the market excess return. The analyst assumes this correlation is not caused by measurement error and asks how omitting sentiment affects the estimated market coefficient. Finally, the analyst cautions that neither statistical significance nor an R-squared of 0.48 establishes causality. She will use the regression for conditional return analysis only after correcting inference and assessing whether the model remains stable in a later out-of-sample period.

                Flashcards: Heteroskedasticity: detection and correction

                1. 1. What model qualities lead to Type I errors?

                  Show answer

                  - conditional heteroskedasticity - positive serial correlation

                2. 2. What is Breush-Pagan test used for?

                  Show answer

                  conditional heteroskedasticity (autocorrelation)\ to see if the size of the independent variables influence the size of the residuals

                3. 3. What may ommision of an important independent variable cause?

                  Show answer

                  serial correlation\ model coefficients will be biased/inconsistent

                4. 4. What is look-ahead bias?

                  Show answer

                  using info that was unavailable at the time of the investment decision

                5. 5. Four types of model specification errors:

                  Show answer

                  1\. ommision of an important independent variabel\ 2\. innappropriate variable form\ 3\. innappropriate variable scaling\ 4\. data improperly pooled

                6. 6. What is the BP test statistic and df?

                  Show answer

                  n\R2\ df = k (parameters)

                7. 7. What may data improperly pooled cause?

                  Show answer

                  serial correlation

                8. 8. What is Breush-Godfrey test used for?

                  Show answer

                  serial correlation beyond the first lag

                Everything you need for CFA prep

                Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

                GET STARTED FOR FREE
                75% OFFLimited time offer
                GET 75% OFF