Impact of Socio Demographic Factors on Health Outcomes: An Analytical Study Using Machine Learning Algorithms

Authors

  • Bilal Ur Rehman University of Engineering and Technology, Peshawar, Pakistan
  • Kifayat Ullah University of Engineering and Technology, Peshawar, Pakistan
  • Wasim Habib University of Engineering and Technology, Peshawar, Pakistan
  • Muhammad Amir University of Engineering and Technology, Peshawar, Pakistan
  • Muhammad Iftikhar Khan University of Engineering and Technology, Peshawar, Pakistan

Keywords:

Socio-Demographic Factors, Health Outcomes, Machine Learning, Random Forest, Disease Prediction, Healthcare Data Analysis

Abstract

Socio-demographic factors, including age, gender, education level, socioeconomic status, and lifestyle characteristics, play a significant role in determining health outcomes. This study investigates the influence of socio-demographic variables on disease occurrence and severity among patients in Peshawar, Pakistan, using traditional statistical analysis and machine learning approaches. Four machine learning classifiers, including Decision Tree (DT), Random Forest (RF), Logistic Regression (LR), and Support Vector Machine (SVM), were developed and evaluated for health outcome prediction. The performance of the models was assessed using accuracy, precision, recall, F1-score, and Area Under the Receiver Operating Characteristic Curve (AUC-ROC). The Random Forest model demonstrated the highest predictive capability, achieving an accuracy of 92%, precision of 74%, recall of 68%, F1-score of 71%, and AUC value of 0.78, outperforming SVM (accuracy: 90%, AUC: 0.72), Logistic Regression (accuracy: 89%, AUC: 0.70), and Decision Tree (accuracy: 82%, AUC: 0.62). Feature importance analysis revealed that age was the most influential socio-demographic predictor, followed by lifestyle and occupational factors. Statistical evaluation confirmed significant associations between selected socio-demographic variables and health outcomes (p < 0.05). These findings demonstrate that machine learning models, particularly Random Forest, can effectively capture complex nonlinear relationships between socio-demographic characteristics and disease risk, providing valuable insights for targeted healthcare planning and preventive interventions.

References

“Social determinants of health: Key concepts.” Accessed: Jul. 08, 2026. [Online]. Available: https://www.who.int/news-room/questions-and-answers/item/social-determinants-of-health-key-concepts

Khadija Liaqat, Hira Zulfiqar, “Health Disparities in Pakistan: Analyzing the Impact of Socioeconomic, Geographic, and Educational Determinants on Healthcare Access and Outcomes,” J. Heal. Rehabil. Res., 2025.

E. J. Topol, “High-performance medicine: the convergence of human and artificial intelligence,” Nat. Med. 2019 251, vol. 25, no. 1, pp. 44–56, Jan. 2019, doi: 10.1038/s41591-018-0300-7.

M. Chen, Y. Hao, K. Hwang, L. Wang and L. Wang, “Disease Prediction by Machine Learning Over Big Data From Healthcare Communities,” IEEE Access, vol. 5, pp. 8869–8879, 2017, doi: 10.1109/ACCESS.2017.2694446.

A. Barredo Arrieta et al., “Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI,” Inf. Fusion, vol. 58, pp. 82–115, 2020, doi: 10.1016/j.inffus.2019.12.012.

Varisha Zuhair, Areesha Babar, “Exploring the Impact of Artificial Intelligence on Global Health and Enhancing Healthcare in Developing Nations,” J. Prim. Care Community Health, 2024, doi: 10.1177/21501319241245847.

Khadija Shams, Alexander Kadow, “Subjective Well-Being, Health and Socio-Demographic Factors Related to COVID-19 Vaccination: A Repeated Cross-Sectional Sample Survey Study from 2021–2022 in Urban Pakistan,” Int. J. Environ. Res. Public Health, vol. 16, p. 6545, 2023, doi: 10.3390/ijerph20166545.

A. Rajkomar, J. Dean, and I. Kohane, “Machine Learning in Medicine,” N. Engl. J. Med., vol. 380, no. 14, pp. 1347–1358, Apr. 2019, doi: 10.1056/NEJMRA1814259;ISSUE:ISSUE:DOI.

V. U. Gongane, M. V. Munot, and A. D. Anuse, “A survey of explainable AI techniques for detection of fake news and hate speech on social media platforms,” J. Comput. Soc. Sci. 2024 71, vol. 7, no. 1, pp. 587–623, Mar. 2024, doi: 10.1007/S42001-024-00248-9.

S. Bharati, M. R. H. Mondal, and P. Podder, “A Review on Explainable Artificial Intelligence for Healthcare: Why, How, and When?,” IEEE Trans. Artif. Intell., vol. 5, no. 4, pp. 1429–1442, Apr. 2024, doi: 10.1109/TAI.2023.3266418.

S. Bharati, M. R. H. Mondal, and P. Podder, “A Review on Explainable Artificial Intelligence for Healthcare: Why, How, and When?,” IEEE Trans. Artif. Intell., vol. 5, no. 4, pp. 1429–1442, Apr. 2024, doi: 10.1109/TAI.2023.3266418.

