Questions tagged [white-test]

Test for heteroskedasticity in the errors of a regression model. $H_0\colon$ errors are homoshedastic and independent of regressors, and the model is well specified.

White (1980) proposed a test for heteroskedasticity and model specification. The null hypothesis is that errors are (1) homoskedastic, (2) independent of regressors and (3) the model is well specified (in the sense that there are no omitted variables in the form of squares or cross-products of the original regressors). The alternative hypothesis is that either (1), (2) or (3) is violated.

The test uses an auxiliary regression where squared residuals from the original regression model are regressed onto a set of regressors that contain the original regressors along with their squares and cross-products. One then inspects the $R^2$. The Lagrange multiplier (LM) test statistic is the product of the $R^2$ value and sample size: $$ \text{LM}=nR^2. $$ Under the null hypothesis the test statistic follows a $\chi^2(p−1)$ distribution, where $p$ is the number of estimated parameters in the auxiliary regression.

The logic of the test is as follows. First, the squared residuals from the original model serve as a proxy for the variance of the error term at each observation. (The error term is assumed to have a mean of zero, and the variance of a zero-mean random variable is just the expectation of its square.) The independent variables in the auxiliary regression account for the possibility that the error variance depends on the values of the original regressors in some way (linear or quadratic). If the error term in the original model is in fact homoskedastic (has a constant variance) then the coefficients in the auxiliary regression (besides the constant) should be statistically indistinguishable from zero and the $R^2$ should be “small". Conversely, a “large" $R^2$ (scaled by the sample size so that it follows the $\chi^2$ distribution) counts against the hypothesis of homoskedasticity.

An alternative to the White test is the Breusch–Pagan test. Under certain conditions and a modification of one of the tests, they can be found to be algebraically equivalent.

The text above is largely based on Wikipedia's article "White test"

Reference: White, Halbert. "A heteroskedasticity-consistent covariance matrix estimator and a direct test for heteroskedasticity." Econometrica: Journal of the Econometric Society (1980): 817-838.

16 questions
8
votes
2 answers

What does the notation like 8.6e-28 mean? What is the 'e' for?

I have a problem with the interpretation of a test result in which the p-value is 8.6e-28. How should it be interpreted? What is the e for? Specifically, I used White's Test for the homoscedasticity assumption of a linear regression: White's general…
Ljudmila Ivanova
  • 111
  • 1
  • 1
  • 4
6
votes
2 answers

Breusch–Pagan test for heteroscedasticity contradicts White's test?

Testing for heteroscedasticity I get these results: Breusch–Pagan / Cook–Weisberg test for heteroskedasticity $H_0$: Constant variance $H_a$: Heteroskedasticity Variables: fitted values of log_expdu chi2(1) = 21.41 Prob > chi2 = …
Rijak
  • 63
  • 1
  • 1
  • 4
6
votes
1 answer

White's test for heteroskedasticity in R

I am trying to estimate heteroskedasticity in R. I had Eviews available in my college's lab but not at home. I have been trying to use "het.test" package and whites.htest but the value that I get is different from what I get in Eviews. According to…
Faseeh
  • 63
  • 1
  • 1
  • 6
3
votes
2 answers

Is there a way to calculate R-squared in OLS without computing the coefficients?

The background of my question is that for e.g. the White heteroskedasticity test or the Breusch-Godfrey (LM) autocorrelation test, we are generally only interested in the R-squared of the "auxiliary" regression. However, the only way of computing…
Candamir
  • 970
  • 8
  • 27
3
votes
1 answer

White's test in R gives different result from manual calculation

To verify the function AER::bptest, I manually calculate the test statistic. The manual method and R function give the same result for the Breusch-Pagan test, but not for the White test. Am I using the bptest incorrectly, or is my manual calculation…
Heisenberg
  • 4,239
  • 3
  • 23
  • 54
2
votes
0 answers

White test for heteroscedasticity of simple linear regression in R

The question is straightforward: How to implement White test (a test for heteroscedasticity) for a simple linear regression model (lm object) in R? I have tried "whites.htest(var.model)", however, it requires an input of varest object. I learned…
Master Shi
  • 643
  • 6
  • 10
2
votes
1 answer

White noise test taking into account homoscedasticity

I try to test a time series for white noise. The ultimate goal is to show that scaling volatility from daily to longer time periods by the square-root of time rule is justified. Fore white noise I found the classical tests such as the Ljung-Box…
Richi W
  • 3,216
  • 3
  • 30
  • 53
2
votes
1 answer

White test with large model and few samples impossible?

I have a linear model with 12 regressors and sample size 42, which I want to test for heteroscedasticity. Hence, I applied a white test in the following way regress $y=X\beta + e$ regress residuals $\hat…
Jonasson
  • 525
  • 6
  • 11
1
vote
0 answers

Heteroskedasticity tests: heavy-tailedness of squared estimated errors

I have a time series model and obtain the following distribution of estimated errors: I suspect that the errors are heteroscedastic in the sense that their variance depends on the level of one or more of the independent variables. I also can't rule…
1
vote
0 answers

Dealing with Heteroskedasticity in Estimated Dependent Variable model

I work on my research in finance concerning pricing of green bonds and I am running a two stage model. Stage 1 regression is an unbalanced panel fixed effects estimation. For each of my 100 green bonds in the sample, I compare its daily ask yield…
1
vote
1 answer

How to use White-test to check if the heteroscedasticity has been effectively dealt with by a WLS?

Consider an OLS model with $n$ observations and $p$ explanatory variables (including an intercept term) $$y=X\beta + \epsilon$$ We may use a White test to (approximately) check for the presence of heteroscedasticity on an $\alpha$-significance…
0
votes
1 answer

Trying to use the white test in r

I am doing a regression on the influence on marketing spending. I have already tested for heteroskedasticity with the Breusch-Pagan Test and found that the test came out positive. Based on the template that I have from a book, one should now also…
0
votes
1 answer

White-Test: Use F-Statistic or LM-statistic?

to interpret the White-Test, it is recommended to use the LM-statistic = N*R-squared of the auxiliary regression which follows a Chi-squared distribution with df = number of restrictions. But I wondered why. Wouldn't it be just fine to use the…
Joe94
  • 55
  • 6
0
votes
0 answers

Is there heteroskedasticity or not?

I carried out White's test for a particular model to check for heteroskedasticity. I got the following results for White's test (details shown below). AS it can be seen the p-value (0.299) isn't that small so I interpreted it as not having to reject…
Kurapika
  • 23
  • 3
0
votes
0 answers

Robust standard errors (White) under homoscedasticity

Robust standard errors (White standard errors) are given by: $$\hat{V}(b)=(\sum_{i=1}^N x_ix_i')^{-1}(\sum_{i=1}^N e_i^2x_ix_i')(\sum_{i=1}^N x_ix_i')^{-1}$$ This helps us to estimate a asymptotic covariance matrix under heteroscedasticity. Now…
1
2