Periodogram Seasonality Test
Usage
seasonality_periodogram(data, period, nyears = 0)
Arguments
- data
the input data.
- period
Tested periodicity.
- nyears
Number of number of periods number of cycles considered in the test, at the end of the series:
in periods (positive value) or years (negative values).
By default (nyears = 0
), the entire sample is used.
Details
Tests on the sum of a periodogram at seasonal frequencies.
Examples
seasonality_periodogram(ABS$X0.2.09.10.M, 12)
#> Value: 26.51848
#> P-Value: 0.0000
seasonality_periodogram(random_t(2, 1000), 7)
#> Value: 0.7603231
#> P-Value: 0.6013