rmultistep | R Documentation |
The function extracts 1 to h steps ahead forecast errors from the model.
rmultistep(object, h = 10, ...)
object |
Model estimated using one of the forecasting functions. |
h |
The forecasting horizon to use. |
... |
Currently nothing is accepted via ellipsis. |
The errors correspond to the error term epsilon_t in the ETS models. Don't forget that different models make different assumptions about epsilon_t and / or 1+epsilon_t.
The matrix with observations in rows and h steps ahead values in columns. So, the first row corresponds to the forecast produced from the 0th observation from 1 to h steps ahead.
Ivan Svetunkov, ivan@svetunkov.ru
residuals,
x <- rnorm(100,0,1)
ourModel <- adam(x)
rmultistep(ourModel, h=13)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.