Convenient Functions for Ensemble Time Series Forecasts

Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. Forecasts generated from auto.arima(), ets(), thetam(), nnetar(), stlm(), and tbats() can be combined with equal weights, weights based on in-sample errors, or CV weights. Cross validation for time series data and user-supplied models and forecasting functions is also supported to evaluate model accuracy.


News

Version 0.3.0 [2016-12-18]

  • Prediction intervals are now created for nnetar objects in the ensemble. This should address one aspect of incorrect prediction intervals (e.g. issue #37).
  • theta models can be added (by including "f" in the models = argument for hybridModel()) and are indeed part of the default - so by default, hybridModel() will now fit six models
  • accuracy.cvts() is now exported
  • plot.hybridModel() now supports ggplot2 graphics when the argument ggplot = TRUE is passed.
  • Time series must be at least four observations long
  • Fixed an error where e.args was passed to tbats instead of t.args

Version 0.2.0 [2016-09-23]

  • Add timeseries cross validation with cvts()
  • Add support for weights = "cv.errors" in hybridModel()
  • Fix model weights when weights = "insample.errors" and one or more component models perfectly fit the time series
  • Fixed erroneous warning message when xreg is included in n.args but a nnetar model is not included in the model list
  • Clean up titles in plot.hybridModel()
  • Enable passing ... arguments to plot() from plot.hybridModel()
  • Round weights in print.hybridModel() to three digits for cleaner display
  • Add verbose argument and enable by default in hybridModel() to display fitting/cross validation progress

Version 0.1.7 [2016-06-04]

  • Build vignette with knitr rmarkdown engine
  • Build vignette with travis

Version 0.1.6 [2016-05-31]

  • Fix broken S3 generic accuracy() and hybridModel.accuracy()
  • Add vignette
  • Add NEWS
  • Remove "fpp" from dependencies
  • Fix warning for unimplemented parameter weights = "cv.errors"
  • Fix error with nnetar and stlm models when 2 * frequency(y) >= length(y)
  • Documentation improvements MORE TODO
  • Migrate unit tests away from deprecated not() function from "testthat" package
  • Add additional unit tests for bugfixes (accuracy fix, nnetar/stlm 2 * frequency(y) >= length(y), weights = "cv.errors")

Version 0.1.5 [2016-04-16]

  • First CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("forecastHybrid")

0.4.1 by David Shaub, 5 days ago


https://github.com/ellisp/forecastHybrid


Report a bug at https://github.com/ellisp/forecastHybrid/issues


Browse source code at https://github.com/cran/forecastHybrid


Authors: David Shaub [aut, cre], Peter Ellis [aut]


Documentation:   PDF Manual  


Task views: Time Series Analysis


GPL-3 license


Imports reshape2, zoo

Depends on ggplot2, forecast

Suggests knitr, rmarkdown, testthat


Imported by mafs.


See at CRAN