ipcwswitch: An R package for inverse probability of censoring weighting with an application to switches in clinical trials

Comput Biol Med. 2019 Aug:111:103339. doi: 10.1016/j.compbiomed.2019.103339. Epub 2019 Jun 24.

Abstract

In randomized clinical trials (RCT), the analysis is based on the intent-to-treat principle to avoid any selection bias in the constitution of groups. However, estimates of overall survival can be biased when significant crossover occurs because the separation of randomized groups is lost. To handle these switches, the inverse probability of censoring weighting (IPCW) method has been proposed; however, it is still poorly used in RCT, notably because of its complex implementation. In particular, for time-to-event outcomes, it can be difficult to format data, especially when time-dependent covariates have to be managed, with different measurement times between patients. This paper aims to present the R package ipcwswitch with some guidance for the analysis of the treatment effect on survival in a hypothetical setting where all patients would have continued to take the randomization treatment. After a brief recall of the key principles of the IPCW method, each step of the implementation is described using a toy example. The guidelines are illustrated in a case study that aimed at evaluating the benefit of therapy based on tumour molecular profiling for advanced cancers, SHIVA01.

Keywords: Inverse probability weighting; R; Randomized clinical trial; Survival analysis; Treatment switch.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Data Interpretation, Statistical*
  • Humans
  • Neoplasms* / mortality
  • Neoplasms* / therapy
  • Randomized Controlled Trials as Topic
  • Software*
  • Survival Analysis*