Hierarchical Risk Profiles in Tuberculosis Treatment Outcomes: The Role of Drug Resistance, Age, and Socio-Economic Factors
Abstract
1. Introduction
2. Materials and Methods
2.1. Study Design and Setting
2.2. Study Population
2.3. Variables
2.4. Data Analysis
2.5. Statistical Analysis
- Regularized Logistic Regression: We fitted a logistic regression model with L1 (LASSO) penalization to address collinearity and reduce overfitting. Results were expressed as odds ratios (ORs) with exponentiated coefficients. Model performance was evaluated using a 70/30 train–test split, with accuracy and ROC–AUC metrics.
- Decision Tree Classifier: A classification tree was trained using a maximum depth of 4 and a minimum leaf size of 20, with class weighting to account for outcome imbalance. Feature importance values were extracted, and the tree was visualized to facilitate the interpretation of hierarchical risk profiles. Performance was assessed with accuracy, ROC–AUC, precision, recall, and F1-scores on the test set. Analyses were performed using Python version 3.x (scikit-learn, stats models, and matplotlib).
2.6. Decision Tree Analysis
3. Results
3.1. Demographic Characteristics of the Study Population
3.2. TB Treatment Outcome Predictors
3.3. Logistic Regression—Test Set Classification Report
3.4. Decision Tree—Test Set Classification Report
3.5. Decision Tree—Feature Importance
3.6. Key Predictors—Logistic Regression
4. Discussion
4.1. Limitations
4.2. Implications for Policy and Practice
4.3. Recommendations
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ART | Antiretroviral therapy |
| DOT | Directly observed treatment |
| DRTB | Drug-resistant tuberculosis |
| DSTB | Drug-sensitive tuberculosis |
| LTFU | Drug-resistant tuberculosis |
| MDR-TB | Multidrug-resistant tuberculosis |
| NCD | Non-communicable disease |
| NTP | National Tuberculosis Program |
| ORs | Odds ratios |
| PTB | Pulmonary TB |
| PT1 | Previously treated with first-line anti-TB drugs |
| PT2 | Previously treated with second-line anti-TB drugs |
| WHO | World Health Organization |
References
- World Health Organization (WHO). Global Tuberculosis Report; World Health Organization (WHO): Geneva, Switzerland, 2024; Available online: https://iris.who.int/server/api/core/bitstreams/7292c91e-ffb0-4cef-ac39-0200f06961ea/content (accessed on 26 September 2025).
- World Health Organization (WHO). Tuberculosis: Fact Sheet (Updated 14 March 2025); WHO: Geneva, Switzerland, 2025. [Google Scholar]
- Lei, Y.; Wang, J.; Wang, Y.; Xu, C. Geographical evolutionary pathway of global tuberculosis incidence trends. BMC Public Health 2023, 23, 755. [Google Scholar] [CrossRef]
- World Health Organization (WHO) South Africa. Intensifying Efforts to End TB. Available online: https://www.afro.who.int/countries/south-africa/news/south-africa-intensifying-efforts-end-tb (accessed on 19 January 2026).
- Holtgrewe, L.M.; Johnson, A.; Nyhan, K.; Boffa, J.; Shenoi, S.V.; Karat, A.S.; Davis, J.L.; Charalambous, S. Burden of tuberculosis in underserved populations in South Africa: A systematic review and meta-analysis. PLoS Glob. Public Health 2024, 4, e0003753. [Google Scholar] [CrossRef]
- Venter, F. What’s on the Horizon for HIV? Pharma Game of Thrones. 2025. Available online: https://knowledgehub.health.gov.za/system/files/2025-04/HIV%20update%202025%20for%20AHD%20%20-Francoisventer.pdf (accessed on 19 January 2025).
- Statistic South Africa (StasSA) Mid-Year Population Estimates. 2025. Available online: https://www.statssa.gov.za/publications/P0302/P03022025.pdf (accessed on 19 January 2026).
- Tanyanyiwa, F.T.; Van Wyk, R.H.; Setswe, K.G. Assessment of the Syndemic Relationship Between Individual, Social, and Structural Determinants of Tuberculosis Among People Living in Johannesburg, South Africa. Int. J. Environ. Res. Public Health 2025, 22, 1272. [Google Scholar] [CrossRef]
- Emegano, D.I.; Duwa, B.B.; Usman, A.G.; Ahmad, H.; Ozsahin, D.U.; Askar, S. A comparative study on TB incidence and HIVTB coinfection using machine learning models on WHO global TB dataset. Sci. Rep. 2025, 15, 13690. [Google Scholar] [CrossRef]
- Jadhav, S.; Nair, A.; Mahajan, P.; Nema, V. The crosstalk between HIV-TB co-infection and associated resistance in the Indian population. Venereology 2024, 3, 183–198. [Google Scholar] [CrossRef]
- Olivier, C.; Luies, L. WHO goals and beyond: Managing HIV/TB Co-infection in South Africa. SN Compr. Clin. Med. 2023, 5, 251. [Google Scholar] [CrossRef]
- National Department of Health. TB Strategic Plan: 2023–2028 South African National TB Program. Available online: https://tbthinktank.org/wp-content/uploads/2024/05/National-TB-Program-Strategic-Plan-2023-2028.pdf (accessed on 21 January 2026).
- Daneshi, S.; Mehni, E.B.; Kamali, M.; Barfar, E.; Barahouei, F.B.; Hushmandi, K.; Raesi, R. Prevalence and contributing factors of drug-resistant tuberculosis (DR-TB) in Iran: A systematic review. BMC Infect. Dis. 2025, 25, 1004. [Google Scholar] [CrossRef]
- Tusho, A.R.; Mokoboto-Zwane, S.T. Treatment completion of drug-resistant tuberculosis in Ethiopia: A perspective from healthcare users. PLoS Glob. Public Health 2025, 5, e0004110. [Google Scholar] [CrossRef] [PubMed]
- Evelina, L.; Adriana, N.; Serghei, C.; Liliya, T. Predictive factors associated with low tuberculosis treatment outcome: A cross-sectional study. Mold. Med. J. 2017, 60, 7–12. [Google Scholar] [CrossRef]
- Nagarajan, K.; Kumarsamy, K.; Begum, R.; Panibatla, V.; Reddy, R.; Adepu, R.; Munjattu, J.F.; Sellapan, S.; Arangba, S.; Goswami, A.; et al. A dual perspective of psycho-social barriers and challenges experienced by drug-resistant TB patients and their caregivers through the course of diagnosis and treatment: Findings from a qualitative study in Bengaluru and Hyderabad Districts of South India. Antibiotics 2022, 11, 1586. [Google Scholar] [CrossRef] [PubMed]
- Alene, K.A.; Viney, K.; McBryde, E.S.; Clements, A.C. Spatial patterns of multidrug resistant tuberculosis and relationships to socio-economic, demographic and household factors in northwest Ethiopia. PLoS ONE 2017, 12, e0171800. [Google Scholar] [CrossRef]
- Balogun, O.S.; Olaleye, S.A.; Mohsin, M.; Toivanen, P. Investigating machine learning methods for tuberculosis risk factors prediction: A comparative analysis and evaluation. In Proceedings of the 37th International Business Information Management Association (IBIMA), Cordoba, Spain, 30–31 May 2021. [Google Scholar]
- Statistic South Africa (StasSA) 2023. Available online: https://www.statssa.gov.za/?p=16760 (accessed on 21 January 2026).
- National Department of Health National TB Recovery Plan 3.0 April 2024–March 2025. Available online: https://tbthinktank.org/wp-content/uploads/2024/06/TB-Recovery-Plan-3.0-2024-25-ver010624.pdf (accessed on 25 January 2026).
- Seloma, N.M.; Makgatho, M.E.; Maimela, E. Evaluation of drug-resistant tuberculosis treatment outcome in Limpopo province, South Africa. Afr. J. Prim. Health Care Fam. Med. 2023, 15, 3764. [Google Scholar] [CrossRef]
- Nxumalo, E.L.; Sineke, N.; Dlatu, N.; Apalata, T.; Faye, L.M. Treatment Outcomes of Tuberculosis in the Eastern Cape: Clinical and Socio-Demographic Predictors from Two Rural Clinics. Int. J. Environ. Res. Public Health 2025, 22, 1804. [Google Scholar] [CrossRef]
- Osman, M.; van Schalkwyk, C.; Naidoo, P.; Seddon, J.A.; Dunbar, R.; Dlamini, S.S.; Welte, A.; Hesseling, A.C.; Claassens, M.M. Mortality during tuberculosis treatment in South Africa using an 8-year analysis of the national tuberculosis treatment register. Sci. Rep. 2021, 11, 15894. [Google Scholar] [CrossRef]
- Bassett, I.V.; Chetty, S.; Wang, B.; Mazibuko, M.; Giddy, J.; Lu, Z.; Walensky, R.P.; Freedberg, K.A.; Losina, E. Loss to follow-up and mortality among HIV-infected people co-infected with TB at ART initiation in Durban, South Africa. JAIDS J. Acquir. Immune Defic. Syndr. 2012, 59, 25–30. [Google Scholar] [CrossRef] [PubMed][Green Version]
- Bizuneh, F.K.; Bizuneh, T.K.; Masresha, S.A.; Kidie, A.A.; Arage, M.W.; Sirage, N.; Abate, B.B. Tuberculosis-associated mortality and risk factors for HIV-infected population in Ethiopia: A systematic review and meta-analysis. Front. Public Health 2024, 12, 1386113. [Google Scholar] [CrossRef] [PubMed]
- Hiluf, S.B.; Abera, A.; Bahiru, M.; Kassie, B. Determinants of unsuccessful tuberculosis treatment outcome in Southwest Ethiopia regional state public hospitals, 2022: A multi-center case control study. Front. Public Health 2024, 12, 1406211. [Google Scholar] [CrossRef]
- Oyefabi, A.M.; West, C.T.; Ameh, S.; Jiya, E.N.; Sadiq, A.; Dauda, H.; Onoh, M. Predictors of Mortality among Drug-Resistant Tuberculosis Patients in Kaduna State, Nigeria. Niger. J. Clin. Pract. 2023, 26, 825–831. [Google Scholar] [CrossRef]
- Barteka, G.; Bwayo, D.; Matovu, J.K.; Wanume, B.; Alunyo, J.P.; Sseguya, R.; Masaba, J.P.; Obbo, J.S. Treatment outcomes and predictors of success for multidrug-resistant tuberculosis MDR TB in Ugandan regional referral hospitals. Sci. Rep. 2025, 15, 14144. [Google Scholar] [CrossRef]
- Nowiński, A.; Wesołowski, S.; Korzeniewska-Koseła, M. The impact of comorbidities on tuberculosis treatment outcomes in Poland: A national cohort study. Front. Public Health 2023, 11, 1253615. [Google Scholar] [CrossRef] [PubMed]
- Teka, D.; Assegid, S.; Ahmed, J.; Debella, A.; Amentie, E.; Wami, G.; Eyeberu, A. Determinants of unsuccessful TB treatment outcomes among patients on directly observed treatment short course in Jimma town health facilities, Southwest Ethiopia: A Case-Control study. Infect. Drug Resist. 2023, 15, 6427–6435. [Google Scholar] [CrossRef] [PubMed]
- Mengesha, M.M.; Gebremichael, M.A.; Watumo, D.; Hallström, I.K.; Jerene, D. Poor adult tuberculosis treatment outcome and associated factors in Gibe Woreda, Southern Ethiopia: An institution-based cross-sectional study. PLoS Glob. Public Health 2022, 2, e0000161. [Google Scholar] [CrossRef]
- Dlatu, N.; Longo-Mbenza, B.; Apalata, T. Predictors of tuberculosis incidence and the effects of multiple deprivation indices on tuberculosis management in OR Tambo district over 5 years. PLoS ONE 2022, 17, e0264811. [Google Scholar] [CrossRef]
- Ngah, V.D.; Rangoanana, M.; Fwemba, I.; Maama, L.; Maphalale, S.; Molete, M.; Ratikoane, R.; Ogunrombi, M.; Daramola, J.; Nyasulu, P.S. Evaluating determinants of treatment outcomes among tuberculosis patients in the mining district of Butha Buthe, Lesotho. IJID Reg. 2023, 6, 62–67. [Google Scholar] [CrossRef] [PubMed]
- Gichuhi, H.W.; Magumba, M.; Kumar, M.; Mayega, R.W. A machine learning approach to explore individual risk factors for tuberculosis treatment non-adherence in Mukono district. PLoS Glob. Public Health 2023, 3, e0001466. [Google Scholar] [CrossRef]
- Anley, D.T.; Akalu, T.Y.; Dessie, A.M.; Anteneh, R.M.; Zemene, M.A.; Bayih, W.A.; Solomon, Y.; Gebeyehu, N.A.; Kassie, G.A.; Mengstie, M.A.; et al. Prognostication of treatment non-compliance among patients with multidrug-resistant tuberculosis in the course of their follow-up: A logistic regression–based machine learning algorithm. Front. Digit. Health 2023, 5, 1165222. [Google Scholar] [CrossRef]
- Xue, Y.; Zhou, J.; Wang, P.; Lan, J.H.; Lian, W.Q.; Fan, Y.Y.; Xu, B.N.; Yin, J.P.; Feng, Z.H.; Zhou, J.; et al. Burden of tuberculosis and its association with socio-economic development status in 204 countries and territories, 1990–2019. Front. Med. 2022, 9, 905245. [Google Scholar] [CrossRef]
- Wang, Y.; Liu, X.; Li, Y.; Liu, M.; Wang, Y.; Zhang, H.; Liu, J.; Zhao, Y. Association of urbanization-related factors with tuberculosis incidence among 1992 counties in China from 2005 to 2019: A nationwide observational study. Infect. Dis. Poverty 2025, 14, 30. [Google Scholar] [CrossRef]
- Lu, B.; Shi, Y.; Wang, M.; Jin, C.; Liu, C.; Pan, X.; Chen, X. Development of a clinical prediction model for poor treatment outcomes in the intensive phase in patients with initial treatment of pulmonary tuberculosis. Front. Med. 2025, 12, 1472295. [Google Scholar] [CrossRef]
- Phat, N.K.; Lee, Y.; Vu, D.H.; Long, N.P.; Park, S. Risk factors for tuberculosis treatment outcomes: A statistical learning-based exploration using the SINAN database with incomplete observations. BMC Med. Inform. Decis. Mak. 2025, 25, 301. [Google Scholar] [CrossRef] [PubMed]

