IDEAS home Printed from https://ideas.repec.org/a/gam/jstats/v5y2022i4p68-1158d974756.html
   My bibliography  Save this article

A New Predictive Algorithm for Time Series Forecasting Based on Machine Learning Techniques: Evidence for Decision Making in Agriculture and Tourism Sectors

Author

Listed:
  • Juan D. Borrero

    (Agricultural Economics Research Group, Department of Management and Marketing, University of Huelva, Pza. de la Merced s/n, 21002 Huelva, Spain)

  • Jesús Mariscal

    (Agricultural Economics Research Group, Department of Management and Marketing, University of Huelva, Pza. de la Merced s/n, 21002 Huelva, Spain)

  • Alfonso Vargas-Sánchez

    (Department of Management and Marketing, University of Huelva, Pza. de la Merced s/n, 21002 Huelva, Spain)

Abstract

Accurate time series prediction techniques are becoming fundamental to modern decision support systems. As massive data processing develops in its practicality, machine learning (ML) techniques applied to time series can automate and improve prediction models. The radical novelty of this paper is the development of a hybrid model that combines a new approach to the classical Kalman filter with machine learning techniques, i.e., support vector regression (SVR) and nonlinear autoregressive (NAR) neural networks, to improve the performance of existing predictive models. The proposed hybrid model uses, on the one hand, an improved Kalman filter method that eliminates the convergence problems of time series data with large error variance and, on the other hand, an ML algorithm as a correction factor to predict the model error. The results reveal that our hybrid models obtain accurate predictions, substantially reducing the root mean square and absolute mean errors compared to the classical and alternative Kalman filter models and achieving a goodness of fit greater than 0.95. Furthermore, the generalization of this algorithm was confirmed by its validation in two different scenarios.

