IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i23p3666-d1527322.html
   My bibliography  Save this article

Statistical Modeling to Improve Time Series Forecasting Using Machine Learning, Time Series, and Hybrid Models: A Case Study of Bitcoin Price Forecasting

Author

Listed:
  • Moiz Qureshi

    (Government Degree College, Tando Jam, Hyderabad 70060, Pakistan
    Department of Statistics, Quaid-i-Azam University, Islamabad 45320, Pakistan)

  • Hasnain Iftikhar

    (Department of Statistics, Quaid-i-Azam University, Islamabad 45320, Pakistan)

  • Paulo Canas Rodrigues

    (Department of Statistics, Federal University of Bahia, Salvador 40170-110, Brazil)

  • Mohd Ziaur Rehman

    (Department of Finance, College of Business Administration, King Saud University, P.O. Box 71115, Riyadh 11587, Saudi Arabia)

  • S. A. Atif Salar

    (Al-Barkaat Institute of Management Studies, Aligarh 202122, Dr. A. P. J. Abdul Kalam Technical University, Lucknow 226010, India)

Abstract

Bitcoin (BTC-USD) is a virtual currency that has grown in popularity after its inception in 2008. BTC-USD is an internet communication network that makes using digital money, including digital payments, easy. It offers decentralized clearing of transactions and money supply. This study attempts to accurately anticipate the BTC-USD prices (Close) using data from September 2023 to September 2024, comprising 390 observations. Four machine learning models—Multi-layer Perceptron, Extreme Learning Machine, Neural Network AutoRegression, and Extreme-Gradient Boost—as well as four time series models—Auto-Regressive Integrated Moving Average, Auto-Regressive, Non-Parametric Auto-Regressive, and Simple Exponential Smoothing models—are used to achieve this end. Various hybrid models are then proposed utilizing these models, which are based on simple averaging of these models. The data-splitting technique, commonly used in comparative analysis, splits the data into training and testing data sets. Through comparison testing with training data sets consisting of 30%, 20%, and 10%, the present work demonstrated that the suggested hybrid model outperforms the individual approaches in terms of error metrics, such as the MAE, RMSE, MAPE, SMAPE, and direction accuracy, such as correlation and the MDA of BTC. Furthermore, the DM test is utilized in this study to measure the differences in model performance, and a graphical evaluation of the models is also provided. The practical implication of this study is that financial analysts have a tool (the proposed model) that can yield insightful information about potential investments.

