Submitted:
16 July 2026
Posted:
22 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Motivation and Objectives
1.2. Literature Review
1.2.1. Return on Equity
1.2.2. Machine Learning Methods
2. Materials and Methods
2.1. The Dataset, Research Variables and missing values
- Firstly, the 2019 original imbalance dataset (dataset 1) was analysed using metrics such as precision, recall, ROC-AUC score, and F1 score, which are known to cope with imbalanced datasets. We also included accuracy to see how it would be affected by the imbalanced dataset.
- Secondly, the 2019 dataset was balanced using observations from previous years (dataset 2) while ensuring independence of observations. The observations to balance the dataset were selected from companies listed between 2000 and 2018. For each selected company, we selected one observation without missing values. The resulting sample size was 1074.
- Thirdly, SMOTE (synthetic minority oversampling technique) was utilized to correct the issue of an imbalanced dataset. In SMOTE, new data points are generated specifically for the minority class, while the majority class remains unchanged [32]. Using SMOTE, 87 new observations were generated for the minority class. The resulting sample comprised 410 companies: 174 with negative ROE and 236 with positive ROE.
- Lastly, the ROSE (Random oversampling examples). ROSE is an oversampling technique that uses bootstrap-based methods and assists in binary classification of an imbalanced dataset. Using ROSE oversampling, 149 new observations were generated for the minority class, yielding a final sample size of 472. The dataset was now balanced with 236 companies with positive ROE and 236 with negative ROE.
2.2. Statistical Models
2.2.1. Logistic Regression (LR)
- Binary outcomes for the dependent variable.
- Observations from duplicated measurements or those that came from matched data.
- The absence of multicollinearity.
- The sample size requirements (augmented using oversampling methods).
2.2.2. Random Forest (RF)
2.2.3. Naive Bayes (NB)
2.2.4. K-Nearest Neighbor
2.3. Classification Table
3. Results
3.1. Model Comparison Using Dataset 1
3.2. Model Comparison for Dataset 1 Using the ROC Curve
3.3. Data Analysis Using Dataset 2
3.3.1. Model Comparison Using Dataset 2
3.4. Model Comparison Using the SMOTE Dataset
3.5. Data Analysis Using ROSE Dataset
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 100 | 86.5 | 95.0 | 100 |
| Specificity | 97.9 | 97.9 | 89.0 | 99.1 |
| Precision | 98.2 | 97.6 | 89.8 | 99.2 |
| F1 Score | 99.1 | 91.7 | 92.3 | 99.6 |
| Accuracy | 99.0 | 92.3 | 92.0 | 99.6 |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 97.1 | 85.7 | 96.4 | 100 |
| Specificity | 98.8 | 97.7 | 93.3 | 98.4 |
| Precision | 98.7 | 97.6 | 93.5 | 98.6 |
| F1 Score | 97.9 | 91.2 | 94.9 | 99.3 |
| Accuracy | 97.9 | 91.8 | 94.9 | 99.3 |
3.6. Variable Selection Using Shrinkage Methods
4. Discussion
5. Conclusion
References
- Abraham, R.; Harris, J.; Auerbach, J. Earnings yield as a predictor of return on assets, return on equity, economic value added and the equity multiplier. Mod. Econ. (Issue). 2017, 8(1), 10–24. [Google Scholar] [CrossRef]
- Alkhawaldeh, I.; Albalkhi, I.; Naswhan, A. ‘Challenges and limitations of synthetic minority oversampling techniques in machine learning’. World J. Methodol. 2023, 13(5),(Issue), 373–378. [Google Scholar] [CrossRef]
- Alshammari, M.; Mezher, M. A comparative analysis of data mining techniques on breast cancer diagnosis data using weka toolbox: (ijacsa). Int. J. Adv. Comput. Sci. Appl. (Issue). 2020, 11(8), 224–229. [Google Scholar] [CrossRef]
- AngelOne, A. Roce vs roe: What is a Better Measure for Equities? 2022. Available online: https://www.angelone.in/blog/what-is-a-better-measure-for-equities-roe-or-roce (accessed on 18 November 2022).
- Aniyah, D.; Novitasari, D.; Yuwono, T.; Asbari, M. Analysis of the effect of quick ratio (qr), total assets turn over (tato), and debt to equity ratio (der) on return on equity (roe) at pt. xyz. J. Ind. Eng. Manag. Res. (JIEMAR) (Issue). 2020, 1(3), 2722–8878. [Google Scholar]
- Balaraman, S. Comparison of classification models for breast cancer identification using Google Colab, Preprints . 2020.
- Bhandari, A. Understanding and interpreting confusion matrix in machine learning . 2023. Available online: https://www.analyticsvidhya.com/blog/2020/04/confusion-matrix-machine-learning/ (accessed on 02 November 2023).
- Breiman, L. Random Forests. Mach. Learn. (Issue). 2001, 45(1), 5–32. [Google Scholar] [CrossRef]
- De Beer, J.; Keyser, N.; van der Merwe, I. The determinants of firm financial performance: Evidence from Istanbul stock exchange (bist). IOSR J. Econ. Financ. (IOSR-JEF) 2015, 8(6),(Issue), 62–67. [Google Scholar]
- Fernando, A. Return on equity (roe) calculation and what it means . 2023. Available online: https://www.investopedia.com/terms/r/returnonequity.asp (accessed on 23 May 2023).
- Franklin, O.; Emmanuel, O. Logistic regression: A paradigm for dichotomous response data. Int. J. Eng. Sci. (IJES) (Issue). 2014, 3(6), 01–05. [Google Scholar]
- Gharaibeh, O.; Khaled, M. Determinants of profitability in Jordanian services companies. Invest. Manag. Financ. Innov. (Issue). 2020, 17(1), 277–290. [Google Scholar] [CrossRef]
- Ghosh, S. How to compare machine learning models and algorithms’ . 2023. Available online: https://neptune.ai/blog/how-to-compare-machine-learning-models-and-algorithms (accessed on 11 July 2024).
- Hamal, S.; Senvar, O. Comparing performances and effectiveness of Machine Learning classifiers in detecting financial accounting fraud for turkish smes. Int. J. Comput. Intell. Syst. 2021, 14(1),(Issue), 769–782. [Google Scholar] [CrossRef]
- Healy, L. Logistic Regression: An Overview; Easter Michigan College of Technology, 2006. [Google Scholar]
- Hery, S. Analisis Laporan Keuangan, Yogyakarta; Center for Academy Publishing services, 2015. [Google Scholar]
- Hung Do, Q. Forecasting ROA and ROE for Retail Companies in Vietnam by Using Machine Learning Techniques; University of South Africa, 2025. [Google Scholar]
- Josue, M. Determinants of the Returns on Equity of Largest Portuguese Public Limited Companies; Universidad de Lisboa, Lisbon, 2015. [Google Scholar]
- Kharatyan, D. Ratios and Indicators that Determine Return on Equity; Instituto Politecnico De Braganca, 2016. [Google Scholar]
- LaViale, T. Deep dive on KNN: Understanding and implementing the k-nearest neighbors algorithm’ . 2023. Available online: https://arize.com/blog-course/knn-algorithm-k-nearest-neighbor/ (accessed on 11 July 2024).
- Kim; Le Thi, N.; Duvernay, D.; Le Thanh, H. ‘Determinants of financial performance of listed firms manufacturing food products in Vietnam: regression analysis and Blinder–Oaxaca decomposition analysis’ An evolutionary approach to the combination of multiple classifiers to predict a stock price index. In Journal of Economics and Development;Expert Systems with Applications;Kim et al. (2006); Kim, M., Min, S., Han, I., Eds.; Kim06, 2021; Volume 23(3) 31(2),(Issue), p. 267–283 241–247. [Google Scholar]
- Mohr, A. The disadvantage of using return on equity (roe) . 2017. Available online: https://bizfluent.com/info-8609431-disadvantages-using-return-equity.html (accessed on 12 April 2020).
- Muchabaiwa, H. Logistic Regression to Determine Significant Factors Associated with Share Price change; University of South Africa, 2013. [Google Scholar]
- Nasution, A.; Putri, L.; Dunga, S. The effect of debt to equity ratio and total asset turnover on return on equity in automotive companies and components in Indonesia. In Proceedings of the 3rd International Conference on Accounting, Management and Economics 2018 (ICAME 2018), 2019; Atlantis Press; pp. 182–188. [Google Scholar]
- Park, H. An introduction to logistic regression: From basic concepts to interpretation with particular attention to nursing domain. J. Korean Acad. Nurs. 2013, 43(2),(Issue), 154–164. [Google Scholar] [CrossRef]
- Peng, C.; So, T. Logistic regression analysis and reporting: A primer, Understanding Statistics. Stat. Issues Psychol. (Issue). 2002, 1(1), 31–70. [Google Scholar] [CrossRef]
- Petryni, A. Significance of negative return on shareholders’ equity . 2022. Available online: https://pocketsense.com/significance-negative-return-shareholders-equity-3855.html (accessed on 24 November 2022).
- Pinuji, P. Effects of Financial Ratio on Share Price on Manufacturing Companies in Indonesian Stock Exchange (BEI) in Period of 2005-2007; Muhammadiyah Surakarta University, 2009. [Google Scholar]
- Rosikah, R.; Prananingrum, D.; Muthalib, D.; Azis, M.; Rohansyah, M. Effects of return on asset, return on equity, earning per share on corporate value. Int. J. Eng. Sci. (IJES) (Issue). 2018, 7(3), 06–14. [Google Scholar]
- Samiloglu, F.; Oztop, A.; Kahraman, Y. ‘The Johannesburg stock exchange (JSE) returns, political development and economic forces: a historical perspective’. J. Contemp. Hist. 2017, 40(2),(Issue), 1–24. [Google Scholar]
- Saragih, J. The effects of return on assets (roa), return on equity (roe), and debt to equity ratio (der) on stock returns in wholesale and retail trade companies listed in Indonesia stock exchange. Int. J. Sci. Res. Methodol. 2018, 8(3),(Issue), 348–367. [Google Scholar]
- Satpathy, S. Smote for imbalanced classification with python’ . 2024. Available online: https://www.analyticsvidhya.com/blog/2020/10/overcoming-class-imbalance-using-smote- (accessed on 11 July 2024).
- Singh, V. Roc-auc vs accuracy: Which metric is more important?’ . 2023. Available online: https://www.shiksha.com/online-courses/articles/roc-auc-vs-accuracy/ (accessed on 11 July 2024).
- Tekin, B. What are the internal determinants of return on assets and equity of the energy sector in turkey? Financ. Internet Q. (Issue). 2022, 18(3), 35–50. [Google Scholar]
- Tutcu, B.; Kayaku, M.; Terzio Glu, M.; Unal Uyar, G.F.; Tala, H.; Yetiz, F. Predicting Financial Performance in the IT Industry with Machine Learning: ROA and ROE Analysis . Available online. 2024. (accessed on 20 February 2026). [CrossRef]
- Tuvadaratragool, S. A comparison between return on assets and net profit margin together with total asset turnover in predicting return on equity of Thai listed companies. Grad. Sch. Acad. J. 2023, 19(1),(Issue), 81–96. [Google Scholar]
- Yaswanth, R.; Riyazuddin, Y. Heart disease prediction using machine learning techniques. Int. J. Innov. Technol. Explor. Eng. (IJITEE) 2020, 9(5), 1456–1460. [Google Scholar] [CrossRef]







