Abstract
Time series forecasting is a field of interest in many areas. Classically, statistical methods have been used to address this problem. In recent years, machine learning (ML) algorithms have been also applied with satisfactory results. However, ML software packages are not skilled to deal with raw sequences of temporal data, and therefore, it is necessary to transform these time series. This paper presents predtoolsTS, an R package that provides a uniform interface for applying both statistical and ML methods to time series forecasting. predtoolsTS comprises four modules: preprocessing, modeling, prediction and postprocessing, in order to deal with the whole process of time series forecasting.
Similar content being viewed by others
Notes
The predtoolsTS package also relies on basic R functions and regression models in the caret package to accomplish its work.
Standard R methods, such as summary() and plot(), can be used with this object class.
References
Barboza, F., Kimura, H., Altman, E.: Machine learning models and bankruptcy prediction. Expert Syst. Appl. 83, 405–417 (2017)
Bollerslev, T.: Generalized autoregressive conditional heteroskedasticity. J. Econom. 31(3), 307–327 (1986)
Box, G.E.P., Jenkins, G.M., Reinsel, G.C.: Time Series Analysis: Forecasting and Control, 4th edn. Wiley, Hoboken (2008)
Brockwell, P.J., Davis, R.A., Calder, M.V.: Introduction to Time Series and Forecasting, vol. 2. Springer, Berlin (2002)
Das, S.: Time Series Analysis. Princeton University Press, Princeton (1994)
De Gooijer, J.G., Hyndman, R.J.: 25 years of time series forecasting. Int. J. Forecast. 22(3), 443–473 (2006)
Deb, C., Zhang, F., Yang, J., Lee, S.E., Shah, K.W.: A review on time series forecasting techniques for building energy consumption. Renew. Sustain. Energy Rev. 74, 902–924 (2017)
Doukhan, P.: Stochastic Models for Time Series, vol. 80. Springer, Berlin (2018)
Fiorucci, J.A., Louzada, F., Yiqi, B., Fiorucci, M.J.A.: Package ‘forectheta’ (2016)
Hyndman, R.J., Khandakar, Y.: Automatic time series forecasting: the forecast package for R. J. Stat. Softw. 26(3), 1–22 (2008)
Kourentzes, N., Petropoulos, F., Trapero, J.R.: Improving forecasting by estimating time series structural components across multiple frequencies. Int. J. Forecast. 30(2), 593 (2014)
Kuhn, M., et al.: Building predictive models in r using the caret package. J. Stat. Softw. 28(5), 1–26 (2008)
McLeod, A.I., Zhang, Y.: Faster arma maximum likelihood estimation. Comput. Stat. Data Anal. 52(4), 2166–2176 (2007)
McLeod, A.I., Yu, H., Mahdi, E.: Time series analysis with r. In: Subba Rao, T., Subba Rao, S., Rao, C.R. (eds.) Handbook of Statistics, vol. 30, pp. 661–712. Elsevier, Amsterdam (2012)
Naing, W.Y.N., Htike, Z.Z.: State of the art machine learning techniques for time series forecasting: a survey. Adv. Sci. Lett. 21(11), 3574–3576 (2015)
Ryan, J.A., Ulrich, J.M.: xts: Extensible Time Series. R package version 0.8-2 (2011)
Tashman, L.J.: Out-of-sample tests of forecasting accuracy: an analysis and review. Int. J. Forecast. 16(4), 437–450 (2000)
Trapletti, A., Hornik, K.: tseries: Time Series Analysis and Computational Finance (2018). R package version 0.10-46
Weiss, C.E., Raviv, E., Roetzer, G.: Forecast combinations in r using the forecastcomb package. R J. 10(2), 262–281 (2018)
Zecchin, C., Facchinetti, A., Sparacino, G., Cobelli, C.: Jump neural network for online short-time prediction of blood glucose from continuous monitoring sensors and meal information. Comput. Methods Progr. Biomed. 113(1), 144–152 (2014)
Zeileis, A., Grothendieck, G.: Zoo: S3 infrastructure for regular and irregular time series. J. Stat. Softw. 14(6), 1–27 (2005)
Acknowledgements
This work was partially supported by the project TIN2015-68854-R (FEDER Founds) of the Spanish Ministry of Economy and Competitiveness.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Charte, F., Vico, A., Pérez-Godoy, M.D. et al. predtoolsTS: R package for streamlining time series forecasting. Prog Artif Intell 8, 505–510 (2019). https://doi.org/10.1007/s13748-019-00193-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13748-019-00193-z