Related Experiment Video
Updated: Apr 7, 2026

A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
Using machine learning to examine medication adherence thresholds and risk of hospitalization
Wei-Hsuan Lo-Ciganic1, Julie M Donohue, Joshua M Thorpe
1*Center for Pharmaceutical Policy and Prescribing, University of Pittsburgh, Pittsburgh, PA †Department of Pharmacy, Practice and Science, College of Pharmacy, University of Arizona, Tucson, AZ Departments of ‡Health Policy and Management, Graduate School of Public Health §Pharmacy and Therapeutics, School of Pharmacy, University of Pittsburgh ∥Center for Health Equity Research and Promotion, Veterans Affairs Pittsburgh Healthcare System Departments of ¶Biostatistics, Graduate School of Public Health #Medicine, School of Medicine, University of Pittsburgh, Pittsburgh, PA **Department of Pharmacy, School of Pharmacy, University of Washington, Seattle, WA.
Background:
Quality improvement efforts are frequently tied to patients achieving ≥80% medication adherence. However, there is little empirical evidence that this threshold optimally predicts important health outcomes.
Objective:
To apply machine learning to examine how adherence to oral hypoglycemic medications is associated with avoidance of hospitalizations, and to identify adherence thresholds for optimal discrimination of hospitalization risk.
Methods:
A retrospective cohort study of 33,130 non-dual-eligible Medicaid enrollees with type 2 diabetes. We randomly selected 90% of the cohort (training sample) to develop the prediction algorithm and used the remaining (testing sample) for validation. We applied random survival forests to identify predictors for hospitalization and fit survival trees to empirically derive adherence thresholds that best discriminate hospitalization risk, using the proportion of days covered (PDC).
Outcomes:
Time to first all-cause and diabetes-related hospitalization.
Results:
The training and testing samples had similar characteristics (mean age, 48 y; 67% female; mean PDC=0.65). We identified 8 important predictors of all-cause hospitalizations (rank in order): prior hospitalizations/emergency department visit, number of prescriptions, diabetes complications, insulin use, PDC, number of prescribers, Elixhauser index, and eligibility category. The adherence thresholds most discriminating for risk of all-cause hospitalization varied from 46% to 94% according to patient health and medication complexity. PDC was not predictive of hospitalizations in the healthiest or most complex patient subgroups.
Conclusions:
Adherence thresholds most discriminating of hospitalization risk were not uniformly 80%. Machine-learning approaches may be valuable to identify appropriate patient-specific adherence thresholds for measuring quality of care and targeting nonadherent patients for intervention.
Related Concept Videos
Drug Therapy
Antianxiety Medications
Drug Dosing: Geriatric Patients
Drug Dosing: Obese Patients
Pharmaceutical Poisoning: Potential Scenarios
Drug Accumulation During Multiple Dosing: Intermittent IV Infusions
Drug Toxicity: Risk factors

