model_fcast | R Documentation |
model_fcast
is a function for forecasting h
step ahead from a model selected by
the function model_best
.
model_fcast(best_model)
best_model |
A model generated by the function |
A prediction value for the horizon h
considered in the
function model_best
.
model_best
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.