Skip to main content
Open access
Methodology
8 May 2026

Development and validation of a method to compare outcomes between switchers and continuers in routine clinical practice

Abstract

Aim: In clinical practice, patients may initiate and continue with a treatment (continuers) or switch to another treatment (switchers). Comparison of clinical outcomes between these cohorts can be challenging owing to several factors including differences in risk profiles, particularly when switching is related to the occurrence of a clinical event of interest and the time-varying nature of the risk of an event. Analyses may be biased if these factors are not considered, including determining the appropriate start point to evaluate outcomes. We developed and validated a method to address these issues. Materials & methods: The proposed method (SMARTS) assigned random pseudo-switching times to continuers, matching the distribution of actual switching times among switchers. Baseline characteristics at (pseudo-) switching time were balanced using propensity score matching, inverse probability of treatment weighting (IPTW) or standardized morbidity ratio weighting. For validation, we conducted a factorial simulation with two clinical scenarios: sicker switchers where switching helps (true post-switching HR = 0.7) and healthier switchers where it harms (true post-switching HR = 1.5), crossed with three hazard trends (constant, increasing, decreasing). A time-varying confounder followed different trajectories for switchers and continuers, with five analysis methods evaluated each condition. The utility of the developed method was assessed in a real-world study. Results: Under increasing hazard, the conventional approach (evaluating continuers from treatment initiation) showed substantial timing bias. For the sicker-switchers scenario (post-switching HR = 0.7), conventional IPTW HR was 1.06 (bias = +0.36); SMARTS IPTW reduced this to 0.78 (bias = +0.08). For the healthier-switchers scenario (post-switching HR = 1.5), conventional IPTW HR was 1.80 (bias = + 0.30); SMARTS IPTW reduced this to 1.41 (bias = -0.09). Under decreasing hazard, timing bias reversed direction: notably, for the healthier-switchers scenario (post-switching HR = 1.5) appeared protective using the conventional approach (IPTW HR = 0.61); SMARTS correctly identified the harmful effect (IPTW HR = 1.46). Under constant hazard, both approaches performed well, confirming that SMARTS specifically addresses timing bias. Application of the method improved results in a real-world study comparing outcomes between continuers and switchers. Conclusion: When hazard varies over time, evaluating continuers from treatment initiation introduces timing bias that can reverse the apparent direction of treatment effect. SMARTS, combined with confounder adjustment via propensity score matching, IPTW or standardized morbidity ratio weighting, substantially reduced this bias across diverse clinical scenarios and hazard trends.

Plain language summary

What is this article about?

This article develops and validates a method for comparing clinical outcomes between two groups of patients using real-world data: those who continue with a treatment and those who switch to another treatment. It addresses the challenges in making fair comparisons due to differences in patient risk profiles and how risk changes over time.

What were the results?

The method developed by the researchers reduced bias in comparing outcomes between the two groups by assigning random pseudo-switching times to patients who continued their treatment, and matching these times with the actual switching times of those who switched treatments. When applied to real-world data, this method produced more accurate estimates of treatment effects compared with traditional methods.

What do the results of the study mean?

The results show that assigning pseudo-switching times and using matching techniques, such as propensity score matching or inverse probability of treatment weighting, can significantly improve the accuracy of comparing clinical outcomes between treatment switchers and continuers. This method offers a more reliable approach to analyzing treatment effects in clinical practice.

Shareable abstract

We developed a method to address confounding effects in comparing clinical outcomes between patients who continue or switch treatments. Our approach improves accuracy using pseudo-switching times. #Pseudo-switching #TreatmentSwitching #BiasReduction

Formats available

You can view the full content in the following formats:

References

