Heart Disease Classification Using ROSE and I-CHAID with Cramér’s V Bias Correction

Authors

  • ID Annurial Fitrayah Taufiq Universitas Hasanuddin, Makassar, Indonesia
  • ID Siswanto Siswanto Universitas Hasanuddin, Makassar, Indonesia
  • ID Hadijah Hadijah Universitas Negeri Medan, Medan, Indonesia
  • ID Lilis Dwi Sapta Aprilyani Universitas Sam Ratulangi, Manado, Indonesia

DOI:

https://doi.org/10.30812/varian.v9i1.5767

Keywords:

Bias Correction, CHAID, Classification Tree, Cramér’s V, I-CHAID

Abstract

Machine learning applications in healthcare are increasingly important for disease classification using categorical data. The Chi-square Automatic Interaction Detection (CHAID) method is widely used, but it often produces biased results, especially with small or imbalanced datasets. To overcome this limitation, the Improved CHAID (I-CHAID) was developed by integrating bias correction on Cramér’s V. Further performance gains on imbalanced data can be achieved by combining I-CHAID with the Random Oversampling Examples (ROSE) technique. This study aims to determine significant factors influencing heart disease and to evaluate the classification accuracy of the I-CHAID method with bias correction on Cramér’s V. The research was conducted in two stages: (1) balancing the dataset with ROSE and (2) constructing a classification tree of heart disease occurrences using I-CHAID with bias correction. The proposed I-CHAID model correctly classified 98 individuals with heart disease and 110 without heart disease out of 253 test cases. However, 30 cases were undetected (false negatives), and 15 were misclassified (false positives). Overall, the model achieved an accuracy of 84.60%, outperforming the standard CHAID method without bias correction, which reached only 71.15%. The I-CHAID method with Cramér’s V bias correction proved effective in identifying key factors associated with heart disease in Yogyakarta, including generational differences, smoking habits, and dietary patterns rich in fatty and savory foods. These findings highlight the potential of the proposed framework to support more reliable early risk identification and data-driven public health decision-making, particularly when dealing with imbalanced categorical health data.

Downloads

Download data is not yet available.

References

Adeniran, I. A., Efunniyi, C. P., Osundare, O. S., & Abhulimen, A. O. (2024). Data-driven decision-making in healthcare: Improving patient outcomes through predictive modeling. International Journal of Scholarly Research in Multidisciplinary Studies, 5(1), 059–067. https://doi.org/10.56781/ijsrms.2024.5.1.0040

Agraini, A., Fitriana, E., Saquro, A., & Karwiti, W. (2025). Pemberdayaan Masyarakat Dalam Pengendalian Risiko Penyakit Jantung di Desa Penyengat Olak Kabupaten Muaro Jambi. Jurnal Pengabdian Meambo, 4(1), 1–7. https://doi.org/10.56742/jpm.v4i1.102

Ahsan, M. M., & Siddique, Z. (2022). Machine learning-based heart disease diagnosis: A systematic literature review. Artificial Intelligence in Medicine, 128, 102289. https://doi.org/10.1016/j.artmed.2022.102289

Al Anshory, F., Siswanto, S., Thamrin, S. A., & Inayah, I. (2023). Improved Chi Square Automatic Interaction Detection on Students Discontinuation to Secondary School. Jurnal Varian, 7(1), 15–26. https://doi.org/10.30812/varian.v7i1.2627

Amin, M. F. (2022). Confusion Matrix in Binary Classification Problems: A Step-by-Step Tutorial. Journal of Engineering Research, 6(5), 0–0. https://doi.org/10.21608/erjeng.2022.274526

Aprihartha, M. A., Putrawan, Z., Zulhan, D., & Nurfaizal, F. A. (2024). Algoritma Synthetic Minority Oversampling Technique dan C5.0 dalam Mengatasi Ketidakseimbangan Data pada Klasifikasi Kelulusan Siswa. UPGRADE : Jurnal Pendidikan Teknologi Informasi, 2(1), 1–10. https://doi.org/10.30812/upgrade.v2i1.4148

