Description Usage Arguments Details Value Examples
create_interval_borders
creates lower or upper interval borders from future MCMC draws
1 2 | create_interval_borders(y_future, level = c(80, 95), type = c("lower",
"upper"))
|
y_future |
data frame with n_draws rows. Each column represent future MCMC draws for specific variable for specific forecast horizon. |
level |
vector of confidence levels |
type |
lower or upper for left and right borders of intervals |
Just finds the appropriate quantile of future draws.
matrix of interval borders. One column corresponds for one confidence level.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.