Learn R Programming

RGAP (version 0.1.1)

cycleOptim: Find suitable cycle specification

Description

Finds the most suitable cycle model according to the BIC.

Usage

cycleOptim(x, opt = c("AR1", "AR2", "RAR2"))

Value

A character string with the chosen cycle model.

Arguments

x

A time series.

opt

A character vector with the cycle models to be tested. The default is opt = c("AR1", "AR2", "RAR2").