Suggested Citation

  • Moiz Qureshi & Hasnain Iftikhar & Paulo Canas Rodrigues & Mohd Ziaur Rehman & S. A. Atif Salar, 2024. "Statistical Modeling to Improve Time Series Forecasting Using Machine Learning, Time Series, and Hybrid Models: A Case Study of Bitcoin Price Forecasting," Mathematics, MDPI, vol. 12(23), pages 1-15, November.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:23:p:3666-:d:1527322
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/23/3666/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/23/3666/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Ismail Shah & Hasnain Iftikhar & Sajid Ali & Wendong Yang, 2022. "Modeling and Forecasting Electricity Demand and Prices: A Comparison of Alternative Approaches," Journal of Mathematics, Hindawi, vol. 2022, pages 1-14, July.
    2. Apostolos Ampountolas, 2023. "Comparative Analysis of Machine Learning, Hybrid, and Deep Learning Forecasting Models Evidence from European Financial Markets and Bitcoins," Papers 2307.08853, arXiv.org.
    3. Diebold, Francis X & Mariano, Roberto S, 2002. "Comparing Predictive Accuracy," Journal of Business & Economic Statistics, American Statistical Association, vol. 20(1), pages 134-144, January.
    4. Yu-Min Lian & Jia-Ling Chen & Hsueh-Chien Cheng, 2022. "Predicting Bitcoin Prices via Machine Learning and Time Series Models," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 12(5), pages 1-2.
    5. Xiaolong Tang & Yuping Song & Xingrui Jiao & Yankun Sun, 2024. "On Forecasting Realized Volatility for Bitcoin Based on Deep Learning PSO–GRU Model," Computational Economics, Springer;Society for Computational Economics, vol. 63(5), pages 2011-2033, May.
    6. Hasnain Iftikhar & Nadeela Bibi & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Multiple Novel Decomposition Techniques for Time Series Forecasting: Application to Monthly Forecasting of Electricity Consumption in Pakistan," Energies, MDPI, vol. 16(6), pages 1-17, March.
    7. Jonathan Chiu & Thorsten V. Koeppl, 2022. "The economics of cryptocurrency: Bitcoin and beyond," Canadian Journal of Economics/Revue canadienne d'économique, John Wiley & Sons, vol. 55(4), pages 1762-1798, November.
    8. Apostolos Ampountolas, 2023. "Comparative Analysis of Machine Learning, Hybrid, and Deep Learning Forecasting Models: Evidence from European Financial Markets and Bitcoins," Forecasting, MDPI, vol. 5(2), pages 1-15, June.
    9. Shun Liu & Kexin Wu & Chufeng Jiang & Bin Huang & Danqing Ma, 2023. "Financial Time-Series Forecasting: Towards Synergizing Performance And Interpretability Within a Hybrid Machine Learning Approach," Papers 2401.00534, arXiv.org.
    10. Xiaofan Li & Andrew B. Whinston, 2020. "Analyzing Cryptocurrencies," Information Systems Frontiers, Springer, vol. 22(1), pages 17-22, February.
    11. Kate Murray & Andrea Rossi & Diego Carraro & Andrea Visentin, 2023. "On Forecasting Cryptocurrency Prices: A Comparison of Machine Learning, Deep Learning, and Ensembles," Forecasting, MDPI, vol. 5(1), pages 1-14, January.
    12. Theo Berger & Jana Koubová, 2024. "Forecasting Bitcoin returns: Econometric time series analysis vs. machine learning," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(7), pages 2904-2916, November.
    13. Junwei Chen, 2023. "Analysis of Bitcoin Price Prediction Using Machine Learning," JRFM, MDPI, vol. 16(1), pages 1-25, January.
    14. Javier Linkolk López-Gonzales & Reinaldo Castro Souza & Felipe Leite Coelho da Silva & Natalí Carbo-Bustinza & Germán Ibacache-Pulgar & Rodrigo Flora Calili, 2020. "Simulation of the Energy Efficiency Auction Prices via the Markov Chain Monte Carlo Method," Energies, MDPI, vol. 13(17), pages 1-19, September.
    15. Kaijian He & Qian Yang & Lei Ji & Jingcheng Pan & Yingchao Zou, 2023. "Financial Time Series Forecasting with the Deep Learning Ensemble Model," Mathematics, MDPI, vol. 11(4), pages 1-15, February.
    16. Hasnain Iftikhar & Aimel Zafar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Forecasting Day-Ahead Brent Crude Oil Prices Using Hybrid Combinations of Time Series Models," Mathematics, MDPI, vol. 11(16), pages 1-19, August.
    17. Mauro Costantini & Jesus Crespo Cuaresma & Jaroslava Hlouskova, 2016. "Forecasting Errors, Directional Accuracy and Profitability of Currency Trading: The Case of EUR/USD Exchange Rate," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 35(7), pages 652-668, November.
    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. Hasnain Iftikhar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Forecasting Day-Ahead Electricity Prices for the Italian Electricity Market Using a New Decomposition—Combination Technique," Energies, MDPI, vol. 16(18), pages 1-23, September.
    2. Hasnain Iftikhar & Aimel Zafar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Forecasting Day-Ahead Brent Crude Oil Prices Using Hybrid Combinations of Time Series Models," Mathematics, MDPI, vol. 11(16), pages 1-19, August.
    3. Hasnain Iftikhar & Josue E. Turpo-Chaparro & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Day-Ahead Electricity Demand Forecasting Using a Novel Decomposition Combination Method," Energies, MDPI, vol. 16(18), pages 1-22, September.
    4. Giacomo di Tollo & Joseph Andria & Gianni Filograsso, 2023. "The Predictive Power of Social Media Sentiment: Evidence from Cryptocurrencies and Stock Markets Using NLP and Stochastic ANNs," Mathematics, MDPI, vol. 11(16), pages 1-18, August.
    5. Jesus Crespo Cuaresma & Ines Fortin & Jaroslava Hlouskova & Michael Obersteiner, 2024. "Regime‐dependent commodity price dynamics: A predictive analysis," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(7), pages 2822-2847, November.
    6. Jesus Crespo Cuaresma & Jaroslava Hlouskova & Michael Obersteiner, 2021. "Agricultural commodity price dynamics and their determinants: A comprehensive econometric approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 40(7), pages 1245-1273, November.
    7. Ballestra, Luca Vincenzo & Guizzardi, Andrea & Palladini, Fabio, 2019. "Forecasting and trading on the VIX futures market: A neural network approach based on open to close returns and coincident indicators," International Journal of Forecasting, Elsevier, vol. 35(4), pages 1250-1262.
    8. Jing, Ruixue & Rocha, Luis E.C., 2023. "A network-based strategy of price correlations for optimal cryptocurrency portfolios," Finance Research Letters, Elsevier, vol. 58(PC).
    9. Yaquelin Verenice Pantoja-Pacheco & Javier Yáñez-Mendiola, 2024. "Method for the Statistical Analysis of the Signals Generated by an Acquisition Card for Pulse Measurement," Mathematics, MDPI, vol. 12(6), pages 1-24, March.
    10. Hasnain Iftikhar & Nadeela Bibi & Paulo Canas Rodrigues & Javier Linkolk López-Gonzales, 2023. "Multiple Novel Decomposition Techniques for Time Series Forecasting: Application to Monthly Forecasting of Electricity Consumption in Pakistan," Energies, MDPI, vol. 16(6), pages 1-17, March.
    11. Constantin Bürgi & Dorine Boumans, 2020. "Categorical Forecasts and Non-Categorical Loss Functions," CESifo Working Paper Series 8266, CESifo.
    12. Anatoly A. Peresetsky & Ruslan I. Yakubov, 2017. "Autocorrelation in an unobservable global trend: does it help to forecast market returns?," International Journal of Computational Economics and Econometrics, Inderscience Enterprises Ltd, vol. 7(1/2), pages 152-169.
    13. Kelly Burns & Imad Moosa, 2017. "Demystifying the Meese–Rogoff puzzle: structural breaks or measures of forecasting accuracy?," Applied Economics, Taylor & Francis Journals, vol. 49(48), pages 4897-4910, October.
    14. João C. Claudio & Katja Heinisch & Oliver Holtemöller, 2020. "Nowcasting East German GDP growth: a MIDAS approach," Empirical Economics, Springer, vol. 58(1), pages 29-54, January.
    15. Antonio Rubia & Trino-Manuel Ñíguez, 2006. "Forecasting the conditional covariance matrix of a portfolio under long-run temporal dependence," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 25(6), pages 439-458.
    16. Athanasopoulos, George & de Carvalho Guillén, Osmani Teixeira & Issler, João Victor & Vahid, Farshid, 2011. "Model selection, estimation and forecasting in VAR models with short-run and long-run restrictions," Journal of Econometrics, Elsevier, vol. 164(1), pages 116-129, September.
    17. Hao Chen & Qiulan Wan & Yurong Wang, 2014. "Refined Diebold-Mariano Test Methods for the Evaluation of Wind Power Forecasting Models," Energies, MDPI, vol. 7(7), pages 1-14, July.
    18. Antonello D’Agostino & Kieran Mcquinn & Karl Whelan, 2012. "Are Some Forecasters Really Better Than Others?," Journal of Money, Credit and Banking, Blackwell Publishing, vol. 44(4), pages 715-732, June.
    19. Cavit Pakel & Neil Shephard & Kevin Sheppard, 2009. "Nuisance parameters, composite likelihoods and a panel of GARCH models," Economics Papers 2009-W12, Economics Group, Nuffield College, University of Oxford.
    20. Christophe Chorro & Florian Ielpo & Benoît Sévi, 2017. "The contribution of jumps to forecasting the density of returns," Post-Print halshs-01442618, HAL.

    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:jmathe:v:12:y:2024:i:23:p:3666-:d:1527322. 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.