Papers of special note have been highlighted as: • of interest
1.
Latimer NR. Treatment switching in oncology trials and the acceptability of adjustment methods. Expert Rev. Pharmacoecon. Outcomes Res. 15(4), 561–564 (2015).
2.
Baker CL, Dhamane AD, Rajpura J et al. Switching to another oral anticoagulant and drug discontinuation among elderly patients with nonvalvular atrial fibrillation treated with different direct oral anticoagulants. Clin. Appl. Thromb. Hemost. 25, 1076029619870249 (2019).
3.
Sullivan TR, Latimer NR, Gray J, Sorich MJ, Salter AB, Karnon J. Adjusting for treatment switching in oncology trials: a systematic review and recommendations for reporting. Value Health 23(3), 388–396 (2020).
4.
Guinart D, Varma K, Segal Y, Talasazana N, Correll CU, Kane JM. Reasons for antipsychotic treatment switch: a systematic retrospective review of prescription records and prescriber notes. J. Clin. Psychiatry 83(5), 42616 (2022).
5.
Singh H, Wilson L, Tencer T, Kumar J. Systematic literature review of real-world evidence on dose escalation and treatment switching in ulcerative colitis. ClinicoEcon. Outcomes Res. 15, 125–138 (2023).
6.
Baker CL, Dhamane AD, Mardekian J et al. Comparison of drug switching and discontinuation rates in patients with nonvalvular atrial fibrillation treated with direct oral anticoagulants in the United States. Adv. Ther. 36(1), 162–174 (2019).
7.
Chen A, Stecker E, Warden BA. Direct oral anticoagulant use: a practical guide to common clinical challenges. J. Am. Heart Association. 9(13), e017559 (2020).
8.
Zhu J, Alexander GC, Nazarian S, Segal JB, Wu AW. Trends and variation in oral anticoagulant choice in patients with atrial fibrillation, 2010–2017. Pharmacotherapy 38(9), 907–920 (2018).
9.
Ezekowitz MD, Pollack CV Jr, Halperin JL et al. Apixaban compared to heparin/vitamin k antagonist in patients with atrial fibrillation scheduled for cardioversion: The EMANATE trial. Eur. Heart J. 39(32), 2959–2971 (2018).
10.
Patel MR, Mahaffey KW, Garg J et al. Rivaroxaban versus warfarin in nonvalvular atrial fibrillation. N. Engl. J. Med. 365(10), 883–891 (2011).
11.
Liu F, Panagiotakos D. Real-world data: a brief review of the methods, applications, challenges and opportunities. BMC Med. Res. Methodol. 22(1), 287 (2022).
12.
Suissa S, Moodie EE, Dell'Aniello S. Prevalent new-user cohort designs for comparative drug effect studies by time-conditional propensity scores. Pharmacoepidemiol. Drug Saf. 26(4), 459–468 (2017).
13.
Robins JM, Tsiatis AA. Correcting for non-compliance in randomized trials using rank preserving structural failure time models. Commun. Stat. Theory Methods 20(8), 2609–2631 (1991).
• Laid out the theoretical foundation of the counterfactual rank preserving structural failure time model for randomized controlled trial.
14.
White IR, Walker S, Babiker AG, Darbyshire JH. Impact of treatment changes on the interpretation of the Concorde trial. AIDS 11(8), 999–1006 (1997).
15.
White IR, Babiker AG, Walker S, Darbyshire JH. Randomization-based methods for correcting for treatment changes: examples from the Concorde trial. Stat. Med. 18(19), 2617–2634 (1999).
• Illustrates the basic principle of Rank Preserving Structural Failure Time Models using the Concorde trial as an example.
16.
Allison A, White IR, Bond S. rpsftm: an R package for rank preserving structural failure time models. R. J. 9(2), 342–353 (2017).
• Introduces and implemented the Rank Preserving Structural Failure Time Models in the statistical language of R.
17.
Frangakis CE, Rubin DB. Principal stratification in causal inference. Biometrics 58(1), 21–29 (2002).
18.
Barnard J, Frangakis CE, Hill JL, Rubin DB. Principal stratification approach to broken randomized experiments. J. Am. Stat. Assoc. 98(462), 299–323 (2003).
19.
Mattei A, Mealli F, Din P. Assessing causal effects in the presence of treatment switching through principal stratification. (2020). https://arxiv.org/abs/2002.11989
20.
Jiménez JL, Niewczas J, Bore A, Burman C-F. A modified weighted log-rank test for confirmatory trials with a high proportion of treatment switching. PLoS One 16(11), e0259178 (2021).
21.
Morden JP, Lambert PC, Latimer N, Abrams KR, Wailoo AJ. Assessing methods for dealing with treatment switching in randomised controlled trials: a simulation study. BMC Med. Res. Methodol. 11, 4 (2011).
• Comprehensive comparison of methods for addressing treatment switching in randomized controlled trial using simulations.
22.
Zeng D, Chen Q, Chen M-H, Ibrahim JG. Estimating treatment effects with treatment switching via semicompeting risks models: an application to a colorectal cancer study. Biometrika 99(1), 167–184 (2012).
23.
Latimer NR, Henshall C, Siebert U, Bell H. Treatment switching: statistical and decision-making challenges and approaches. Int. J. Technol. Assess. Health Care 32(3), 160–166 (2016).
24.
Latimer NR, Abrams KR, Lambert PC, Morden JP, Crowther MJ. Assessing methods for dealing with treatment switching in clinical trials: a follow-up simulation study. Stat. Methods Med. Res. 27(3), 765–784 (2018).
25.
Latimer NR, Abrams KR, Siebert U. Two-stage estimation to adjust for treatment switching in randomised trials: a simulation study investigating the use of inverse probability weighting instead of re-censoring. BMC Med. Res. Methodol. 19(1), 69 (2019).
26.
Feyerabend S, Saad F, Perualila NJ et al. Adjusting overall survival estimates for treatment switching in metastatic, castration-sensitive prostate cancer: results from the LATITUDE study. Target. Oncol. 14(6), 681–688 (2019).
27.
Schneeweiss S, Patorno E. Conducting real-world evidence studies on the clinical outcomes of diabetes treatments. Endocr. Rev. 42(5), 658–690 (2021).
28.
Assimon MM. Confounding in observational studies evaluating the safety and effectiveness of medical treatments. Kidney360 2(7), 1156–1159 (2021).
• Provides overview of common types of confounding arises in real-world data analyses, including time varying confounding, and ways to address them.
29.
Zhang Z, Reinikainen J, Adeleke KA, Pieterse ME, Groothuis-Oudshoorn CGM. Time-varying covariates and coefficients in Cox regression models. Ann. Transl. Med. 6(7), 121 (2018).
30.
Dafni U. Landmark analysis at the 25-year landmark point. Circ. Cardiovasc. Qual. Outcomes 4, 363–371 (2011).
31.
Deitelzweig S, Kang A, Jiang J et al. Clinical impact of switching or continuation of apixaban or rivaroxaban among patients with non-valvular atrial fibrillation. J. Clin. Med. 13(4), 1073 (2024).
• Offered more details about the study that our method is proposed for aiming to compare the clinical risks of patients with non-valvular atrial fibrillation who switch or continue apixaban or rivaroxaban.
32.
Romoli M, Marchetti G, Bernardini F, Urbinati S. Switching between direct oral anticoagulants: a systematic review and meta-analysis. J. Thromb. Thrombolysis 52(2), 560–566 (2021).
33.
Adelakun AR, Turgeon RD, De Vera MA, McGrail K, Loewen PS. Oral anticoagulant switching in patients with atrial fibrillation: a scoping review. BMJ Open 13(4), e071907 (2023).
34.
Salmasi S, Safari A, Kapanen A et al. Oral anticoagulant adherence and switching in patients with atrial fibrillation: a prospective observational study. Res. Social Adm. Pharm. 18(11), 3920–3928 (2022).
35.
Kefale AT, Peterson GM, Bezabhe WM, Bereznicki LR. Switching of oral anticoagulants in patients with nonvalvular atrial fibrillation: a narrative review. Br. J. Clin. Pharmacol. 88(2), 514–534 (2022).
36.
Waldron B. Nonmedical switching of anticoagulants: the patient impact when formulary exclusions limit drug choice. Res. Pract. Thromb. Haemost. 6(2), e12675 (2022).
37.
Dang LE, Gruber S, Lee H et al. A causal roadmap for generating high-quality real-world evidence. J. Clin. Transl. Sci. 7(1), e212 (2023).
38.
Robins JM, Hernán MA, Brumback B. Marginal structural models and causal inference in epidemiology. Epidemiology 11(5), 550–556 (2000).
39.
Hernán MA, Lanoy E, Costagliola D, Robins JM. Comparison of dynamic treatment regimes via inverse probability weighting. Basic Clin. Pharmacol. Toxicol. 98(3), 237–242 (2006).
40.
Zhang X, Stamey JD, Mathur MB. Assessing the impact of unmeasured confounders for credible and reliable real-world evidence. Pharmacoepidemiol. Drug Saf. 29(10), 1219–1227 (2020).