trendOptim: Find suitable trend specification

View source: R/model_selection.R

trendOptimR 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.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.