Ben-Shachar, M. S., Patil, I., Thériault, R., Wiernik, B. M., & Lüdecke, D. (2023). Phi, Fei, Fo, Fum: Effect Sizes for Categorical Data That Use the Chi-Squared Statistic. Mathematics, 11(9), 1982. https://doi.org/10.3390/math11091982

Berry, K. J., & Johnston, J. E. (2023). Measures of Nominal Association II. In Statistical Methods: Connections, Equivalencies, and Relationships (pp. 559–632). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-41896-9_12

Blecker, S., Austrian, J. S., Horwitz, L. I., Kuperman, G., Shelley, D., Ferrauiola, M., & Katz, S. D. (2019). Interrupting providers with clinical decision support to improve care for heart failure. International Journal of Medical Informatics, 131, 103956. https://doi.org/10.1016/j.ijmedinf.2019.103956

Boudegzdame, N., Sedki, K., Tspora, R., & Lamy, J.-B. (2024). An Approach for Improving Oversampling by Filtering out Unrealistic Synthetic Data: Proceedings of the 16th International Conference on Agents and Artificial Intelligence, 291–298. https://doi.org/10.5220/0012325400003636

Das, S., Sultana, M., Bhattacharya, S., Sengupta, D., & De, D. (2023). XAI–reduct: Accuracy preservation despite dimensionality reduction for heart disease classification using explainable AI. The Journal of Supercomputing, 79(16), 18167–18197. https://doi.org/10.1007/s11227-023-05356-3

Demir, S., & Sahin, E. K. (2022). Evaluation of Oversampling Methods (OVER, SMOTE, and ROSE) in Classifying Soil Liquefaction Dataset based on SVM, RF, and Naïve Bayes. European Journal of Science and Technology, 34, 142–147. https://doi.org/10.31590/ejosat.1077867

Díaz-Pérez, F. M., & Bethencourt-Cejas, M. (2016). CHAID algorithm as an appropriate analytical method for tourism market segmentation. Journal of Destination Marketing & Management, 5(3), 275–282. https://doi.org/10.1016/j.jdmm.2016.01.006

Dramsch, J. S. (2020). 70 years of machine learning in geoscience in review. In Advances in Geophysics (pp. 1–55, Vol. 61). Elsevier. https://doi.org/10.1016/bs.agph.2020.08.002

Fadillah, D., Haerani, E., Wulandari, F., & Syafria, F. (2025). Klasifikasi Kondisi Janin Menggunakan Algoritma K-Nearest Neighbors dan Teknik SMOTE Berdasarkan Data Kardiotogram. Bulletin of Computer Science Research, 5(4), 482–489. https://doi.org/10.47065/bulletincsr.v5i4.585

Fujiwara, K., Huang, Y., Hori, K., Nishioji, K., Kobayashi, M., Kamaguchi, M., & Kano, M. (2020). Over- and Under-sampling Approach for Extremely Imbalanced and Small Minority Data Problem in Health Record Analysis. Frontiers in Public Health, 8, 178. https://doi.org/10.3389/fpubh.2020.00178

Ghosh, K., Bellinger, C., Corizzo, R., Branco, P., Krawczyk, B., & Japkowicz, N. (2024). The class imbalance problem in deep learning. Machine Learning, 113(7), 4845–4901. https://doi.org/10.1007/s10994-022-06268-8

Gorgan-Mohammadi, F., Rajaee, T., & Zounemat-Kermani, M. (2023). Decision tree models in predicting water quality parameters of dissolved oxygen and phosphorus in lake water. Sustainable Water Resources Management, 9(1), 1. https://doi.org/10.1007/s40899-022-00776-0

Gunduz, M., & Al-Ajji, I. (2022). Employment of CHAID and CRT decision tree algorithms to develop bid/no-bid decision-making models for contractors. Engineering, Construction and Architectural Management, 29(9), 3712–3736. https://doi.org/10.1108/ECAM-01-2021-0042

