Identification of seasonal peaks in periodogram
Periodogram
The periodogram of is defined as the squared of the Fourier transform
where the Fourier frequencies are given by multiples of the fundamental frequency :
An orthonormal basis in :
where is excluded if is odd,
can be used to project the data and obtain the spectral decomposition
Thus, the periodogram is given by the projection coefficients and represents the contribution of the jth harmonic to the total sum of squares, as illustrated by Brockwell and Davis (1991):
Source | Degrees of freedom | Sum of squares decomposition |
---|---|---|
Frequency | 1 | |
Frequency | 2 | |
Frequency | 2 | |
Frequency | 1 | |
(excluded if is odd) | ||
Total | n |
In JDemetra+, the periodogram of is computed for the standardized time series.
Defining a F-test
Brockwell and Davis (1991, section 10.2) exploit the fact that the periodogram can be expressed as the projection on the orthonormal basis defined above to derive a test. Thus, under the null hypothesis:
- , for Fourier frequencies
- , for
Because is independent from the projection error sum of squares, we can define our F-test statistic as follows:
- , for Fourier frequencies
- , for
where
- for Fourier frequencies
- for
Thus, we reject the null if our F-test statistic computed at a given seasonal frequency (different from ) is larger than . If we consider , our test statistic follows a distribution.
Seasonality test
The implementation of JDemetra+ considers simultaneously the whole set of seasonal frequencies (1, 2, 3, 4, 5 and 6 cycles per year). Thus, the resulting test-statistic is:
where if is even and 0 otherwise.
In small samples, the test performs better when the periodogram is evaluated as the exact seasonal frequencies. JDemetra+ modifies the sample size to ensure the seasonal frequencies belong to the set of Fourier frequencies. This strategy provides a very simple and effective way to eliminate the leakage problem.
Example of how results are displayed:
References
Brockwell, P.J., and R.A. Davis (1991). Times Series: Theory and Methods. Springer Series in Statistics.