Comparison of the Efficiency of Statistical Learning Algorithms and Artificial Neural Networks to Predict Stock Prices
- Department of Information Technology Management, Faculty of Management and Social Sciences, Islamic Azad University Tehran North Branch, Tehran, Iran
- Department of Industrial Management, Faculty of management and Social Sciences, Islamic Azad University Tehran North Branch, Tehran, Iran
Received: 01-01-2022
Accepted: 24-11-2022
Published in Issue 01-12-2022
Copyright (c) 2024 International Journal of Mathematical Modeling & Computations

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Sadat Najafi, A., & Sardar, S. (2022). Comparison of the Efficiency of Statistical Learning Algorithms and Artificial Neural Networks to Predict Stock Prices. International Journal of Mathematical Modelling & Computations, 12(4), 275-297. https://doi.org/10.30495/ijm2c.2022.1948716.1241
Abstract
The importance of the capital market in economic development is undeniable through the effective management of capital and the optimal allocation of resources. In this study, according to capital market behaviors and research, Statistical Learning (SL) algorithms compared to Artificial Neural Networks (ANN) to analyze time-series data and predict stock prices have been investigated. In studies to compare methods or provide hybrid models, most statistical learning algorithms are limited and examined without the comparison of other algorithms. In this study, to eliminate this shortcoming by implementing and comparing statistical learning algorithms in the two categories of Regression Learner and Classification Learner, the most efficient algorithm has been identified based on the selected shares and based on the presented parameters. The first category (Regression Learner) includes Linear Regression, Interaction Linear Regression, Robust Linear Regression, Stepwise Linear Regression, Fine Tree, Medium Tree, Coarse Tree, Linear Support Vector Machine (SVM), Quadratic SVM, Cubic SVM, Fine Gaussian SVM, Medium Gaussian SVM, Coarse Gaussian SVM, Ensemble Boosted Trees, Ensemble Bagged Trees, Squared Exponential Gaussian Process Regression, Matern 5/2 Gaussian Process Regression, Exponential Gaussian Process Regression, Rational Quadratic Gaussian Process Regression. The second category (Classification Learner) includes Gaussian, Naive Bayes, K-nearest neighbors. The results show that Regression Learner methods are more effective in predicting the price of selected stocks.
References
- M. Akbari, H. Homaei and M. Heidari, An intelligent fault diagnosis approach for gears and bearings based on
- wavelet transform as a preprocessor and artificial neural networks, International Journal of Mathematical
- Modelling & Computations, 4 (2014) 309–329.
- O. Altay, M. Ulas and K. E. Alyamac, Prediction of the fresh performance of steel fiber reinforced
- self-compacting concrete using quadratic SVM and weighted KNN models, IEEE Access, 8 (2020) 92647–
- T. Beckers, An introduction to Gaussian process models, Electrical Engineering and Systems Science, (2021),
- doi:10.48550/arXiv.2102.05497.
- P. Cunningham and S. J. Delany, k-Nearest neighbour classifiers, ACM Computing Surveys, 54 (6) (2007),
- Article 128, doi:10.1145/3459665.
- Y. C. Du and A. Stephanus, Levenberg-Marquardt neural network algorithm for degree of arteriovenous fistula
- stenosis classification using a dual optical photoplethysmography sensor, Sensors, 18 (2018) 1–26,
- doi:10.3390/s18072322.
- A. M. Farayola, A. N. Hasan and A. Ali, Optimization of PV systems using data mining and regression learner
- MPPT techniques, Indonesian Journal of Electrical Engineering, 10 (2018) 1080–1089.
- M. Farrell and A. Correa, Gaussian process regression models for predicting stock trends, Computer Science,
- (2007) 3414.
- P. L. Flom and D. L. Cassell, Stopping stepwise: Why stepwise and similar selection methods are bad, and what
- you should use, NESUG Conference, Baltimore, Maryland, (2007).
- J. Gareth, D. Witten, T. Hastie and R. Tibshirani, An Introduction to Statistical Learning: with Applications in
- R, Springer Texts in Statistics, Springer, (2014).
- A. Sadat Najafi and S. Sardar/????????????2????, 12 -04 (2022) 275-297. 297
- E. Gholamian and S. M. Davoodi, Predicting the direction of stock market prices using random forest,
- Financial Engineering and Portfolio Management, 9 (2018) 301–322.
- E. Guresen, G. Kayakutlu and T. U. Daim, Using artificial neural network models in stock market index
- prediction, Expert Systems with Applications, 38 (8) (2011) 10389–10397.
- S. Hajiali, M. Doroudian and H. Borna, Understanding Behavior of Antineoplastic Molecules Based on MLR
- Models, International Journal of Mathematical Modelling & Computations, 1 (2011) 263–269.
- H. Jafarzadeh, M. Mahdianpari, E. Gill, F. Mohammadimanesh and S. Homayouni, Bagging and boosting
- ensemble classifiers for classification of multispectral, hyperspectral and PolSAR data: A comparative
- evaluation, Remote Sensing, 13 (21) (2021) 4405, doi:10.3390/rs13214405.
- Y. Kim and H. Oh, Comparison between multiple regression analysis, polynomial regression analysis, and an
- artificial neural network for tensile strength prediction of BFRP and GFRP, Materials, 14 (17) (2021) 4861.
- M. Kuss, Gaussian Process Models for Robust Regression, Classification, and Reinforcement Learning
- Darmstadt, Technische Universität, Ph.D. Thesis, (2006).
- S. L. Lin, Application of machine learning to a medium Gaussian support vector machine in the diagnosis of
- motor bearing faults, Electronics, 10 (18) (2021) 2266, doi:10.3390/electronics10182266.
- Y. Lin, H. Guo and J. Hu, An SVM-based approach for stock market trend prediction, International Joint
- Conference on Neural Networks (IJCNN), Dallas, Texas, USA, (2013) 4–9.
- H. Nickisch and C. Rasmussen, Approximations for binary Gaussian process classification, Journal of Machine
- Learning Research, 9 (2008) 2035–2078.
- R. Noori, K. Ashrafi and A. Ajdarpour, Comparison of ANN and PCA based multivariate linear regression
- applied to predict the daily average concentration of CO: A case study of Tehran, Journal of the Earth and
- Space Physics, 34 (2008) 135–152.
- R. Raee, A. Nikahd and M. Habib, M., The Index Prediction of Tehran Stock Exchange by Combining the
- Principal Components Analysis, Support Vector Regression and Particle Swarm Optimization, Journal of
- Financial Management Strategy, Alzahra University, 4 (2017) 1–23.
- R. Rivest, Learning decision lists, Machine Learning, 2 (1987) 229–246.
- C. Robinson, S. Tomek and R. Schumacker, Tests of moderation effects: Difference in simple slopes versus the
- interaction term, Multiple Linear Regression Viewpoints, 39 (2013) 16–24.
- A. Sadat Najafi and S. Sardar, Application of econometric modeler for predicting stock prices in the capital
- market, Financial Engineering and Portfolio Management, 11 (45) (2020) 223–246.
- D. Selvamuthu, V. Kumar and A. Mishra, Indian stock market prediction using artificial neural networks on
- tick data, Financial Innovation, 16 (2019) 5–16.
- D. Shah, H. Isah and F. Zulkernine, Stock market analysis: A review and taxonomy of prediction techniques,
- International Journal of Financial Studies, 7 (2) (2019) 7–26.
- K. Shailaja and M. Manjunath, Prediction and clustering techniques used in the development of stock
- forecasting model, International Journal of Innovative Technology and Exploring Engineering, 9 (3) (2020)
- –3075.
- G. Sundar and K. Satyanarayana, Stock prediction scrutiny using artificial neural network, International
- Journal of Recent Technology and Engineering, 7 (623) (2019) 2277–3878.
- D. Szafron, R. Greiner, P. Lu, D. Wishart, C. Macdonell, J. Anvik, B. Poulin, Z. Lu and R. Eisner, Explaining
- naïve Bayes classifications, Computer Science, (2003), doi:10.7939/R36D5PH6N.
- B. Taremi and B. Zeighami, Biostatistics, Payame Noor University, 17th Edition, (2020), (In Persian).
- J. Ticknor, A bayesian regularized artificial neural network for stock market forecasting, Expert Systems with
- Applications, 40 (14) (2013) 5501–5506.
- G. Vaishnavi, V. Shriya and K. Ashwini, Stock market prediction using linear regression and support vector
- machines, International Journal of Applied Engineering Research, 14 (2019) 1931–1934.
- C. Yu and W. Yao, Robust linear regression: A review and comparison, Communications in Statistics
- -Simulation and Computation, 46 (8) (2017) 6261–6282.
- Z. Zhang, Introduction to machine learning: K-nearest neighbors, Annals of Translational Medicine, 4 (11)
- (2016) 218
10.30495/ijm2c.2022.1948716.1241