Prediction of insurance membership retention rates using machine learning: a case study of Tanzania’s improved community health insurance fund (iCHF)

Developing countries like Tanzania rely heavily on out-of-pocket (OOP) payments to finance health. Unfortunately, these OOP payments often expose patients to catastrophic health expenditures (CHE), which hinders progress toward universal health coverage (UHC). Tanzania introduced an improved Community Health Fund (iCHF) in 2017/2018 as a prepayment insurance mechanism to reduce the burden of healthcare costs on its population. To our knowledge, there is limited literature in Tanzania using secondary data to predict iCHF membership retention rate. This study aimed to develop a machine learning model for predicting iCHF membership retention using 2019/2020 and 2020/2021 data. This retrospective study targeted 4,020,750 beneficiaries registered in Tanzania’s iCHF health information management system. Claims data were retrieved from iCHF’s electronic database covering the period from 2019 to 2021. A logistic regression model was used as the modelling approach. A confusion matrix was used to calculate model performance metrics such as Area Under the Receiver Operating Characteristic Curve (AUC-ROC), accuracy, sensitivity, and specificity. Annual membership renewal rates in 2019/2020 and 2020/2021 were comparable at 71.5% and 74.8%, respectively. The logistic regression model produced an AUC-ROC of 0.61, indicating a slightly better performance than a random classifier with an AUC-ROC of 0.5. Using a 0.5 cut-off, the model had an accuracy of 71.4%, sensitivity of 99.8% and specificity of 2.6%. The model’s performance significantly improved by adjusting the prediction threshold from 0.5 to 0.7, which changed the accuracy to 60%, sensitivity to 62%, and specificity to 53%. The findings demonstrate the potential of data mining and big data analytics techniques in health insurance data, which is highly underutilised in developing countries. The study has also demonstrated that machine learning models can be trained on iCHF data. Recommendations from this study provide vital considerations in the design of future databases so that they can generate high-quality secondary data.

Authors

Institutions

Publication Details

Journal
Discover Health Systems
Published
2026-03-12
DOI
https://doi.org/10.1007/s44250-026-00358-3
Primary Topic
Healthcare Systems and Reforms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Prediction of insurance membership retention rates using machine learning: a case study of Tanzania’s improved community health insurance fund (iCHF)

Alphoncina Kagaigai, Castory Munishi, Amani Thomas Mori, Oddvar Martin et al.
Discover Health Systems
Healthcare Systems and Reforms
article

Prediction of insurance membership retention rates using machine learning: a case study of Tanzania’s improved community health insurance fund (iCHF)

Alphoncina Kagaigai, Castory Munishi, Amani Thomas Mori, Oddvar Martin, George Ruhago, Othman Haji, James T. Kengia, Jofrey S. Amos
article en

Abstract

Developing countries like Tanzania rely heavily on out-of-pocket (OOP) payments to finance health. Unfortunately, these OOP payments often expose patients to catastrophic health expenditures (CHE), which hinders progress toward universal health coverage (UHC). Tanzania introduced an improved Community Health Fund (iCHF) in 2017/2018 as a prepayment insurance mechanism to reduce the burden of healthcare costs on its population. To our knowledge, there is limited literature in Tanzania using secondary data to predict iCHF membership retention rate. This study aimed to develop a machine learning model for predicting iCHF membership retention using 2019/2020 and 2020/2021 data. This retrospective study targeted 4,020,750 beneficiaries registered in Tanzania’s iCHF health information management system. Claims data were retrieved from iCHF’s electronic database covering the period from 2019 to 2021. A logistic regression model was used as the modelling approach. A confusion matrix was used to calculate model performance metrics such as Area Under the Receiver Operating Characteristic Curve (AUC-ROC), accuracy, sensitivity, and specificity. Annual membership renewal rates in 2019/2020 and 2020/2021 were comparable at 71.5% and 74.8%, respectively. The logistic regression model produced an AUC-ROC of 0.61, indicating a slightly better performance than a random classifier with an AUC-ROC of 0.5. Using a 0.5 cut-off, the model had an accuracy of 71.4%, sensitivity of 99.8% and specificity of 2.6%. The model’s performance significantly improved by adjusting the prediction threshold from 0.5 to 0.7, which changed the accuracy to 60%, sensitivity to 62%, and specificity to 53%. The findings demonstrate the potential of data mining and big data analytics techniques in health insurance data, which is highly underutilised in developing countries. The study has also demonstrated that machine learning models can be trained on iCHF data. Recommendations from this study provide vital considerations in the design of future databases so that they can generate high-quality secondary data.

Discover Health SystemsVol. 5(1)
Muhimbili University of Health and Allied Sciences (TZ), University of Cape Town (ZA), The University of Dodoma (TZ), Ministry of Education and Vocation Training (TZ), National Health Insurance Fund (RS), University of Bergen (NO)
Universitetet i Bergen, Muhimbili University of Health and Allied Sciences
Partnerships for the goals
Openalex Percentile: Top 26%
Healthcare Systems and Reforms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.