Description Usage Arguments Details Value See Also Examples
Compute the root-mean-squared forecast error (RMSE) or mean absolute forecast error (MAE) of direct forecast OLS method for forecasting.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
df |
A data frame. The first column of the data frame
must be the base variable for constructing the
dependent variable, the multiperiod ahead
value to be forecasted, x_{t + h}. If |
lags |
An integer vector defining the lags of the
regressors. If |
.H |
An integer representing the maximum horizon step. |
.K |
An integer, the number of pseudo-out-of-sample forecasts. |
ic |
Information criterion, |
.var |
A string to determine how the model will be
specificated: |
.diff |
Logical |
dev |
A string, |
wav |
Logical. If |
xreg |
Data frame. Exogeunous variable not subjected
to be lagged. The number of rows must be the same as in |
... |
Further arguments passed to |
See wavdrcast-package
and
model
.
A double vector with forecasts error (RMSE or MAE) from
1 to .H
step-ahead.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.