statsmodels.tsa.stattools.ClarkWestResult#
- class statsmodels.tsa.stattools.ClarkWestResult(statistic, pvalue, lags, kernel, mspe_restricted, mspe_unrestricted, adjustment)[source]#
Result of
clark_west_test.Added in version 0.15.1.
- Parameters:
- statistic
float The Clark-West test statistic, approximately standard normal under the null of equal predictive accuracy.
- pvalue
float The one-sided p-value against the alternative that the unrestricted model is more accurate, from the standard normal distribution.
- lags
int The number of lags used in the HAC estimator of the long-run variance of the adjusted loss differential.
- kernel
str The kernel of the HAC estimator, “bartlett” or “uniform”.
- mspe_restricted
float The mean squared prediction error of
forecast_restricted.- mspe_unrestricted
float The mean squared prediction error of
forecast_unrestricted.- adjustment
float The mean squared difference between the two forecasts. The mean of the adjusted loss differential is
mspe_restricted - (mspe_unrestricted - adjustment).
- statistic
Notes
Unpacks as
statistic, pvalue = result. The other fields are only available through attribute access.Methods
Properties