trendOptim {RGAP}R Documentation

Find suitable trend specification

Description

Finds the most suitable trend model according to the BIC.

Usage

trendOptim(x, opt = c("RW1", "RW2", "DT"))

Arguments

x

A time series.

opt

A character vector with the trend models to be tested. The default is opt = c("RW1", "RW2", "DT").

Value

A character string with the chosen trend model.


[Package RGAP version 0.1.1 Index]