| Predicted | Actual Class | Actual Class |
|---|---|---|
| Positive | Negative | |
| Positive | True Positive (TP) | False Positive (FP) |
| Negative | False Negative (FN) | True Negative (TN) |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 94.2 | 79.5 | 67.2 | 96.6 |
| Specificity | 99.2 | 98.3 | 96.8 | 98.8 |
| Precision | 97.6 | 94.5 | 87.2 | 96.6 |
| F1 Score | 95.8 | 86.3 | 75.6 | 96.6 |
| Accuracy | 97.7 | 93.2 | 89.0 | 98.2 |
| AUC | 96.9 | 86.2 | 87.1 | 99.4 |
| Variable in the Equation | |||
|---|---|---|---|
| B | Wald | Sig | |
| EPS | .001 | 4.867 | .027 |
| EY | .016 | 4.545 | .033 |
| IC | .011 | 3.263 | .071 |
| NPM | .166 | 55.596 | <.001 |
| PPE | .006 | 3.044 | .081 |
| Constant | -.047 | .118 | .731 |
| Subset Summary | ||
|---|---|---|
| Subset | Predictor Added | Average Log-Likelihood |
| 1 | NPM | -.503 |
| 2 | EY | -.436 |
| 3 | IC | -.391 |
| 4 | EPS | -.360 |
| 5 | PPE | -.335 |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 92.5 | 79.1 | 84.3 | 99.1 |
| Specificity | 98.2 | 95.7 | 90.9 | 98.4 |
| Precision | 98.1 | 94.8 | 90.3 | 98.4 |
| F1 Score | 95.2 | 86.2 | 87.2 | 98.8 |
| Accuracy | 95.4 | 87.3 | 87.6 | 98.8 |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 91.9 | 82.0 | 91.0 | 99.3 |
| Specificity | 98.2 | 93.1 | 94.4 | 98.6 |
| Precision | 98.1 | 92.7 | 94.2 | 98.6 |
| F1 Score | 94.9 | 86.7 | 92.6 | 98.9 |
| Accuracy | 95.0 | 87.4 | 92.7 | 98.9 |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 97.6 | 85.0 | 89.5 | 99.2 |
| Specificity | 99.1 | 97.3 | 87.0 | 100 |
| Precision | 98.8 | 96.0 | 83.0 | 100 |
| F1 Score | 98.1 | 90.1 | 86.0 | 99.6 |
| Accuracy | 98.5 | 92.1 | 87.8 | 99.7 |
| Logistic Regresion | Naive Bayes | K Nearest Neighbour | Random Forest | |
|---|---|---|---|---|
| Sensitivity | 97.2 | 80.5 | 90.6 | 99.2 |
| Specificity | 99.6 | 98.9 | 94.2 | 99.6 |
| Precision | 99.6 | 98.3 | 91.9 | 99.6 |
| F1 Score | 98.4 | 88.5 | 91.2 | 99.4 |
| Accuracy | 98.7 | 91.2 | 92.6 | 99.5 |
| Logistic Regression | p-values | Lasso Regression | Elastic Net Regression | Ridge Regression | |
|---|---|---|---|---|---|
| Intercept | 0.17840 | 0.649 | -0.86010 | -1.22162 | -1.60618 |
| APCE | -0.00789 | 0.964 | 0.00000 | 0.01630 | 0.00165 |
| DTA | -0.27335 | 0.538 | 0.00000 | -0.06427 | -0.08721 |
| DTE | -0.04230 | 0.438 | -0.09931 | -0.17304 | -0.15317 |
| EPS | 0.00126 | 0.033 | 0.47755 | 0.53806 | 0.48336 |
| EY | 0.01497 | 0.045 | 0.59205 | 0.66780 | 0.56697 |
| IC | 0.01134 | 0.063 | 0.46125 | 0.62333 | 0.53401 |
| NPM | 0.16406 | 0.001 | 5.05918 | 6.89091 | 9.08569 |
| PPE | 0.00592 | 0.070 | 0.21534 | 0.26058 | 0.24271 |
| QR | 0.00744 | 0.916 | 0.00000 | 0.03034 | 0.03298 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).