View source: R/modifiedPegelsfcastC.R
modifiedPegelsfcastC | R Documentation |
This function, originally called pegelsfcast.C from the forecast package, implements the work in Forecasting: Principles and Practice by Rob J Hyndman and George Athanasopoulos (https://otexts.com/fpp2/)
modifiedPegelsfcastC(pdays, obj, nsim, level, bootstrap)
pdays |
How far in the future to forecast |
obj |
A mode object hard-coded to the Holt model |
nsim |
Number of simulations |
level |
Quantile of distribution. Not utilized but maintained for consistency |
bootstrap |
Whether to resample errors (TRUE) or use Gaussian errors (FALSE) |
A list with the following components:
mu is the mean path
lower is the lower quantile
upper is the upper quantile
y_paths is a matrix of paths
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.