Suggested Citation

  • Juan D. Borrero & Jesús Mariscal & Alfonso Vargas-Sánchez, 2022. "A New Predictive Algorithm for Time Series Forecasting Based on Machine Learning Techniques: Evidence for Decision Making in Agriculture and Tourism Sectors," Stats, MDPI, vol. 5(4), pages 1-14, November.
  • Handle: RePEc:gam:jstats:v:5:y:2022:i:4:p:68-1158:d:974756
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2571-905X/5/4/68/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2571-905X/5/4/68/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jian Wang & Haiping Si & Zhao Gao & Lei Shi, 2022. "Winter Wheat Yield Prediction Using an LSTM Model from MODIS LAI Products," Agriculture, MDPI, vol. 12(10), pages 1-13, October.
    2. Paulo Canas Rodrigues & Olushina Olawale Awe & Jonatha Sousa Pimentel & Rahim Mahmoudvand, 2020. "Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks," Stats, MDPI, vol. 3(2), pages 1-21, June.
    3. Jose Antonio Cava Jimenez & Mª Genoveva Millán Vázquez de la Torre & Mª Genoveva Dancausa Millán, 2022. "Enotourism in Southern Spain: The Montilla-Moriles PDO," IJERPH, MDPI, vol. 19(6), pages 1-21, March.
    4. Juan D. Borrero & Jesus Mariscal, 2022. "Predicting Time SeriesUsing an Automatic New Algorithm of the Kalman Filter," Mathematics, MDPI, vol. 10(16), pages 1-13, August.
    5. Sergej Gricar & Stefan Bojnec & Tea Baldigara, 2022. "Insight into Predicted Shocks in Tourism: Review of an Ex-Ante Forecasting," JRFM, MDPI, vol. 15(10), pages 1-17, September.
    6. Hess, Alexander & Spinler, Stefan & Winkenbach, Matthias, 2021. "Real-time demand forecasting for an urban delivery platform," Transportation Research Part E: Logistics and Transportation Review, Elsevier, vol. 145(C).
    7. Andrea Bucci, 2020. "Cholesky–ANN models for predicting multivariate realized volatility," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(6), pages 865-876, September.
    8. Dhiman, Harsh S. & Deb, Dipankar & Guerrero, Josep M., 2019. "Hybrid machine intelligent SVR variants for wind forecasting and ramp events," Renewable and Sustainable Energy Reviews, Elsevier, vol. 108(C), pages 369-379.
    9. Ballı, Serkan, 2021. "Data analysis of Covid-19 pandemic and short-term cumulative case forecasting using machine learning time series methods," Chaos, Solitons & Fractals, Elsevier, vol. 142(C).
    10. Emerson Rodolfo Abraham & João Gilberto Mendes dos Reis & Oduvaldo Vendrametto & Pedro Luiz de Oliveira Costa Neto & Rodrigo Carlo Toloi & Aguinaldo Eduardo de Souza & Marcos de Oliveira Morais, 2020. "Time Series Prediction with Artificial Neural Networks: An Analysis Using Brazilian Soybean Production," Agriculture, MDPI, vol. 10(10), pages 1-18, October.
    11. Harvey,Andrew C., 1991. "Forecasting, Structural Time Series Models and the Kalman Filter," Cambridge Books, Cambridge University Press, number 9780521405737.
    12. Hugo Storm & Kathy Baylis & Thomas Heckelei, 2020. "Machine learning in agricultural and applied economics," European Review of Agricultural Economics, Oxford University Press and the European Agricultural and Applied Economics Publications Foundation, vol. 47(3), pages 849-892.
    13. Li, Dan & Jiang, Fuxin & Chen, Min & Qian, Tao, 2022. "Multi-step-ahead wind speed forecasting based on a hybrid decomposition method and temporal convolutional networks," Energy, Elsevier, vol. 238(PC).
    14. Okutani, Iwao & Stephanedes, Yorgos J., 1984. "Dynamic prediction of traffic volume through Kalman filtering theory," Transportation Research Part B: Methodological, Elsevier, vol. 18(1), pages 1-11, February.
    15. Ewald, Christian & Zou, Yihan, 2021. "Analytic formulas for futures and options for a linear quadratic jump diffusion model with seasonal stochastic volatility and convenience yield: Do fish jump?," European Journal of Operational Research, Elsevier, vol. 294(2), pages 801-815.
    16. Jeffrey Grogger, 2017. "Soda Taxes And The Prices of Sodas And Other Drinks: Evidence From Mexico," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 99(2), pages 481-498.
    17. Vladimir J. Alarcon, 2021. "Hindcasting and Forecasting Total Suspended Sediment Concentrations Using a NARX Neural Network," Sustainability, MDPI, vol. 13(1), pages 1-18, January.
    18. Sergej Gričar & Štefan Bojnec, 2022. "Did Human Microbes Affect Tourist Arrivals before the COVID-19 Shock? Pre-Effect Forecasting Model for Slovenia," IJERPH, MDPI, vol. 19(20), pages 1-15, October.
    19. Makridakis, Spyros & Spiliotis, Evangelos & Assimakopoulos, Vassilios, 2020. "The M4 Competition: 100,000 time series and 61 forecasting methods," International Journal of Forecasting, Elsevier, vol. 36(1), pages 54-74.
    20. Harvey, Andrew & Snyder, Ralph D., 1990. "Structural time series models in inventory control," International Journal of Forecasting, Elsevier, vol. 6(2), pages 187-198, July.
    21. Yeong Hyeon Gu & Dong Jin & Helin Yin & Ri Zheng & Xianghua Piao & Seong Joon Yoo, 2022. "Forecasting Agricultural Commodity Prices Using Dual Input Attention LSTM," Agriculture, MDPI, vol. 12(2), pages 1-18, February.
    22. Qingwen Ma & Sihan Liu & Xinyu Fan & Chen Chai & Yangyang Wang & Ke Yang, 2020. "A Time Series Prediction Model of Foundation Pit Deformation Based on Empirical Wavelet Transform and NARX Network," Mathematics, MDPI, vol. 8(9), pages 1-14, September.
    23. Chen, Wei & Xu, Huilin & Jia, Lifen & Gao, Ying, 2021. "Machine learning model for Bitcoin exchange rate prediction using economic and technology determinants," International Journal of Forecasting, Elsevier, vol. 37(1), pages 28-43.
    24. Song, Haiyan & Qiu, Richard T.R. & Park, Jinah, 2019. "A review of research on tourism demand forecasting," Annals of Tourism Research, Elsevier, vol. 75(C), pages 338-362.
    25. Anca-Gabriela Turtureanu & Rodica Pripoaie & Carmen-Mihaela Cretu & Carmen-Gabriela Sirbu & Emanuel Ştefan Marinescu & Laurentiu-Gabriel Talaghir & Florentina Chițu, 2022. "A Projection Approach of Tourist Circulation under Conditions of Uncertainty," Sustainability, MDPI, vol. 14(4), pages 1-21, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Juan D. Borrero & Jesus Mariscal, 2022. "Predicting Time SeriesUsing an Automatic New Algorithm of the Kalman Filter," Mathematics, MDPI, vol. 10(16), pages 1-13, August.
    2. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    3. Antony Andrews & Sean Kimpton, 2023. "Econometric Forecasting of Tourist Arrivals Using Bayesian Structural Time‐Series," Economic Papers, The Economic Society of Australia, vol. 42(2), pages 200-211, June.
    4. Avanzi, Benjamin & Taylor, Greg & Vu, Phuong Anh & Wong, Bernard, 2020. "A multivariate evolutionary generalised linear model framework with adaptive estimation for claims reserving," Insurance: Mathematics and Economics, Elsevier, vol. 93(C), pages 50-71.
    5. Yuo-Hsien Shiau & Su-Fen Yang & Rishan Adha & Syamsiyatul Muzayyanah, 2022. "Modeling Industrial Energy Demand in Relation to Subsector Manufacturing Output and Climate Change: Artificial Neural Network Insights," Sustainability, MDPI, vol. 14(5), pages 1-18, March.
    6. Ying Shu & Chengfu Ding & Lingbing Tao & Chentao Hu & Zhixin Tie, 2023. "Air Pollution Prediction Based on Discrete Wavelets and Deep Learning," Sustainability, MDPI, vol. 15(9), pages 1-19, April.
    7. S. Sriram & Pradeep K. Chintagunta & Ramya Neelamegham, 2006. "Effects of Brand Preference, Product Attributes, and Marketing Mix Variables in Technology Product Markets," Marketing Science, INFORMS, vol. 25(5), pages 440-456, September.
    8. Azumah Karim & Ananda Omotukoh Kube & Bashiru Imoro Ibn Saeed, 2020. "Modeling of Monthly Meteorological Time Series," Journal of Statistical and Econometric Methods, SCIENPRESS Ltd, vol. 9(4), pages 1-8.
    9. Peilun He & Karol Binkowski & Nino Kordzakhia & Pavel Shevchenko, 2021. "On Modelling of Crude Oil Futures in a Bivariate State-Space Framework," Papers 2108.01886, arXiv.org.
    10. Nghia Chu & Binh Dao & Nga Pham & Huy Nguyen & Hien Tran, 2022. "Predicting Mutual Funds' Performance using Deep Learning and Ensemble Techniques," Papers 2209.09649, arXiv.org, revised Jul 2023.
    11. Yossi Aviv, 2003. "A Time-Series Framework for Supply-Chain Inventory Management," Operations Research, INFORMS, vol. 51(2), pages 210-227, April.
    12. Syntetos, A.A. & Teunter, R.H., 2014. "On the calculation of safety stocks," Research Report 14003-OPERA, University of Groningen, Research Institute SOM (Systems, Organisations and Management).
    13. Yasir Riaz & Choudhry T. Shehzad & Zaghum Umar, 2021. "The sovereign yield curve and credit ratings in GIIPS," International Review of Finance, International Review of Finance Ltd., vol. 21(3), pages 895-916, September.
    14. Riezebos, Jan & Zhu, Stuart X., 2020. "Inventory control with seasonality of lead times," Omega, Elsevier, vol. 92(C).
    15. Pavel Vidal & Gilberto Ramírez & Lya Paola Sierra, 2018. "¿Por qué el Valle del Cauca ha crecido más que el promedio nacional? Un análisis regional de los ciclos y los choques económicos," Working Papers 33, Faculty of Economics and Management, Pontificia Universidad Javeriana Cali.
    16. Cartea, Álvaro & Karyampas, Dimitrios, 2011. "Volatility and covariation of financial assets: A high-frequency analysis," Journal of Banking & Finance, Elsevier, vol. 35(12), pages 3319-3334.
    17. Agnieszka Gehringer & Thomas Mayer, 2021. "Measuring the Business Cycle Chronology with a Novel Business Cycle Indicator for Germany," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 17(1), pages 71-89, April.
    18. Gianluca Cubadda, 2007. "A Reduced Rank Regression Approach to Coincident and Leading Indexes Building," Oxford Bulletin of Economics and Statistics, Department of Economics, University of Oxford, vol. 69(2), pages 271-292, April.
    19. Vegard H�ghaug Larsen & Leif Anders Thorsrud, 2018. "Business cycle narratives," Working Papers No 6/2018, Centre for Applied Macro- and Petroleum economics (CAMP), BI Norwegian Business School.
    20. Moïse Sidiropoulos & Jamel Trabelsi, 2001. "Les chocs monétaires et la persistance du taux de chômage," Économie et Prévision, Programme National Persée, vol. 148(2), pages 41-47.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jstats:v:5:y:2022:i:4:p:68-1158:d:974756. See general information about how to correct material in RePEc.

    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 CitEc recognized a bibliographic reference but did not link an item in RePEc 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 RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.