Related Experiment Video
Updated: Mar 29, 2026

Measurement of Survival Time in Brachionus Rotifers: Synchronization of Maternal Conditions
Published on: July 22, 2016
Analysis of survival adjusted for quality of life using the Q-TWiST function: Interface in R
Emilie Bogart1, Anaïs Jouin1, Hélène Béhal2
1Methodology and Biostatistics Unit, Centre Oscar Lambret, Lille and SIRIC ONCOLille, France.
Objective:
The analysis of treatment effects in clinical trials usually focus on efficacy and safety in separate descriptive statistical analyses. The Q-TWiST (Quality adjusted Time Without Symptoms and Toxicity) method has been proposed by Gelber in the 90s to enable a statistical comparison between two groups with a graphical representation by incorporating benefit and risk into a single analysis. Although the method has been programmed in SAS, it is rarely used. The availability of the method in the freely software environment system like R would greatly enhanced the accessibility by researchers. The objective of this paper is to present a program for Q-TWiST analyses within R software environment.
Methods:
The qtwist function was developed in order to estimate and compare Q-TWiST for two groups. Two individual patient data files are required used for input: one for visits and one for follow-up. Q-TWiST is obtained as a sum of time spent in three health states: period in toxicity (TOX), period without relapse and toxicity (TWiST) and period in relapse (REL), weighted by associated utility scores restricted to median overall survival for example. The bootstrap method is used for testing statistical significance. Threshold analysis and gain functions allow a group comparison for different utility values.
Results:
Input data is checked for consistency. Descriptive statistics and mean durations for each health state are provided, allowing statistical comparisons. Graphical results are presented in a PDF file. The use of the function is illustrated with data from a simulated data set and a randomized clinical trial.
Conclusions:
qtwist is an easy to use R function, allowing a quality adjusted survival analysis with the Q-TWiST method.
Related Concept Videos
Assumptions of Survival Analysis
Comparing the Survival Analysis of Two or More Groups
Cancer Survival Analysis
Truncation in Survival Analysis
Left truncation occurs when individuals who experienced the event of interest before a certain time are not included in the study. This is often due to a "delayed entry" into the study where only those who survive until a certain entry point are...
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...

