VARMAXResults.test_heteroskedasticity(method, alternative='twosided', use_f=True)
Test for heteroskedasticity of standardized residuals
Tests whether the sumofsquares in the first third of the sample is significantly different than the sumofsquares in the last third of the sample. Analogous to a GoldfeldQuandt test. The null hypothesis is of no heteroskedasticity.
Parameters: 


Returns: 
output – An array with 
Return type: 
array 
The null hypothesis is of no heteroskedasticity. That means different things depending on which alternative is selected:
For \(h = [T/3]\), the test statistic is:
where \(d\) is the number of periods in which the loglikelihood was burned in the parent model (usually corresponding to diffuse initialization).
This statistic can be tested against an \(F(h,h)\) distribution. Alternatively, \(h H(h)\) is asymptotically distributed according to \(\chi_h^2\); this second test can be applied by passing asymptotic=True
as an argument.
See section 5.4 of [1] for the above formula and discussion, as well as additional details.
TODO
[1]  Harvey, Andrew C. 1990. Forecasting, Structural Time Series Models and the Kalman Filter. Cambridge University Press. 
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tsa.statespace.varmax.VARMAXResults.test_heteroskedasticity.html