Qiyang Sun, Alican Akman, “Explainable Artificial Intelligence for Medical Applications: A Review,” ACM Trans. Comput. Healthc., vol. 6, no. 2, 2025, [Online]. Available: https://dl.acm.org/doi/10.1145/3709367

Abeer Al-Nafjan, Amaal Aljuhani, “Artificial Intelligence in Predictive Healthcare: A Systematic Review,” J. Clin. Med., vol. 14, no. 19, 2025, doi: 10.3390/jcm14196752.

Razan Alkhanbouli, Hour Matar Abdulla Almadhaani, Farah Alhosani & Mecit Can Emre Simsekler, “The role of explainable artificial intelligence in disease prediction: a systematic literature review and future research directions,” BMC Med. Inform. Decis. Mak., vol. 25, no. 110, 2025, [Online]. Available: https://link.springer.com/article/10.1186/s12911-025-02944-6

M. Sree Vani, Rayapati Venkata Sudhakar, A. Mahendar, Sukanya Ledalla, Marepalli Radha & M. Sunitha, “Personalized health monitoring using explainable AI: bridging trust in predictive healthcare,” Sci. Rep., 2025, [Online]. Available: https://www.nature.com/articles/s41598-025-15867-z

Ruey Kai Sheu, Mayuresh Sunil Pardeshi, “A Survey on Medical Explainable AI (XAI): Recent Progress, Explainability Approach, Human Interaction and Scoring System,” Sensors, vol. 22, no. 20, p. 8068, 2022, doi: https://doi.org/10.3390/s22208068.

K M Tawsik Jawad, Anusha Verma, Fathi Amsaad, Lamia Ashraf, “AI-Driven Predictive Analytics Approach for Early Prognosis of Chronic Kidney Disease Using Ensemble Learning and Explainable AI,” arXiv:2406.06728, 2025, [Online]. Available: https://arxiv.org/abs/2406.06728

Arne Johannssen, Nataliya Chukhrova, “The crucial role of explainable artificial intelligence (XAI) in improving health care management,” Health Care Manag. Sci., 2025, [Online]. Available: https://pubmed.ncbi.nlm.nih.gov/41026402/

Mohd Arfian Ismail, Ashraf Osman, “Machine Learning in Healthcare: Transformative Applications, Challenges, and Future Directions,” Front. Heal. Inform., vol. 13, no. 2, pp. 806–817, 2024, doi: 10.52783/fhi.63.

Md Zahidul Islam and Masuma Akter, “Machine Learning Approaches for Personalized Treatment Planning in Healthcare Systems,” J. Inf. Technol. Cybersecurity, Artif. Intell., vol. 3, no. 3, pp. 16–30, May 2026, doi: 10.70715/JITCAI.2026.V3.I3.061.

Komal Kumar Napa, Rajkumar Govindarajan, “Comparative analysis of explainable machine learning models for cardiovascular risk stratification using clinical data and shapley additive explanations,” Intell. Med., vol. 12, p. 100268, 2025, doi: https://doi.org/10.1016/j.ibmed.2025.100286.

“Revolutionizing healthcare: the role of artificial intelligence in clinical practice | BMC Medical Education | Springer Nature Link.” Accessed: Jul. 08, 2026. [Online]. Available: https://link.springer.com/article/10.1186/s12909-023-04698-z

“Artificial intelligence in healthcare: applications, challenges, and future directions. A narrative review informed by international, multidisciplinary expertise - PMC.” Accessed: Jul. 08, 2026. [Online]. Available: https://pmc.ncbi.nlm.nih.gov/articles/PMC12645148/

“Machine Learning for Predictive Analytics in Healthcare: Challenges and Opportunities | Artificial Intelligence and Machine Learning Review.” Accessed: Jul. 08, 2026. [Online]. Available: https://scipublication.com/index.php/AIMLR/article/view/92

Ibomoiye Domor Mienye, George Obaido, “A survey of explainable artificial intelligence in healthcare: Concepts, applications, and challenges,” Informatics Med. Unlocked, vol. 51, p. 101587, 2024, doi: https://doi.org/10.1016/j.imu.2024.101587.

Zahra Sadeghi, Roohallah Alizadehsani, “A review of Explainable Artificial Intelligence in healthcare,” Comput. Electr. Eng., vol. 118, p. 109370, 2024, doi: https://doi.org/10.1016/j.compeleceng.2024.109370.

Downloads

Published

2026-06-22

How to Cite

Rehman, B. U., Kifayat Ullah, Wasim Habib, Muhammad Amir, & Muhammad Iftikhar Khan. (2026). Impact of Socio Demographic Factors on Health Outcomes: An Analytical Study Using Machine Learning Algorithms. International Journal of Innovations in Science & Technology, 8(3), 1379–1396. Retrieved from https://journal.50sea.com/index.php/IJIST/article/view/1942

Most read articles by the same author(s)

1 2 > >>