tsc.setting: Specification of time series components

View source: R/tsc.setting.R

tsc.settingR Documentation

Specification of time series components

Description

Specify three time series components for the MBSTS model: the generalized linear trend component, the seasonal component, and the cycle component.

Usage

tsc.setting(Ytrain, mu, rho, S, vrho, lambda)

Arguments

Ytrain

The multivariate time series to be modeled.

mu

A vector of logic values indicating whether to include a local trend for each target series.

rho

A vector of numerical values taking values in [0,1], describing the learning rates at which the local trend is updated for each target series. The value 0 in the j-th entry indicates that the j-th target series does not include slope of trend.

S

A vector of integer values representing the number of seasons to be modeled for each target series. The value 0 in the j-th entry indicates that the j-th target series does not include the seasonal component.

vrho

A vector of numerical values taking values in [0,1], describing a damping factor for each target series. The value 0 in the j-th entry indicates that the j-th target series does not include the cycle component.

lambda

A vector of numerical values, whose entries equal to 2π/q with q being a period such that 0<λ<π, describing the frequency.

Value

An object of the SSModel class.

Author(s)

Jinwen Qiu qjwsnow_ctw@hotmail.com Ning Ning patricianing@gmail.com

References

\Qiu

2018

\Ning

2021

\Jammalamadaka

2019


mbsts documentation built on Jan. 7, 2023, 9:07 a.m.