Portmanteau test
Portmanteau tests are statistical tests that can be used to test several autocorrelation coefficients to determine whether they are significantly different from zero. This is especially important when checking the autocorrelation of the residuals as part of the diagnostic phase of a time series analysis .
Portmanteau tests are purely significance tests. You are not testing against a clearly formulated counter-hypothesis .
The test statistic is called the Q statistic .
Box / Pierce
The original version of the test is from Box / Pierce (1970).
The hypotheses for this test are:
- and
- applies to at least one l .
It is the (empirical) of the auto-correlation series to lag (the time shift) and the number of test autocorrelations.
The test statistic is here
where is the scope of the data set.
This test variable is distributed with degrees of freedom under the null hypothesis χ 2 ; can therefore be discarded if
Choosing a suitable value for is problematic. If it is too low, the asymptotics of the approximation does not apply. Even too big will have undesirable effects. The following rule of thumb can be used to determine:
Ljung / Box
Since the Box-Pierce test only works satisfactorily for long time series with more than 100 time series values, a modified test statistic is used by Ljung / Box (1978). Here, T through T (T + 2) / (TK) replaced. The test statistic results:
literature
- Box, GEP ; Pierce, DA : Distribution of Residual Correlations in Autoregressive-Integrated Moving Average Time Series Models; Journal of the American Statistical Association , Vol. 65, 1509-1526, 1970, doi : 10.1080 / 01621459.1970.10481180 , JSTOR 2284333 .
- Ljung, GM ; Box, GEP: On a Measure of Lack of Fit in Time Series Models; Biometrika 65, No. 2, 297-303, 1978, doi : 10.1093 / biomet / 65.2.297 .