EconPapers    
Economics at your fingertips  
 

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

Mohammed Bouasabah ()
Additional contact information
Mohammed Bouasabah: National School of Business and Management, Ibn Tofail University, B.P. 242, Kenitra 14000, Morocco

Economies, 2024, vol. 12, issue 8, 1-12

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.

Keywords: machine learning algorithms; stochastic processes; financial prediction; trading; support vector machine (search for similar items in EconPapers)
JEL-codes: E F I J O Q (search for similar items in EconPapers)
Date: 2024
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7099/12/8/194/pdf (application/pdf)
https://www.mdpi.com/2227-7099/12/8/194/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jecomi:v:12:y:2024:i:8:p:194-:d:1442128

Access Statistics for this article

Economies is currently edited by Ms. Hongyan Zhang

More articles in Economies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-04-17
Handle: RePEc:gam:jecomi:v:12:y:2024:i:8:p:194-:d:1442128