error_wave_summary | R Documentation |
This function calculates the average forecast errors over forecasting horizons.
Those errors are estimated by the function model_error_wave
.
error_wave_summary(h, ...)
h |
A positive integer that controls which maximum horizon is being used in forecasting ( |
... |
Additional parameters to pass to the function
|
A tibble with the average forecast errors for all horizon h
considered and
for all wavelet models estimated.
model_error_wave
wthr_wd <- list(
filter.number = 2:4,
type = c("wavelet", "station")
)
wthr_thr <- list(
type = c("soft", "hard"),
policy = c(
"universal",
"BayesThresh"
)
)
wthr_args <- wav_args_wthr(wthr_wd, wthr_thr, 3:5)
pq <- lags(2, 1)
inf_head <- coreinf_br[["ipca"]]
error_wave_summary(2, x = wthr_args, y = inf_head, lags = pq, k = 3, RMSE = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.