seasonality_test: Seasonality Test

Description Usage Arguments Value

View source: R/seasonality_test.R

Description

Used to determine whether a time series is seasonal. Code modified from the M4 Competition's original code.

Usage

1
seasonality_test(ts.data, ts.frequency, alpha.level = 0.05)

Arguments

ts.data

A ts object (i.e., a vector of time series observations).

ts.frequency

The frequency of a ts object.

alpha.level

The alpha level to be used in the test to detect seasonality. Default is 0.05.

Value

A boolean indicating whether or not the ts object has seasonality.


gu-stat/gears documentation built on Oct. 20, 2021, 2:53 a.m.