White Test - rileywheadon/ffa-framework GitHub Wiki
The White Test is used to detect changes in the variance of a time series.
- Null hypothesis: The variance of the time series is constant (homoskedasticity).
- Alternative hypothesis: The variance of the time series is time-dependent (heteroskedasticity).
Consider a simple linear regression model:
Use ordinary least squares to fit the model. Then compute the squared residuals:
$${\hat{\epsilon}}{i}^{2} = (y{i} - \hat{y}_{i})^{2}$$
Next, fit an auxillary regression model to the squared residuals.
This model should include each regressor, the square of each regressor, and the cross products between all regressors.
Since
$${\hat{\epsilon}}{i}^{2} = \alpha{0} + \alpha_{1}x_{i} + \alpha_{2}x_{i}^{2} + u_{i}$$
Next, we compute the coefficient of determination
For more information, the following sources may be useful:
- White Test Deep Dive
- Marno Verbeek, A Guide to Modern Econometrics (2004)
- William H. Greene, Econometric Analysis, 5th Edition (2002)