Related Experiment Video
Updated: Oct 2, 2025

Prediction of HIV-1 Coreceptor Usage Tropism by Sequence Analysis using a Genotypic Approach
Published on: December 1, 2011
Predicting counterfactual risks under hypothetical treatment strategies: an application to HIV
Barbra A Dickerman1,2, Issa J Dahabreh3,4,5, Krystal V Cantos6
1CAUSALab, Harvard T.H. Chan School of Public Health, Boston, MA, USA. bad788@mail.harvard.edu.
Abstract:
The accuracy of a prediction algorithm depends on contextual factors that may vary across deployment settings. To address this inherent limitation of prediction, we propose an approach to counterfactual prediction based on the g-formula to predict risk across populations that differ in their distribution of treatment strategies. We apply this to predict 5-year risk of mortality among persons receiving care for HIV in the U.S. Veterans Health Administration under different hypothetical treatment strategies. First, we implement a conventional approach to develop a prediction algorithm in the observed data and show how the algorithm may fail when transported to new populations with different treatment strategies. Second, we generate counterfactual data under different treatment strategies and use it to assess the robustness of the original algorithm's performance to these differences and to develop counterfactual prediction algorithms. We discuss how estimating counterfactual risks under a particular treatment strategy is more challenging than conventional prediction as it requires the same data, methods, and unverifiable assumptions as causal inference. However, this may be required when the alternative assumption of constant treatment patterns across deployment settings is unlikely to hold and new data is not yet available to retrain the algorithm.
More Related Videos
Related Concept Videos
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast,...
Retrovirus Life Cycles
Strategies for Assessing and Addressing Confounding
Confounding can be addressed at both the design phase of a study and through analytical methods after data...
Counterfactual Thinking
Hazard Ratio
For example, in a clinical trial...
Relative Risk

