More tests for heteroskedasticityA SHAZAM user may be interested in a test for heteroskedasticity that SHAZAM does not automatically compute. It may be possible to program the test with SHAZAM commands. For example, the Park test is described in Gujarati [1995, p.369]. This test proposes that the error variance is a function of one explanatory variable, say X. Following OLS estimation the OLS estimated residuals are used in the auxiliary regression: log(êt2) = 0 + 1 log(Xt) + vt The test statistic is the t-ratio on the parameter estimate for 1. If the t-ratio shows that the estimated parameter is significantly different from zero then there is evidence for heteroskedasticity. Since this is an approximate test it is appropriate to consider that the test statistic has an asymptotic normal distribution so that at a 5% significance level the critical value is 1.96. The Park test is demonstrated with the next SHAZAM commands.
The example considers that heteroskedasticity is a function of the variable
Note that the regressor in the auxiliary regression is generated with the command:
That is the variable is squared before taking logarithms. This
ensures that there will be no problem with negative values of
The auxiliary regression has a ? prefix to the
[SHAZAM Guide home] |