|
(a) | The sample mean
|
||
(b) | The sample variance (for )
|
||
(c) | The sample autocorrelation coefficients of lags , where is a user-specified maximum lag, and , .
The coefficient of lag is defined as
|
||
(d) | A test statistic defined as
If is large and is much smaller than , STAT has a distribution under the hypothesis of a zero autocorrelation function. Values of STAT in the upper tail of the distribution provide evidence against the hypothesis; G01ECF can be used to compute the tail probability.
Section 8.2.2 of Box and Jenkins (1976) provides further details of the use of STAT. |
On entry, | , |
or | , |
or | . |