Automatic time series forecasting: the forecast package for R
Abstract
Automatic forecasts of large numbers of univariate time series are often needed in business and other contexts. We describe two automatic forecasting algorithms that have been implemented in the forecast package for R. The first is based on innovations state space models that underly exponential smoothing methods. The second is a step-wise algorithm for forecasting with ARIMA models. The algorithms are applicable to both seasonal and non-seasonal data, and are compared and illustrated using four real time series. We also briefly describe some of the other functionality available in the forecast package.Download Info
If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.Bibliographic Info
Paper provided by Monash University, Department of Econometrics and Business Statistics in its series Monash Econometrics and Business Statistics Working Papers with number 6/07.Length: 30 pages
Date of creation: Jun 2007
Date of revision:
Handle: RePEc:msh:ebswps:2007-6
Contact details of provider:
Postal: PO Box 11E, Monash University, Victoria 3800, Australia
Phone: +61-3-9905-2489
Fax: +61-3-9905-5474
Email:
Web page: http://www.buseco.monash.edu.au/depts/ebs/
More information through EDIRC
Order Information:
Email:
Web: http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/
Related research
Keywords: ARIMA models; automatic forecasting; exponential smoothing; prediction intervals; state space models; time series; R.;Other versions of this item:
- Rob J. Hyndman & Yeasmin Khandakar, . "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, American Statistical Association, vol. 27(i03).
- C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
- C22 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Time-Series Models; Dynamic Quantile Regressions; Dynamic Treatment Effect Models
- C52 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Model Evaluation, Validation, and Selection
This paper has been announced in the following NEP Reports:
- NEP-ALL-2007-06-23 (All new papers)
- NEP-ETS-2007-06-23 (Econometric Time Series)
- NEP-FOR-2007-06-23 (Forecasting)
References
References listed on IDEASPlease report citation or reference errors to , or , if you are the registered author of the cited work, log in to your RePEc Author Service profile, click on "citations" and make appropriate adjustments.:
- Makridakis, Spyros & Hibon, Michele, 2000. "The M3-Competition: results, conclusions and implications," International Journal of Forecasting, Elsevier, vol. 16(4), pages 451-476.
- Archibald, Blyth C., 1990. "Parameter space of the Holt-winters' model," International Journal of Forecasting, Elsevier, vol. 6(2), pages 199-209, July.
- Hylleberg, S. & Engle, R. F. & Granger, C. W. J. & Yoo, B. S., 1990.
"Seasonal integration and cointegration,"
Journal of Econometrics,
Elsevier, vol. 44(1-2), pages 215-238.
- Hylleberg, S. & Engle, R.F. & Granger, C.W.J. & Yoo, B.S., 1988. "Seasonal, Integration And Cointegration," Papers 6-88-2, Pennsylvania State - Department of Economics.
- Hyllerberg, S. & Engle, R.F. & Granger, C.W.J. & Yoo, B.S., 1988. "Seasonal Integration And Cointegration," Papers 0-88-2, Pennsylvania State - Department of Economics.
- Rob J. Hyndman & Yeasmin Khandakar, 2007.
"Automatic time series forecasting: the forecast package for R,"
Monash Econometrics and Business Statistics Working Papers
6/07, Monash University, Department of Econometrics and Business Statistics.
- Rob J. Hyndman & Yeasmin Khandakar, . "Automatic Time Series Forecasting: The forecast Package for R," Journal of Statistical Software, American Statistical Association, vol. 27(i03).
- Rob J. Hyndman & Andrey V. Kostenko, 2007. "Minimum Sample Size requirements for Seasonal Forecasting Models," Foresight: The International Journal of Applied Forecasting, International Institute of Forecasters, issue 6, pages 12-15, Spring.
- Hyndman, Rob J. & Billah, Baki, 2003.
"Unmasking the Theta method,"
International Journal of Forecasting,
Elsevier, vol. 19(2), pages 287-290.
- Hyndman, R.J. & Billah, B., 2001. "Unmasking the Theta Method," Monash Econometrics and Business Statistics Working Papers 5/01, Monash University, Department of Econometrics and Business Statistics.
- Kwiatkowski, Denis & Phillips, Peter C. B. & Schmidt, Peter & Shin, Yongcheol, 1992.
"Testing the null hypothesis of stationarity against the alternative of a unit root : How sure are we that economic time series have a unit root?,"
Journal of Econometrics,
Elsevier, vol. 54(1-3), pages 159-178.
- Kwiatkowski, D. & Phillips, P.C.B. & Schmidt, P., 1990. "Testing the Null Hypothesis of Stationarity Against the Alternative of Unit Root : How Sure are we that Economic Time Series have a Unit Root?," Papers 8905, Michigan State - Econometrics and Economic Theory.
- Denis Kwiatkowski & Peter C.B. Phillips & Peter Schmidt, 1991. "Testing the Null Hypothesis of Stationarity Against the Alternative of a Unit Root: How Sure Are We That Economic Time Series Have a Unit Root?," Cowles Foundation Discussion Papers 979, Cowles Foundation for Research in Economics, Yale University.
- Dickey, David A & Fuller, Wayne A, 1981. "Likelihood Ratio Statistics for Autoregressive Time Series with a Unit Root," Econometrica, Econometric Society, vol. 49(4), pages 1057-72, June.
- Hyndman, Rob J. & Koehler, Anne B. & Snyder, Ralph D. & Grose, Simone, 2002.
"A state space framework for automatic forecasting using exponential smoothing methods,"
International Journal of Forecasting,
Elsevier, vol. 18(3), pages 439-454.
- Hyndman, R.J. & Koehler, A.B. & Snyder, R.D. & Grose, S., 2000. "A State Space Framework for Automatic Forecasting Using Exponential Smoothing Methods," Monash Econometrics and Business Statistics Working Papers 9/00, Monash University, Department of Econometrics and Business Statistics.
- Rob Hyndman & Muhammad Akram & Blyth Archibald, 2008. "The admissible parameter space for exponential smoothing models," Annals of the Institute of Statistical Mathematics, Springer, vol. 60(2), pages 407-426, June.
- Taylor, James W., 2003. "Exponential smoothing with a damped multiplicative trend," International Journal of Forecasting, Elsevier, vol. 19(4), pages 715-725.
- Assimakopoulos, V. & Nikolopoulos, K., 2000. "The theta model: a decomposition approach to forecasting," International Journal of Forecasting, Elsevier, vol. 16(4), pages 521-530.
- Canova, Fabio & Hansen, Bruce E, 1995. "Are Seasonal Patterns Constant over Time? A Test for Seasonal Stability," Journal of Business & Economic Statistics, American Statistical Association, vol. 13(3), pages 237-52, July.
- Goodrich, Robert L., 2000. "The Forecast Pro methodology," International Journal of Forecasting, Elsevier, vol. 16(4), pages 533-535.
- Rob J. Hyndman & Lydia Shenstone, 2005.
"Stochastic models underlying Croston's method for intermittent demand forecasting,"
Journal of Forecasting,
John Wiley & Sons, Ltd., vol. 24(6), pages 389-402.
- Lydia Shenstone & Rob J. Hyndman, 2003. "Stochastic models underlying Croston's method for intermittent demand forecasting," Monash Econometrics and Business Statistics Working Papers 1/03, Monash University, Department of Econometrics and Business Statistics.
- Anne B. Koehler & Rob J. Hyndman & Ralph D. Snyder & J. Keith Ord, 2005. "Prediction intervals for exponential smoothing using two new classes of state space models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 24(1), pages 17-37.
- Rob J Hyndman & Maxwell L. King & Ivet Pitrun & Baki Billah, 2002. "Local Linear Forecasts Using Cubic Smoothing Splines," Monash Econometrics and Business Statistics Working Papers 10/02, Monash University, Department of Econometrics and Business Statistics.
- Hyndman, Rob J. & Koehler, Anne B., 2006.
"Another look at measures of forecast accuracy,"
International Journal of Forecasting,
Elsevier, vol. 22(4), pages 679-688.
- Rob J. Hyndman & Anne B. Koehler, 2005. "Another Look at Measures of Forecast Accuracy," Monash Econometrics and Business Statistics Working Papers 13/05, Monash University, Department of Econometrics and Business Statistics.
- Smith, Jeremy & Yadav, Sanjay, 1994. "Forecasting costs incurred from unit differencing fractionally integrated processes," International Journal of Forecasting, Elsevier, vol. 10(4), pages 507-514, December.
- Melard, G. & Pasteels, J. -M., 2000. "Automatic ARIMA modeling including interventions, using time series expert software," International Journal of Forecasting, Elsevier, vol. 16(4), pages 497-508.
- Reilly, David, 2000. "The AUTOBOX system," International Journal of Forecasting, Elsevier, vol. 16(4), pages 531-533.
- Hendry, David F, 1997. "The Econometrics of Macroeconomic Forecasting," Economic Journal, Royal Economic Society, vol. 107(444), pages 1330-57, September.
- Ord, J.K. & Koehler, A. & Snyder, R.D., 1995. "Estimation and Prediction for a Class of Dynamic Nonlinear Statistical Models," Monash Econometrics and Business Statistics Working Papers 4/95, Monash University, Department of Econometrics and Business Statistics.
- Chatfield, Chris & Yar, Mohammed, 1991. "Prediction intervals for multiplicative Holt-Winters," International Journal of Forecasting, Elsevier, vol. 7(1), pages 31-37, May.
Citations
Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.Cited by:
This item has more than 25 citations. To prevent cluttering this page, these citations are listed on a separate page.
Lists
This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.Statistics
Access and download statisticsCorrections
When requesting a correction, please mention this item's handle: RePEc:msh:ebswps:2007-6For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Simone Grose).
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
If references are entirely missing, you can add them using this form.
If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.
Please note that corrections may take a couple of weeks to filter through the various RePEc services.

