Sustainable Stock Screening Based on Fundamental and Technical Indicators using Gaussian Naive Bayes Classifier

Authors

DOI:

https://doi.org/10.20956/j.v22i3.49168

Keywords:

Screening, SRI-Kehati, Portfolio Performance, Investable Stocks

Abstract

Investors increasingly require systematic methods for sustainable stock screening, particularly for ESG-focused benchmarks like Inodnesia's SRI-KEHATI Index. This Study addresses a gap by developing and evaluating a stock screening framework using a Gaussian Naive Bayes (GNB) classifier to integrate both fundamental and technical analysis. The model utilized quarterly data from 25 SRI-KEHATI stocks from Q1 2024 to Q2 2025, training on 11 indicators to predict future quarterly returns, classifying stocks as "Investable" (Label 1) or "Non-investable" (Label 0). The model achieved an average training accuracy of 73.6%. Feature importance analysis revealed that technical indicators, such as Average Log Return, Average MACD, Average RSI, and key fundamental ratios, PBV and ROA, were the most influential predictors. Model predictions were evaluated through a simple equal-weighted portfolio simulation for Q3 2025. The simulation results showed the model-selected "Investable" portfolio generated a 29.9% return, substantially outperforming and the "Non-investable" portfolio (3.56%). These findings demonstrate that the GNB classifier is an effective framework for sustainable stock screening, successfully identifying ESG-compliant stocks that also deliver superior financial returns and providing a practical tool for responsible investing in the Indonesian capital market.

References

[1] Alghamdi, H. and S. Alqithami, A robust machine learning framework for stock market classification. Expert Systems with Applications, Vol. 294, 2025, doi: 10.1016/j.eswa.2025.128573.

[2] Ampomah, E. K., G. Nyame, Z. Qin, E. O. Addo, Prince Clement Gyamfi, and M. Gyan, Stock Market Prediction with Gaussian Naïve Bayes Machine Learning Algorithm. Informatica, Vol. 45, No. 2, 2021, doi: 10.31449/inf.v45i2.3407.

[3] Bouchene, M. M. and M. Fatima, Normalized mean difference (NMD): a novel filter-based feature selection method. International Journal of Machine Learning and Cybernetics, Vol. 16, No. 9, 6837–6855, 2025, doi: 10.1007/s13042-025-02648-3.

[4] Caparrini, A., J. Arroyo, and J. Escayola Mansilla, S&P 500 stock selection using machine learning classifiers: A look into the changing role of factors. Research in International Business and Finance, Vol. 70, 2024, doi: 10.1016/j.ribaf.2024.102336.

[5] Emir, Ş., H. Dinçer, and M. Timor, A Stock Selection Model Based on Fundamental and Technical Analysis Variables by Using Artificial Neural Networks and Support Vector Machines. Review of Economics & Finance, Vol. 02, 106–122, 2012.

[6] Herawati, A. and A. S. Putra, The influence of fundamental analysis on stock prices: The case of food and beverage industries. European Research Studies Journal, Vol. 21, No. 3, 316–326, 2018, doi: 10.35808/ersj/1063.

[7] Htun, H. H., M. Biehl, and N. Petkov, Survey of Feature Selection and Extraction Techniques for Stock Market Prediction. Financial Innovation, Vol. 9, No. 26, 1–25, 2023, doi: 10.1186/s40854-022-00441-7.

[8] Huang, Y., L. F. Capretz, and D. Ho, Machine Learning for Stock Prediction Based on Fundamental Analysis. Symposium Series on Computational Intelligence (SSCI), 01–10, 2021, doi: 10.1109/SSCI50451.2021.9660134.

[9] Huda, E. N. and P. Suseno, Comparative Analysis of Sharia Stock Screening Methods in Indonesia , Malaysia, and the United States. Maliki Islamic Economics Journal, Vol. 3, No. 1, 1–18, 2023, doi: https://doi.org/10.18860/miec.v3i1.19808.

[10] Kim, H.-Y., Statistical notes for clinical researchers: the independent samples t -test. Restorative Dentistry & Endodontics, Vol. 44, No. 3, 1–6, 2019, doi: 10.5395/rde.2019.44.e26.

[11] Laska, R. R. and A. M. Yolanda, A Comparative Study of Z-Score and Min-Max Normalization for Rainfall Classification in Pekanbaru. Journal of Data Science, Vol. 2024, No. 1, 2024, doi: 10.61453/jods.v2024no04.

[12] Masan, P. D. and J. F. Molon, Enhancement Of Naive Bayes Classifier Algorithm Applied To Email Spam Filtering. International Research Journal (TIJER), Vol. 11, No. 12, 185–195, 2024.

[13] Petrusheva, N. and I. Jordanoski, Comparative Analysis Between the Fundamental and Technical Analysis of Stocks. Journal of Process Management. New Technologies (JPMNT) Journal, Vol. 4, No. 2, 26–31, 2016, doi: 10.5937/JPMNT1602026P.

[14] Pinem, D. and S. Aulia, The Effect of Corporate Sustainability Performance on the Values of Companies Listed in the Sri Kehati Index. Formosa Journal of Sustainable Research, Vol. 2, No. 3, 713–734, 2023, doi: 10.55927/fjsr.v2i3.3073.

[15] Sathyanarayanan, S. and B. R. Tantri, Confusion Matrix-Based Performance Evaluation Metrics. African Journal of Biomedical Research, Vol. 27, No. 4, 4023–4031, 2024, doi: 10.53555/ajbr.v27i4s.4345.

[16] Schnorpfeil, P., M. Weber, and A. Hackethal, Inflation and Trading. Journal of Financial Economics, Vol. 173, 2025, doi: 10.1016/j.jfineco.2025.104166.

[17] Singh, J. and M. Khushi, Feature Learning for Stock Price Prediction Shows a Significant Role of Analyst Rating. Applied System Innovation, Vol. 4, No. 1, 1–17, 2021, doi: 10.3390/asi4010017.

[18] Sulistianingsih, E. et al., An Examination of the Green Stock Portfolio in Connection With the 2024 Indonesian Republic Presidential General Election. Barekeng: Journal of Mathematics and Its Applications, Vol. 19, No. 4, 2543–2556, 2025, doi: 10.30598/barekengvol19iss4pp2543-2556.

[19] Tan, T. K., Practical t-test Power Analysis with R. Practical Assessment, Research and Evaluation, Vol. 27, No. 18, 1–27, 2022, doi: 10.7275/mmna-sh25.

[20] Yap, J. and T. Wiradinata, A comparative study on classification models for stock rating prediction. Jurnal Teknologi Informas (AITI), Vol. 21, No. 1, 140–151, 2024, doi: 10.24246/aiti.v21i1.140-151.

[21] Zeng, G., Invariance Properties and Evaluation Metrics Derived from the Confusion Matrix in Multiclass Classification. Mathematics, Vol. 13, No. 16, 2025, doi: 10.3390/math13162609.

.

Downloads

Published

2026-05-14

How to Cite

Gunawan, R., Maharani, C. P., Fitriyana, G., & Maharani, D. I. (2026). Sustainable Stock Screening Based on Fundamental and Technical Indicators using Gaussian Naive Bayes Classifier. Jurnal Matematika, Statistika Dan Komputasi, 22(3), 587–601. https://doi.org/10.20956/j.v22i3.49168

Issue

Section

Research Articles