WhiteTest | R Documentation |
This is shown in SAS PROC REG as the Test of First and Second Moment Specification.
WhiteTest(rx)
rx |
a result of lm |
This is also called as White's general test for heteroskedasticity.
Returns a direct test result by more coomplex theorem 2 , not by simpler corollary 1.
Kyun-Seop Bae k@acr.kr
White H. A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity. Econometrica 1980;48(4):817-838.
WhiteTest(lm(mpg ~ disp, mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.