IDEAS home Printed from https://ideas.repec.org/a/gam/jecomi/v12y2024i8p194-d1442128.html
   My bibliography  Save this article

A Performance Analysis of Stochastic Processes and Machine Learning Algorithms in Stock Market Prediction

Author

Listed:
  • Mohammed Bouasabah

    (National School of Business and Management, Ibn Tofail University, B.P. 242, Kenitra 14000, Morocco)

Abstract

In this study, we compare the performance of stochastic processes, namely, the Vasicek, Cox–Ingersoll–Ross (CIR), and geometric Brownian motion (GBM) models, with that of machine learning algorithms, such as Random Forest, Support Vector Machine (SVM), and k-Nearest Neighbors (KNN), for predicting the trends of stock indices XLF (financial sector), XLK (technology sector), and XLV (healthcare sector). The results showed that stochastic processes achieved remarkable prediction performance, especially the CIR model. Additionally, this study demonstrated that the metrics of machine learning algorithms are relatively lower. However, it is important to note that stochastic processes use the actual current index value to predict tomorrow’s value, which may overestimate their performance. In contrast, machine learning algorithms offer a more flexible approach and are not as dependent on the current index value. Therefore, optimizing the hyperparameters of machine learning algorithms is crucial for further improving their performance.

Suggested Citation

  • Mohammed Bouasabah, 2024. "A Performance Analysis of Stochastic Processes and Machine Learning Algorithms in Stock Market Prediction," Economies, MDPI, vol. 12(8), pages 1-12, July.
  • Handle: RePEc:gam:jecomi:v:12:y:2024:i:8:p:194-:d:1442128
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7099/12/8/194/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7099/12/8/194/
    Download Restriction: no
    ---><---

    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:jecomi:v:12:y:2024:i:8:p:194-:d:1442128. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.