IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2105.02785.html
   My bibliography  Save this paper

Stock Price Forecasting in Presence of Covid-19 Pandemic and Evaluating Performances of Machine Learning Models for Time-Series Forecasting

Author

Listed:
  • Navid Mottaghi
  • Sara Farhangdoost

Abstract

With the heightened volatility in stock prices during the Covid-19 pandemic, the need for price forecasting has become more critical. We investigated the forecast performance of four models including Long-Short Term Memory, XGBoost, Autoregression, and Last Value on stock prices of Facebook, Amazon, Tesla, Google, and Apple in COVID-19 pandemic time to understand the accuracy and predictability of the models in this highly volatile time region. To train the models, the data of all stocks are split into train and test datasets. The test dataset starts from January 2020 to April 2021 which covers the COVID-19 pandemic period. The results show that the Autoregression and Last value models have higher accuracy in predicting the stock prices because of the strong correlation between the previous day and the next day's price value. Additionally, the results suggest that the machine learning models (Long-Short Term Memory and XGBoost) are not performing as well as Autoregression models when the market experiences high volatility.

Suggested Citation

  • Navid Mottaghi & Sara Farhangdoost, 2021. "Stock Price Forecasting in Presence of Covid-19 Pandemic and Evaluating Performances of Machine Learning Models for Time-Series Forecasting," Papers 2105.02785, arXiv.org.
  • Handle: RePEc:arx:papers:2105.02785
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2105.02785
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Scott R Baker & Nicholas Bloom & Steven J Davis & Kyle Kost & Marco Sammon & Tasaneeya Viratyosin & Jeffrey Pontiff, 0. "The Unprecedented Stock Market Reaction to COVID-19," The Review of Asset Pricing Studies, Society for Financial Studies, vol. 10(4), pages 742-758.
    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. Bakas, Dimitrios & Triantafyllou, Athanasios, 2020. "Commodity price volatility and the economic uncertainty of pandemics," Economics Letters, Elsevier, vol. 193(C).
    2. Norbert Bajkó & Zsolt Fülöp & Kinga Nagyné Pércsi, 2022. "Changes in the Innovation- and Marketing-Habits of Family SMEs in the Foodstuffs Industry, Caused by the Coronavirus Pandemic in Hungary," Sustainability, MDPI, vol. 14(5), pages 1-17, March.
    3. Mohamed Albaity & Ray Saadaoui Mallek & Hasan Mustafa, 2022. "Bank Stock Return Reactions to the COVID-19 Pandemic: The Role of Investor Sentiment in MENA Countries," Risks, MDPI, vol. 10(2), pages 1-15, February.
    4. Donato Masciandaro, 2020. "Covid-19 Helicopter Money, Monetary Policy And Central Bank Independence: Economics And Politics," BAFFI CAREFIN Working Papers 20137, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    5. Mahata, Ajit & Rai, Anish & Nurujjaman, Md. & Prakash, Om, 2021. "Modeling and analysis of the effect of COVID-19 on the stock price: V and L-shape recovery," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 574(C).
    6. Himounet, Nicolas, 2022. "Searching the nature of uncertainty: Macroeconomic and financial risks VS geopolitical and pandemic risks," International Economics, Elsevier, vol. 170(C), pages 1-31.
    7. Altig, Dave & Baker, Scott & Barrero, Jose Maria & Bloom, Nicholas & Bunn, Philip & Chen, Scarlet & Davis, Steven J. & Leather, Julia & Meyer, Brent & Mihaylov, Emil & Mizen, Paul & Parker, Nicholas &, 2020. "Economic uncertainty before and during the COVID-19 pandemic," Journal of Public Economics, Elsevier, vol. 191(C).
    8. Jialei Jiang & Eun-Mi Park & Seong-Taek Park, 2021. "The Impact of the COVID-19 on Economic Sustainability—A Case Study of Fluctuation in Stock Prices for China and South Korea," Sustainability, MDPI, vol. 13(12), pages 1-17, June.
    9. Ducret, Romain, 2021. "Investors' perception of business group membership during an economic crisis : Evidence from the COVID-19 pandemic," FSES Working Papers 524, Faculty of Economics and Social Sciences, University of Freiburg/Fribourg Switzerland.
    10. Claudiu Tiberiu Albulescu & Eugenia Grecu, 2023. "Government Interventions and Sovereign Bond Market Volatility during COVID-19: A Quantile Analysis," Mathematics, MDPI, vol. 11(5), pages 1-14, February.
    11. Caggiano, Giovanni & Castelnuovo, Efrem & Kima, Richard, 2020. "The global effects of Covid-19-induced uncertainty," Economics Letters, Elsevier, vol. 194(C).
    12. Blanas, Sotiris & Oikonomou, Rigas, 2023. "COVID-induced economic uncertainty, tasks and occupational demand," Labour Economics, Elsevier, vol. 81(C).
    13. Dragomirescu-Gaina, Catalin, 2021. "Facing an unfortunate trade-off: policy responses, lessons and spill-overs during the COVID-19 pandemic," Economics & Human Biology, Elsevier, vol. 43(C).
    14. Caggiano, Giovanni & Castelnuovo, Efrem & Delrio, Silvia & Kima, Richard, 2021. "Financial uncertainty and real activity: The good, the bad, and the ugly," European Economic Review, Elsevier, vol. 136(C).
    15. Caggiano, Giovanni & Castelnuovo, Efrem & Kima, Richard, 2020. "The global effects of Covid-19-induced uncertainty," Economics Letters, Elsevier, vol. 194(C).
    16. Peng-Fei Dai & Xiong Xiong & Zhifeng Liu & Toan Luu Duc Huynh & Jianjun Sun, 2021. "Preventing crash in stock market: The role of economic policy uncertainty during COVID-19," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-15, December.
    17. Megaritis, Anastasios & Vlastakis, Nikolaos & Triantafyllou, Athanasios, 2021. "Stock market volatility and jumps in times of uncertainty," Journal of International Money and Finance, Elsevier, vol. 113(C).
    18. Henry Zhao & Zhilan Feng & Carlos Castillo-Chavez & Simon A. Levin, 2020. "Staggered Release Policies for COVID-19 Control: Costs and Benefits of Sequentially Relaxing Restrictions by Age," Papers 2005.05549, arXiv.org.
    19. Philipp Pfeiffer & Werner Roeger & Jan in ’t Veld, 2020. "The COVID19-Pandemic in the EU: Macroeconomic Transmission and Economic Policy Response," European Economy - Discussion Papers 127, Directorate General Economic and Financial Affairs (DG ECFIN), European Commission.
    20. Antoine Mandel & Vipin Veetil, 2020. "The Economic Cost of COVID Lockdowns: An Out-of-Equilibrium Analysis," Economics of Disasters and Climate Change, Springer, vol. 4(3), pages 431-451, October.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:arx:papers:2105.02785. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.