QuarterModelPicker: Function to choose optimal forecast model for quarterly data

Description Usage Arguments Value Examples

View source: R/QuarterModelPicker.R

Description

Function to choose optimal forecast model for quarterly data

Usage

1
QuarterModelPicker(data, Outcome, DateVar, H.Horizon = 12)

Arguments

data

A quarterly tsibble.

Outcome

A valid variable name for the Outcome to be modelled in in 'data'.

DateVar

A valid variable name for the time index in 'data'.

H.Horizon

An integer for the forecast horizon/test subset of 'data'.

Value

A list containing:

Examples

1
2
data(NWSQ)
QuarterModelPicker(NWSQ, Outcome=log(TX), DateVar=Quarter, H.Horizon=12)

robertwwalker/AutoForecaster documentation built on Dec. 22, 2021, 5:13 p.m.