Description Usage Arguments Value Examples
View source: R/DayWModelPicker.R
Function to choose optimal daily seasonal forecast model
1 | DayWModelPicker(data, Outcome, DateVar, H.Horizon = 14)
|
data |
A daily 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'. |
A list containing:
Accuracy.Table: accuracy for the forecast horizon against the test sample.
test: the test set
train: the training set
Model.Fits: the model fits
Model.Forecasts: the forecasts
Min.Model: the minimum model by MAE
Min.Report: the minimum model report
Min.Res.Plot NW: the gg_tsdisplay for the minimum model
1 2 | data(SNWSDPDX)
DayWModelPicker(SNWSDPDX, TX, date, H.Horizon=14)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.