model_fcast: Forecast from the Best Model

model_fcastR Documentation

Forecast from the Best Model

Description

model_fcast is a function for forecasting h step ahead from a model selected by the function model_best.

Usage

model_fcast(best_model)

Arguments

best_model

A model generated by the function model_best.

Value

A prediction value for the horizon h considered in the function model_best.

See Also

model_best

Examples

inf_head <- coreinf_br[["ipca"]]
inf_corems <- coreinf_br[["ipcams"]]
pq <- lags(2, 1)
model1 <- model_est(inf_head, inf_corems, 2, pq)
best <- model_best(model1)
model_fcast(best)

nelson16silva/wavcoreinf documentation built on Feb. 17, 2025, 7:10 p.m.