Hani, S. B., & Ahmad, M. (2024). Predicting mortality amongst Jordanian men with heart attacks using the chi-square automatic interaction detection model. Health Informatics Journal, 30(3), 14604582241270830. https://doi.org/10.1177/14604582241270830

Khatun, M., & Siddiqui, S. (2021). Testing pairs of continuous random variables for independence: A simple heuristic. Journal of Computational Mathematics and Data Science, 1, 100012. https://doi.org/10.1016/j.jcmds.2021.100012

Khushi, M., Shaukat, K., Alam, T. M., Hameed, I. A., Uddin, S., Luo, S., Yang, X., & Reyes, M. C. (2021). A Comparative Performance Analysis of Data Resampling Methods on Imbalance Medical Data. IEEE Access, 9, 109960–109975. https://doi.org/10.1109/ACCESS.2021.3102399

Koldasbayeva, D., Tregubova, P., Gasanov, M., Zaytsev, A., Petrovskaia, A., & Burnaev, E. (2023). Challenges in data-based geospatial modeling for environmental research and practice (1). https://doi.org/10.48550/ARXIV.2311.11057

Lee, D., & Yoon, S. N. (2021). Application of Artificial Intelligence-Based Technologies in the Healthcare Industry: Opportunities and Challenges. International Journal of Environmental Research and Public Health, 18(1), 271. https://doi.org/10.3390/ijerph18010271

Leevy, J. L., Khoshgoftaar, T. M., Bauder, R. A., & Seliya, N. (2018). A survey on addressing high-class imbalance in big data. Journal of Big Data, 5(1), 42. https://doi.org/10.1186/s40537-018-0151-6

Lin, C.-L., & Fan, C.-L. (2019). Evaluation of CART, CHAID, and QUEST algorithms: A case study of construction defects in Taiwan. Journal of Asian Architecture and Building Engineering, 18(6), 539–553. https://doi.org/10.1080/13467581.2019.1696203

Menardi, G., & Torelli, N. (2014). Training and assessing classification rules with imbalanced data. Data Mining and Knowledge Discovery, 28(1), 92–122. https://doi.org/10.1007/s10618-012-0295-5

Mensah, G. A., Fuster, V., Murray, C. J., & Roth, G. A. (2023). Global Burden of Cardiovascular Diseases and Risks, 1990-2022. JACC, 82(25), 2350–2473. https://doi.org/10.1016/j.jacc.2023.11.007

Milanovic, M., & Stamenković, M. (2016). CHAID Decision Tree: Methodological Frame and Application. Economic Themes, 54(4), 563–586. https://doi.org/10.1515/ethemes-2016-0029

Mohammadpour, S. I., Khedmati, M., & Zada, M. J. H. (2023). Classification of truck-involved crash severity: Dealing with missing, imbalanced, and high dimensional safety data (G. Li, Ed.). PLOS ONE, 18(3), e0281901. https://doi.org/10.1371/journal.pone.0281901

Purwanto, A., & Nugroho, H. W. (2023). Analisa Perbandingan Kinerja Algoritma C4.5 dan Algoritma K-Nearest Neighbors untuk Klasifikasi Penerima Beasiswa. Jurnal Teknoinfo, 17(1), 236. https://doi.org/10.33365/jti.v17i1.2370

Qadrini, L., Hikmah, H., & Megasari, M. (2022). Oversampling, Undersampling, Smote SVM dan Random Forest pada Klasifikasi Penerima Bidikmisi Sejawa Timur Tahun 2017. Journal of Computer System and Informatics (JoSYC), 3(4), 386–391. https://doi.org/10.47065/josyc.v3i4.2154

Rashid, S. M. A., & Hossain, S. M. (2022). Stroke and Coronary Heart Diseases, Global and Asian Trend and Risk Factors -A Perspective. Medicine Today, 34(1), 27–35. https://doi.org/10.3329/medtoday.v34i1.58671

Roth, G. A., Mensah, G. A., Johnson, C. O., Addolorato, G., Ammirati, E., Baddour, L. M., Barengo, N. C., Beaton, A. Z., Benjamin, E. J., Benziger, C. P., Bonny, A., Brauer, M., Brodmann, M., Cahill, T. J., Carapetis, J., Catapano, A. L., Chugh, S. S., Cooper, L. T., Coresh, J., . . . Fuster, V. (2020). Global Burden of Cardiovascular Diseases and Risk Factors, 1990–2019. Journal of the American College of Cardiology, 76(25), 2982–3021. https://doi.org/10.1016/j.jacc.2020.11.010

Safitri, S. N., Haryono Setiadi, & Suryani, E. (2022). Educational Data Mining Using Cluster Analysis Methods and Decision Trees based on Log Mining. Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), 6(3), 448–456. https://doi.org/10.29207/resti.v6i3.3935

Selim, A., Ali, I., Saracevic, M., & Ristevski, B. (2024). Application of the digital twin model in higher education. Multimedia Tools and Applications, 84(21), 24255–24272. https://doi.org/10.1007/s11042-024-20014-3

Shrivastava, H., & Chajewska, U. (2024). Methods for Recovering Conditional Independence Graphs: A Survey. Journal of Artificial Intelligence Research, 80, 593–612. https://doi.org/10.1613/jair.1.14676

Shu, X., & Ye, Y. (2023). Knowledge Discovery: Methods from data mining and machine learning. Social Science Research, 110, 102817. https://doi.org/10.1016/j.ssresearch.2022.102817

Strzelecka, A., & Zawadzka, D. (2023). The use of Chi-squared Automatic Interaction Detector (CHAID) analysis to identify characteristics of agricultural households at risk of financial self-exclusions. Procedia Computer Science, 225, 4443–4452. https://doi.org/10.1016/j.procs.2023.10.442

Syahputri, C. N., & Hasibuan, M. S. (2024). Optimasi Klasifikasi Decision Tree dengan Teknik Pruning untuk Mengurangi Overfitting. JSiI (Jurnal Sistem Informasi), 11(2), 87–96. https://doi.org/10.30656/jsii.v11i2.9161

Thölke, P., Mantilla-Ramos, Y.-J., Abdelhedi, H., Maschke, C., Dehgan, A., Harel, Y., Kemtur, A., Mekki Berrada, L., Sahraoui, M., Young, T., Bellemare Pépin, A., El Khantour, C., Landry, M., Pascarella, A., Hadid, V., Combrisson, E., O’Byrne, J., & Jerbi, K. (2023). Class imbalance should not throw you off balance: Choosing the right classifiers and performance metrics for brain decoding with imbalanced data. NeuroImage, 277, 120253. https://doi.org/10.1016/j.neuroimage.2023.120253

Vujovic, Ž. Ð. (2021). Classification Model Evaluation Metrics. International Journal of Advanced Computer Science and Applications (IJACSA), 12(6). https://doi.org/10.14569/IJACSA.2021.0120670

Wongvorachan, T., He, S., & Bulut, O. (2023). A Comparison of Undersampling, Oversampling, and SMOTE Methods for Dealing with Imbalanced Classification in Educational Data Mining. Information, 14(1), 54. https://doi.org/10.3390/info14010054

Yang, Y., Yi, F., Deng, C., & Sun, G. (2023). Performance Analysis of the CHAID Algorithm for Accuracy. Mathematics, 11(11), 2558. https://doi.org/10.3390/math11112558

Zhang, H., Wang, J., & Zhu, W. (2024). Modeling consistency and consensus in social network group decision making: The role of limited dual tolerance and compromise behaviors. Applied Soft Computing, 166, 112130. https://doi.org/10.1016/j.asoc.2024.112130

Downloads

Published

2026-02-28

Issue

Section

Articles

How to Cite

[1]
“Heart Disease Classification Using ROSE and I-CHAID with Cramér’s V Bias Correction”, JV, vol. 9, no. 1, pp. 1–18, Feb. 2026, doi: 10.30812/varian.v9i1.5767.