Censoring refers to a situation in survival analysis where the event of interest is not observed for some of the individuals under study.

In this Statistical Primer, we’ll define three types of censoring often seen in survival analysis studies.

Censoring occurs when the information on the survival time is incomplete or only partially observed.

Censoring can have a significant impact on the analysis and interpretation of survival data. It is essential to appropriately handle censoring in survival analysis to obtain accurate estimates of survival times, covariate effects, and other related parameters.

There are different types of censoring in survival analysis:

  • Right-censoring: This occurs when a participant is still alive or event-free at the end of the study period. In other words, the follow-up time for the participant ends before the event occurs. This is the most common type of censoring in survival analysis.
  • Left-censoring: This occurs when the true event time is known to be less than a certain time, but the exact time is unknown. For example, if an individual is diagnosed with a disease before the study begins but the date of onset of the disease is not known, we have left-censoring.
  • Interval-censoring: This occurs when the event time is known to fall within a certain interval, but the exact time of the event is unknown. For example, if a person develops glaucoma in between visits to the optician but the exact onset is unknown, we have interval censoring.

Latest Resources

Tutorials

Simulating survival data with a continuous time-varying covariate…the right way

In this post we’ll take a look at how to simulate survival data with a continuous, time-varying covariate. The aim is to simulate from a data-generating mechanism appropriate for evaluating a joint longitudinal-survival model. We’ll use the survsim command to simulate the survival times, and the merlin command to fit the corresponding true model. Let’s assume a proportional hazards […]
Read more

Tutorials

An introduction to joint modelling of longitudinal and survival data

This post gives a gentle introduction to the joint longitudinal-survival model framework, and covers how to estimate them using our merlin command in Stata. A joint model consists of a continuous, repeatedly measured (longitudinal) outcome, and a time-to-event, with the two models linked by random effects, or functions of them. Let’s formally define everything we need. For […]
Read more

Tutorials

Joint longitudinal and competing risks models: Simulation, estimation and prediction

This post takes a look at an extension of the standard joint longitudinal-survival model, which is to incorporate competing risks. Let’s start by formally defining the model. We will assume a continuous longitudinal outcome, $$y_{i}(t) = m_{i}(t) \epsilon_{i}(t)$$ where $$m_{i}(t) = X_{1i}(t)\beta_{1} + Z_{i}(t)b_{i}$$ and \(\epsilon_{i}(t)\) is our normally distributed residual variability. We call \(m_{i}(t)\) our […]
Read more

Tutorials

Flexible parametric survival analysis with frailty

This example takes a look at incorporating a frailty, or random intercept, into a flexible parametric survival model, and how to fit them in Stata. First we’ll use merlin to estimate our model, and then the more user-friendly wrapper function stmixed. More details on these models can be found in the following papers: Crowther MJ, Look MP, Riley […]
Read more

Tutorials

Relative survival analysis

Relative survival models are predominantly used in population based cancer epidemiology (Dickman et al. 2004), where interest lies in modelling and quantifying the excess mortality in a population with a particular disease, compared to a reference population, appropriately matched on things like age, gender and calendar time. One of the benefits of the approach is […]
Read more

Tutorials

Multivariate joint longitudinal-survival models

Joint longitudinal-survival models have been widely developed, but there are many avenues of research where they are lacking in terms of methodological development, and importantly, accessible implementations. We think merlin fills a few gaps. In this post, we’ll take a look at the extension to modelling multiple continuous longitudinal outcomes, jointly with survival. For simplicity, I’ll concentrate […]
Read more

Tutorials

Joint longitudinal-survival models with time-dependent effects (non-proportional hazards)

In this post we’ll focus on how to model time-dependent effects (non-proportional hazards), specifically within a joint longitudinal-survival model. Now joint models are becoming commonplace in medical research, but as always, the fundamentals still matter, and indeed are often ignored. We’re going to look at how to account for time-dependency in both baseline covariates in […]
Read more

Videos

Introduction to Epidemiological Study Designs

This video offers a comprehensive introduction to epidemiological study designs, emphasising their classification, key definitions, strengths, limitations, and practical applications. We will dive into the most commonly used study designs, exploring their structure, purpose, and the contexts in which they are most effective. Throughout the video, real-world case studies of landmark research will be used […]
Read more

Videos

State-of-the-art statistical models for modern HTA

At @RedDoorAnalytics, we develop methodology and software for efficient modelling of biomarkers, measured repeatedly over time, jointly with survival outcomes, which are being increasingly used in cancer settings. We have also developed methods and software for general non-Markov multi-state survival analysis, allowing for the development of more plausible natural history models, where patient history can […]
Read more

Specialist subjects

Applied Biostatistics

Applied Biostatistics Biostatistics plays a crucial role in advancing medical research. Whether it’s clinical trials, epidemiological studies, or pre-clinical research, biostatistics is essential for drawing meaningful, impactful conclusions from complex data. Our team consists of internationally recognized experts in applied biostatistics, with deep experience in a wide range of areas such as survival analysis, multi-state […]
Read more

Tutorials

Simulation and estimation of three-level survival models: IPD meta-analysis of recurrent event data

In this example I’ll look at the analysis of clustered survival data with three levels. This kind of data arises in the meta-analysis of recurrent event times, where we have observations (events or censored), k (level 1), nested within patients, j (level 2), nested within trials, i (level 3). Random intercepts The first example will […]
Read more

Statistical Primers

What are competing risks?

Competing risks In survival analysis, competing risks refer to the situation when an individual is at risk of experiencing an event that precludes the event under study to occur. Competing risks commonly occur in studies of cause-specific mortality, as all other causes of death than the one under study might happen before the individuals “have […]
Read more
All Resources