Affiliation:
1. 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.
Reference24 articles.
1. How effective is machine learning in stock market predictions?;Ayyildiz;Heliyon,2024
2. Backus, David, Foresi, Silverio, and Telmer, Chris (1998). Discretetime Models of Bond Pricing, National Bureau of Economic Research. Technical Report w6736.
3. Be (1913). Calcul des probabilités: Par louis bachelier. Tome i. Paris, gauthiers-villars 1912. 4. 516 p. U. Vii. Monatshefte für Mathematik und Physik, 24, A4–A8.
4. Empirical evaluation of the market price of risk using the CIR model;Bernaschi;Physica A: Statistical Mechanics and its Applications,2007
5. Bonaccorso, Giuseppe (2017). Machine Learning Algorithms: A Reference Guide to Popular Algorithms for Data Science and Machine Learning, Packt.