dstsCV: Double seasonal exponential time series cross validation

Description Usage Arguments

View source: R/dstsCV.R

Description

The cross-validation procedure based on a rolling forecasting.

Usage

1
2
3
4
5
6
7
8
dstsCV(
  train.y,
  valid.y,
  s1 = 7,
  s2 = 7 * 52,
  kfold = 4,
  par = list(alpha, beta, gamma, omega, phi)
)

Arguments

train.y

A numeric vector for training.

valid.y

A numeric vector for testing.

s1

Period of the shorter seasonal period.

s2

Period of the longer seasonal period.

kfold

The number of subsets by spliting valid.y

par

The list of parameters for Double seasonal exponential time series model


placeboo/amplify documentation built on Oct. 6, 2020, 9:04 a.m.