seasonality_periodogram: Periodogram Seasonality Test

View source: R/tests_seasonality.R

seasonality_periodogramR Documentation

Periodogram Seasonality Test

Description

Periodogram Seasonality Test

Usage

seasonality_periodogram(data, period = NA, nyears = 0)

Arguments

data

the input data.

period

Tested periodicity. Can be missing if the input is a time series

nyears

Number of periods or 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.

Value

A c("JD3_TEST", "JD3") object (see statisticaltest() for details).

Examples

s <- do_stationary(log(ABS$X0.2.09.10.M))$ddata
seasonality_periodogram(s)
seasonality_periodogram(random_t(2, 1000), 7)

palatej/rjd3toolkit documentation built on Oct. 30, 2024, 10:46 p.m.