# White Test: Definition, Examples

Statistics Definitions > White Test

## What is the White Test?

White’s test is used to test for heteroscedastic (“differently dispersed”) errors in regression analysis. It is a special case of the (simpler) Breusch-Pagan test.

A graph showing heteroscedasticity; the White test is used to identify heteroscedastic errors in regression analysis.

The null hypothesis for White’s test is that the variances for the errors are equal. In math terms, that’s:
H0 = σ2i = σ2.
The alternate hypothesis (the one you’re testing), is that the variances are not equal:
H1 = σ2i ≠ σ2.

The only different between White’s test and the Breusch-Pagan is that its auxillary regression doesn’t include cross-terms or the original squared variables. Other than that, the steps are exactly the same.

## When Should You Use White’s Test?

If your data set has many explanatory variables, the test may be challenging to calculate. Unless you have a specific reason for running the White Test (i.e. you need your independent variable to have a interactive, non linear effect on the variance), you should use the simpler Breusch-Pagan. White’s test is an asymptotic test, which it’s meant to be used on large samples. For smaller samples, interpret the results with caution.

One issue with White’s test us that it can return a significant result even if the variances of the errors are equal. This happens because the model is a general one, and may pick up other issues in your data (although it won’t specify what those issues are!). According to Richard Williams, one of the reasons the test is more general is because of added terms that test for more types of heteroscedasticity, like adding squares of regressors (i.e. the independent variables) to try and identify non-linear shapes like an hourglass.

Reference:
Richard Williams. Retrieved Jun 27, 2016 from: https://www3.nd.edu/~rwilliam/stats2/l25.pdf.

------------------------------------------------------------------------------

If you prefer an online interactive environment to learn R and statistics, this free R Tutorial by Datacamp is a great way to get started. If you're are somewhat comfortable with R and are interested in going deeper into Statistics, try this Statistics with R track.