Skip to content

CarolynOlsen/r-forecastingUtilities

Repository files navigation

r-forecastingUtilities

R functions for improved time-series forecasting

forecastingTimeSeriesCrossValidation.R defines functions to implement time-series cross-validation (aka rolling forecast windows) for a given ARIMA specification and ETS specification. These ideas were outlined by Rob Hyndman (Monash University), creater of the forecast package in R. Since creation of this script, Rob Hyndman has added similar functionality to the forecast package, described here. However, the script defined here includes more granular plotting output of performance across rolling windows.

forecastingPlotErrorsHistogram.R defines a function to take a vector of forecast errors and plot a histogram of errors including a blue line representing a standard normal distribution for comparison.

About

R functions for time-series cross-validation and plotting

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages