Predictive Model Comparison for Predicting Condom Use: Comparison of Conventional Logistic Regression and Other Machine Learning
DOI:
https://doi.org/10.57152/malcom.v4i4.1489Keywords:
Condom Use, Demographic Health Survey, First Sex, Indonesian Adolescents, Machine LearningAbstract
Condom use at first sex remains an important issue as it shapes future sexual behavior. This study aimed to deploy and predict condom use using five different machine learning classification models. Dataset used for this study was from Indonesian Demographic and Health Survey (IDHS) 2017 with a population of interest was male adolescents. We evaluated five different models, namely logistic regression, naïve bayes, K-Nearest Neighbors, support vector machines, and decision tree. Performances of each model were assessed using metrics such as accuracy, specificity, sensitivity, ROC Curve, and AUC Score. Study found that different models exhibit different accuracy, specificity, sensitivity, ROC Curve, and AUC Score. The decision tree and naïve bayes models remained the models with the highest specificity and sensitivity, however the KNN model expressed the highest AUC score. Result from the conventional logistic regression also explained that condom use was associated with education level, age at first sex, and attitude towards condom use. The government is advised to create equal education opportunities for every adolescent and shape better knowledge and condom attitudes. Future studies are advised to enhance the performance of machine learning models using hyperparameter tuning and other methods.
References
The Joint United Nations Programme on HIV/AIDS, “HIV/AIDS Indonesia.” Accessed: Jul. 15, 2024. [Online]. Available: https://www.unaids.org/en/regionscountries/countries/indonesia
Kementerian Kesehatan Republik Indonesia, “Laporan Eksekutif Perkembangan HIV AIDS dan Penyakit Infeksi Menular Seksual (PIMS) Triwulan I tahun 2023,” DKI Jakarta, 2023.
T. Shafii, K. Stovel, and K. Holmes, “Association between condom use at sexual debut and subsequent sexual trajectories: A longitudinal study using biomarkers,” Am J Public Health, vol. 97, no. 6, pp. 1090–1095, Jan. 2007, doi: 10.2105/AJPH.2005.068437.
National Population and Family Planning Board (BKKBN), Statistics Indonesia (BPS), Ministry of Health (Kemenkes), and ICF, “Indonesia Demographic and Health Survey 2017: Adolescent Reproductive Health.,” DKI Jakarta, 2018.
K. F. Norr et al., “Condom use increased after a peer group intervention implemented by community volunteers in Malawi,” BMC Public Health, vol. 24, no. 1, Dec. 2024, doi: 10.1186/s12889-024-18991-z.
T. H. T. Do, L. C. Le, J. A. Burgess, and D. S. Bui, “Determinants of condom use at sexual debut among young Vietnamese,” International Journal of Adolescent Medicine and Health, vol. 26, no. 3. Walter de Gruyter GmbH, pp. 403–410, Aug. 01, 2014. doi: 10.1515/ijamh-2013-0322.
Y. K. Cheah, A. Suleiman, M. Ramly, C. C. Kee, and K. K. Lim, “The Role of Education and Demographic Factors in Condom Use among Male Drug Users in Malaysia,” Malaysian Journal of Medicine and Health Sciences, vol. 20, no. 1, pp. 52–59, Jan. 2024, doi: 10.47836/mjmhs.20.1.8.
J. Lammers, S. J. G. van Wijnbergen, and D. Willebrands, “Condom use, risk perception, and HIV knowledge: A comparison across sexes in Nigeria,” HIV/AIDS - Research and Palliative Care, vol. 5, pp. 283–293, Oct. 2013, doi: 10.2147/HIV.S31687.
I. G. N. E. Putra, D. Astuti, D. A. Widyastari, and D. Phuengsamran, “Prevalence and determinants of condom use among male adolescents in Indonesia,” Int J Adolesc Med Health, vol. 33, no. 2, Apr. 2018, doi: 10.1515/ijamh-2018-0141.
B. Govindan and K. Maduravasagam, “Deploying machine learning to find out the reasons for not using condom in a questionnaire-based study of 120 patients,” Indian J Sex Transm Dis AIDS, vol. 39, no. 1, pp. 50–54, Jan. 2018, doi: 10.4103/ijstd.IJSTD_64_17.
F. Zhang et al., “Application of machine learning for risky sexual behavior interventions among factory workers in China,” Front Public Health, vol. 11, 2023, doi: 10.3389/fpubh.2023.1092018.
B. Parajuli, C. Adhikari, and N. Tripathi, “Determinants of condom use during last sexual intercourse among male college youth of Kaski, Nepal: A cross-sectional survey,” PLoS One, vol. 16, no. 12 December, Dec. 2021, doi: 10.1371/journal.pone.0261501.
K. Y. L. Dewi, P. P. Januraga, and N. P. Widarini, “Determinants of condom use by male adolescents in Indonesia during their first sexual intercourse: 2017 national survey data analysis,” HIV and AIDS Review, vol. 22, no. 3, pp. 231–236, 2023, doi: 10.5114/hivar.2023.131592.
J. Fieggen, E. Smith, L. Arora, and B. Segal, “The role of machine learning in HIV risk prediction,” Frontiers in Reproductive Health, vol. 4, 2022, doi: 10.3389/frph.2022.1062387.
D. Jurafsky and J. Martin, Speech and Language Processing. Prentince Hall, 2023.
V. Lee, Lin Liu, and R. Jin, “Decision Trees: Theory and Algorithms,” in Data Classification: Algorithms and Applications, 2014.
Z. Zhang, “Introduction to machine learning: K-nearest neighbors,” Ann Transl Med, vol. 4, no. 11, Jun. 2016, doi: 10.21037/atm.2016.03.37.
S. Zhang and J. Li, “KNN Classification With One-Step Computation,” IEEE Trans Knowl Data Eng, vol. 35, no. 3, pp. 2711–2723, Mar. 2023, doi: 10.1109/TKDE.2021.3119140.
I. Wickramasinghe and H. Kalutarage, “Naive Bayes: applications, variations and vulnerabilities: a review of literature with code snippets for implementation,” Soft comput, vol. 25, no. 3, pp. 2277–2293, Feb. 2021, doi: 10.1007/s00500-020-05297-6.
Andrew Ng, “Support Vector Machines.” Accessed: Jul. 15, 2024. [Online]. Available: https://see.stanford.edu/materials/aimlcs229/cs229-notes3.pdf
M. Awad and R. Khanna, “Support Vector Machines for Classification,” in Efficient Learning Machines, Apress, 2015, pp. 39–66. doi: 10.1007/978-1-4302-5990-9_3.
O. Samuel, T. Zewotir, and D. North, “Application of machine learning methods for predicting under-five mortality: analysis of Nigerian demographic health survey 2018 dataset,” BMC Med Inform Decis Mak, vol. 24, no. 1, Dec. 2024, doi: 10.1186/s12911-024-02476-5.
J. Etowa et al., “Factors Associated with Condom Knowledge, Attitude, and Use among Black Heterosexual Men in Ontario, Canada,” Scientific World Journal, vol. 2021, 2021, doi: 10.1155/2021/8862534.
F. Jackson and Z. T. Haile, “Association between educational attainment and risky sexual behaviour among Ghanaian female youth,” Afr Health Sci, vol. 23, no. 1, pp. 301–308, 2023, doi: 10.4314/ahs.v23i1.32.
T. E. Senn, L. A. J. Scott-Sheldon, and M. P. Carey, “Relationship-Specific Condom Attitudes Predict Condom Use Among STD Clinic Patients with both Primary and Non-primary Partners,” AIDS Behav, vol. 18, no. 8, pp. 1420–1427, Aug. 2014, doi: 10.1007/s10461-014-0726-y.
S. M. Md Nor, H. Abdullah, Z. Zaremohzzabieh, W. M. Wan Jaafar, and S. Osman, “The Influence of Healthy Lifestyle Attitude, Subjective Norm, and Perceived Behavioural Control on Healthy Lifestyle Behaviour among Married Individuals in Malaysia: Exploring the Mediating Role of Healthy Lifestyle Intention,” International Journal of Academic Research in Business and Social Sciences, vol. 13, no. 17, Dec. 2023, doi: 10.6007/ijarbss/v13-i17/19834.
K. Omona and J. K. Ssuka, “Early sexual debut and associated factors among adolescents in Kasawo Sub-county, Mukono district, Uganda,” Cogent Public Health, vol. 10, no. 1, Dec. 2023, doi: 10.1080/27707571.2023.2183561.
T. Yosef, T. Nigussie, D. Getachew, and M. Tesfaye, “Prevalence and factors associated with early sexual initiation among college students in southwest Ethiopia,” Biomed Res Int, vol. 2020, 2020, doi: 10.1155/2020/8855276.
Q. Zhou et al., “HIV knowledge, sexual practices, condom use and its associated factors among international students in one province of China: a cross-sectional study,” BMJ Open, vol. 12, no. 8, Aug. 2022, doi: 10.1136/bmjopen-2021-058108.
F. A. Rincón Uribe et al., “Health knowledge, health behaviors and attitudes during pandemic emergencies: A systematic review,” PLoS One, vol. 16, no. 9, p. e0256731, 2021, doi: 10.1371/journal.pone.0256731.
P. Van Empelen and G. Kok, “Condom use in steady and casual sexual relationships: Planning, preparation and willingness to take risks among adolescents,” Psychol Health, vol. 21, no. 2, pp. 165–181, Apr. 2006, doi: 10.1080/14768320500229898.
F. Aditya Kautsar Murti and K. Sari, “Rural-Urban Disparity of Condom Use at the Last Sex among Indonesian Male Adolescents,” Jurnal Kesehatan Reproduksi, vol. 14, no. 2, pp. 105–114, 2023, [Online]. Available: http://journaliakmitangsel2.iakmi.or.id
L. Hu et al., “Condom Use and Related Factors among Rural and Urban Men Who Have Sex With Men in Western China: Based on Information-Motivation-Behavioral Skills Model,” Am J Mens Health, vol. 14, no. 1, Jan. 2020, doi: 10.1177/1557988319899799.
International Agency for Research on Cancer, “Dealing with confounding in the analysis,” in Cancer Epidemiology, World Health Organization, 1999.