- Introduced by
- Halbert White
- Year
- 1980
- Type
- General test for heteroskedasticity
What does it do?
The White test, introduced by Halbert White in 1980, is a general test for heteroskedasticity that does not assume a particular functional form for the error variance.
It regresses the squared OLS residuals on the regressors, their squares, and their pairwise cross-products, so it can detect variance patterns linked to any of these terms. The same 1980 paper introduced the heteroskedasticity-consistent ('White') covariance estimator, the usual remedy when the test rejects.
The intuition behind the method
The Breusch-Pagan test checks whether error variance depends on the regressors entered linearly. Variance may instead depend on a regressor squared, or on the interaction of two regressors, and a purely linear specification can miss this. White's idea is to include levels, squares, and cross-products in the auxiliary regression and ask whether any of these terms explains the squared residuals. Because these terms act as a second-order approximation to an unknown variance function, the test does not need to know the variance's shape, but it can only pick up patterns that these particular terms capture reasonably well.
History
Halbert White's 1980 Econometrica paper introduced two linked results: a heteroskedasticity-consistent covariance matrix estimator, which remains consistent without a formal model of the heteroskedasticity, and a direct test that compares this estimator with the usual OLS covariance estimator. The auxiliary regression of squared residuals on the regressors, their squares, and cross-products is the form in which the test is most often applied. It is usually discussed alongside the earlier parametric Breusch-Pagan approach, which gains focus by assuming a specified variance structure.
When to use it
Use the White test when you want a general check for heteroskedasticity without a specific hypothesis about its form, for example when you have no prior view on which regressors drive the variance. Do not rely on it as the main test when you have few regressors and a specific suspected variance driver: the focused Breusch-Pagan test can have more power in that case, because the White auxiliary regression spends degrees of freedom on squares and cross-products. Since those extra terms can also respond to omitted nonlinearity, read a rejection together with other specification checks. When heteroskedasticity is the likely explanation, report heteroskedasticity-consistent standard errors, or consider weighted least squares if the variance can be modelled.
Limitations and considerations
- With many regressors, the squares and cross-products add many auxiliary terms, which consume degrees of freedom and lower power.
- Against a specific, known form of heteroskedasticity, a focused test such as Breusch-Pagan is generally more powerful.
- A rejection may reflect omitted nonlinear terms or other misspecification, not heteroskedasticity alone.
- The test signals that the variance is not constant but does not estimate the variance function, so it does not supply the weights needed for weighted least squares.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Does not assume a functional form for the heteroskedasticity, so it can detect a broad class of variance patterns involving the regressors.
- Needs no prior view on which variables drive the variance, because the auxiliary regression is built from the model's own regressors.
- A rejection leads directly to the heteroskedasticity-consistent covariance estimator introduced in the same 1980 paper.
Applications
- Checking whether OLS standard errors can be trusted in a cross-sectional regression before they are reported.
- Deciding whether to report heteroskedasticity-consistent standard errors after an OLS fit.
- Screening a regression for variance that depends on squared or interacted regressors, which a linear-variance test might miss.
- Comparing against a focused Breusch-Pagan test when the suspected variance drivers are already known.
How it works
How it works
The null hypothesis is homoskedasticity: all errors share the same variance σ². The alternative is heteroskedasticity of an unspecified form that can be expressed through the regressors and their squares and products.
Formula
H_0:\ \operatorname{Var}(u_i)=\sigma^2 \ \forall i \ \text{(homoskedastic)}After OLS, regress the squared residuals on a constant, each regressor, the squares of the regressors, and their pairwise cross-products. This set of terms is what gives the test its generality, and it serves as a second-order approximation to an arbitrary variance function.
Formula
\hat u_i^2 = \alpha_0 + \sum_j \alpha_j x_{ij} + \sum_{j\le k}\beta_{jk} x_{ij}x_{ik} + v_iThe statistic is n·R² from the auxiliary regression, which is compared with a chi-square distribution whose degrees of freedom equal the number of auxiliary terms excluding the constant. Because the number of terms grows quickly with the number of regressors, the degrees of freedom can become large.
Formula
\text{LM} = n R^2 \sim \chi^2_{q}Reject homoskedasticity when n·R² exceeds the chi-square critical value. A rejection means the test's null of constant variance is not supported. If the rejection reflects heteroskedasticity, OLS standard errors are unreliable and White's heteroskedasticity-consistent standard errors are the standard fix. The auxiliary terms can also respond to other misspecification, so the rejection should be checked before it is attributed to heteroskedasticity alone.
Formula
\text{Reject } H_0 \iff nR^2 > \chi^2_{q,1-\alpha}Common pitfalls
- Treating a non-rejection from a low-power test with many regressors as evidence that the errors are homoskedastic.
- Reading a rejection as pure heteroskedasticity when the auxiliary terms may be picking up omitted nonlinearity.
- Including perfectly collinear auxiliary terms, such as squares of dummy variables (which equal the dummy itself) or cross-products that duplicate other terms; these must be dropped from the auxiliary regression.
- Continuing to report ordinary OLS standard errors after a rejection that is attributed to heteroskedasticity.
Frequently asked questions
How is the White test different from Breusch-Pagan?
Breusch-Pagan tests for heteroskedasticity tied to a chosen set of variables (often the regressors entered linearly), giving it focus and power against that form. The White test adds the squares and cross-products of the regressors, making it agnostic about the form but spreading its power thinner and consuming more degrees of freedom.
What do I do when the White test rejects?
Heteroskedasticity leaves OLS coefficients unbiased but their standard errors invalid. The standard remedy — introduced in the same White (1980) paper — is to report heteroskedasticity-consistent (robust) standard errors; weighted least squares is an alternative if you can model the variance.
Why might the White test have low power?
Because it includes many auxiliary terms (levels, squares, cross-products), its chi-square degrees of freedom grow quickly with the number of regressors. Spreading the test across many directions reduces its power against any single form, which is why a focused Breusch-Pagan test can do better when you know what drives the variance.
Related methods
Sources
White, H. (1980). A heteroskedasticity-consistent covariance matrix estimator and a direct test for heteroskedasticity. Econometrica, 48(4), 817–838.
Open DOI reference