Learn R Programming

forecastHybrid (version 4.2.17)

thiefModel: Forecast ensemble using THieF

Description

Create a forecast ensemble using the theif() model

Usage

thiefModel(y, models = "aefnt", h = 2 * frequency(y),
  verbose = FALSE)

Arguments

y

the input time series

models

the models to use. These are specified the same way as hybridModel

h

the forecast horizon

verbose

if TRUE, report the fitting status

Details

Use the "thief" package method for reconciling forecasts across the temporal hierarchy. The base models to be included in the ensemble are the same as those in hybridModel, but the stlm model cannot be included since it requires seasonal data.

See Also

thief

hybridModel

Examples

Run this code
# NOT RUN {
shortTs <- subset(woolyrnq, end = 8)
thiefModel(shortTs, models = "ef")
# }

Run the code above in your browser using DataLab