PERIODTEST procedure
Gives periodogram-based tests for white noise in time series (R.P. Littlejohn).
Option
Parameters
Description
PERIODTEST gives periodogram-based tests for departure from white noise in a set of time series. The series are supplied in a list of variates, using the SERIES parameter. The LENGTH option can specify that only part of each series is to be used, using either a scalar N to indicate that the first N values are to be used, or a variate of length two, holding the values of the first and last units of the required subseries. This may be used to eliminate missing values, which are otherwise not permitted.
The mean-adjusted periodogram is calculated for each series using FOURIER, and can be saved using the PERIODOGRAM parameter. The maximum periodogram ordinate test, Fisher's g-test and the Kolmogorov-Smirnov test on the cumulative periodogram are calculated using the standard formulae (Priestley 1981).
The output for each series consists of the value of the maximum periodogram ordinate (after scaling by the length of the analysed series), the frequency at which this maximum occurs (expressed as the unit number in the PERIODOGRAM variate, i.e. if the maximum occurs at ϖ = 2πj/N, then j is given), and the probability of exceeding this maximum; the ratio of the maximum to the total of the periodogram ordinates (Fisher's g), and the probability of exceeding this; and the Kolmogorov-Smirnov D statistic based on the maximum deviation of the cumulative periodogram from the line y=x.
Option: LENGTH. Parameters: SERIES, PERIODOGRAM.
Method
The series are mean-corrected, but not trend corrected, before transformation.
Action with
RESTRICT
The SERIES may not be restricted; restriction of the input series to a contiguous set of units may be achieved by use of the LENGTH parameter.
Reference
Priestley, M.B. (1981). Spectral Analysis and Time Series. Academic Press, London.