| Predictor | Category/Unit | OR |
|---|---|---|
| Drug resistance status | Drug-susceptible vs. drug-resistant | 6.423 |
| Age | Per one-year increase | 1.013 |
| Any comorbidity | Yes vs. no | 3.212 |
| HIV status | HIV-negative vs. HIV-positive | 3.462 |
| Income source | No income vs. salaried income | 0.624 |
| Gender | Female vs. male | 0.436 |
| Constant (intercept) | — | 0.364 |
| Class | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| 0 | 0.333 | 0.182 | 0.235 | 11.000 |
| 1 | 0.899 | 0.952 | 0.925 | 84.000 |
| accuracy | 0.863 | 0.863 | 0.863 | 0.863 |
| macro avg | 0.616 | 0.567 | 0.580 | 95.000 |
| weighted avg | 0.833 | 0.863 | 0.845 | 95.000 |
| Class | Precision | Recall | F1-Score | Support |
|---|---|---|---|---|
| 0 | 0.156 | 0.455 | 0.233 | 11.000 |
| 1 | 0.905 | 0.679 | 0.776 | 84.000 |
| accuracy | 0.653 | 0.653 | 0.653 | 0.653 |
| macro avg | 0.531 | 0.567 | 0.504 | 95.000 |
| weighted avg | 0.818 | 0.653 | 0.713 | 95.000 |
| Predictor | Feature Importance |
|---|---|
| Drug resistance status (DR vs. DS) | 0.391 |
| Age | 0.361 |
| Income source (no income) | 0.193 |
| Any comorbidity | 0.055 |
| Social history | 0.000 |
| Patient category | 0.000 |
| Previous TB treatment history | 0.000 |
| Occupation | 0.000 |
| Gender | 0.000 |
| HIV status | 0.000 |
| Predictor | Category/Comparison | Odds Ratio (OR) |
|---|---|---|
| Social history | Smoking and drugs vs. none | 687.006 |
| Occupation | Private sector vs. unemployed | 14.707 |
| Patient category | Treatment failure (TF1) vs. new | 14.461 |
| Drug resistance status | Drug-susceptible vs. drug-resistant | 6.423 |
| HIV status | HIV-negative vs. HIV-positive | 3.462 |
| Any comorbidity | Yes vs. no | 3.212 |
| Age | Per one-year increase | 1.013 |
| Income source | No income vs. salaried income | 0.624 |
| Gender | Female vs. male | 0.436 |
| Constant (intercept) | — | 0.364 |
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.
Share and Cite
Ndamase, N.; Faye, L.M.; Dlatu, N.; Apalata, T.; Hosu, M.C. Hierarchical Risk Profiles in Tuberculosis Treatment Outcomes: The Role of Drug Resistance, Age, and Socio-Economic Factors. Microbiol. Res. 2026, 17, 42. https://doi.org/10.3390/microbiolres17020042
Ndamase N, Faye LM, Dlatu N, Apalata T, Hosu MC. Hierarchical Risk Profiles in Tuberculosis Treatment Outcomes: The Role of Drug Resistance, Age, and Socio-Economic Factors. Microbiology Research. 2026; 17(2):42. https://doi.org/10.3390/microbiolres17020042
Chicago/Turabian StyleNdamase, Nande, Lindiwe Modest Faye, Ntandazo Dlatu, Teke Apalata, and Mojisola Clara Hosu. 2026. "Hierarchical Risk Profiles in Tuberculosis Treatment Outcomes: The Role of Drug Resistance, Age, and Socio-Economic Factors" Microbiology Research 17, no. 2: 42. https://doi.org/10.3390/microbiolres17020042
APA StyleNdamase, N., Faye, L. M., Dlatu, N., Apalata, T., & Hosu, M. C. (2026). Hierarchical Risk Profiles in Tuberculosis Treatment Outcomes: The Role of Drug Resistance, Age, and Socio-Economic Factors. Microbiology Research, 17(2), 42. https://doi.org/10.3390/microbiolres17020042

