Description Usage Arguments Details Author(s) See Also Examples
Create a forecast ensemble using the theif() model
1 2 3 4 5 6 7 | thiefModel(
y,
models = "aefnt",
h = 2 * frequency(y),
comb = c("struc", "mse", "ols", "bu", "shr", "sam"),
verbose = FALSE
)
|
y |
the input time series |
models |
the models to use. These are specified the same way as |
h |
the forecast horizon |
comb |
the combination method to use by |
verbose |
if |
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.
David Shaub
1 2 | series <- subset(woolyrnq, end = 8)
thiefModel(series, models = "fz")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.