What censoring types should we support?

Abierto
#17 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
r
Área
data

Línea de trabajo

This is a design question, not a located code change. Start by reading the census script and its verified table to see how each censoring type was hand-coded, then compare those categories against the time-to-event functions segue already exposes. Done means a written decision on which censoring types (right, interval, competing-risk, recurrent-event) to support and where.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

To help figure this out, we examined Phase III trials submitted to the FDA for the last 15 years (aka the "census"). 325 entries (of 684) with any time-to-event analysis: primary, secondary, sensitivity, or FDA-run. 187 of them have a time-to-event primary analysis.

1. Entries were selected by a time-to-event keyword screen (Kaplan-Meier, log-rank, Cox, hazard ratio, censor, PFS/OS/EFS/DFS, MACE, "time to ...", Fine-Gray, Andersen-Gill, Gehan). 2. Right-censoring reasons were matched by regex, only in sentences that mention censoring. 3. Endpoints whose events are found only at scheduled assessments (PFS, DFS, EFS, TTP, DoR, confirmed disability progression, etc.) were flagged as interval-censored by design. 4. Methods beyond right-censoring and mentions of competing events were found by regex, then **every hit was read and hand-coded** (the `verified` table in the script). We dropped false positives, for example, Kaplan-Meier "cumulative incidence" curves, Jennison-Turnbull repeated CIs, and "death" inside a PFS or OS definition.

Acronyms

- AFT: accelerated failure time (model) - CI: confidence interval - CIF: cumulative incidence function - CV: cardiovascular - DFS: disease-free survival - DoR: duration of response - EFS: event-free survival - FDA: U.S. Food and Drug Administration - IPCW: inverse probability of censoring weighting - KM: Kaplan-Meier - LWYY: Lin-Wei-Yang-Ying (marginal model for recurrent events) - MACE: major adverse cardiovascular events - MS: multiple sclerosis - OGTT: oral glucose tolerance test - OS: overall survival - PFS: progression-free survival - PH: proportional hazards - PROC ICLIFETEST: SAS procedure for interval-censored survival data - PWP: Prentice-Williams-Peterson (recurrent-event model) - RPSFT: rank-preserving structural failure time (crossover adjustment) - SAP: statistical analysis plan - TTE: time-to-event - TTP: time to progression - WLW: Wei-Lin-Weissfeld (marginal model for multiple events) ```

Types of censoring

Type Entries % of 325 Notes
Right-censoring, rule described 218 67% The rest (107) use KM/log-rank/Cox without a stated rule; right-censoring is implied
Interval-censoring by design (event found at scheduled assessments) 178 55% 163 oncology, 7 neurology (MS disability progression), 8 other. Almost always analyzed as right-censored at the assessment date
Competing events documented 21 6% Mostly non-CV death in CV outcome trials and death before progression/recovery
Left-censoring of an event time 0 0% The only "left-censored" mention is viral load below the assay limit (rilpivirine), which is not an event time
Left truncation / delayed entry 0 0% Tebentafusp ran an immortal-time sensitivity analysis (OS from Day 8), but it was handled by excluding patients, not by a truncation method

Reasons for right-censoring (regex screen)

Reason Entries
Intercurrent event (new therapy, rescue, transplant, crossover, treatment stop) 82
Administrative (data cutoff, end of study, last known alive) 70
Loss to follow-up/withdrawal 37
Missed assessments (e.g. event after ≥2 missed scans) 36
Fixed observation window (censored at day X) 14
Not stated 192

How competing events were handled (hand-coded, 21 entries)

Handling Entries Drugs
Competing death treated as censoring (cause-specific in effect) 10 radium-223, ripretinib, empagliflozin, semaglutide, tafamidis, vericiguat, finerenone; COVID-19 deaths censored in sensitivity analyses for nivolumab/relatlimab, elacestrant, fruquintinib
Acknowledged but not modeled, or handling not stated 2 ivabradine (sample size only), peginesatide (reviewer: "death is a competing risk that was not modeled")
Competing-risk method used 9 see next section

Censoring non-CV deaths drew explicit FDA criticism in empagliflozin; the Division Director called it an assumption "not anchored in or compatible with reality".

Methods that go beyond right-censoring

22 entries (7% of 325) used at least one. In 20 of the 22, it was a secondary, supportive, sensitivity, or FDA-run analysis, not the primary analysis. The exceptions are sotagliflozin (primary: marginal Cox model for total events with non-CV death as a terminal event) and teplizumab (SAP primary: Cox model with discrete time intervals at the 6-month OGTT visits; FDA describes it as a Cox PH model).

Class Entries Who ran it Drugs and method
Interval-censored analysis 7 FDA 4, sponsor 3 duvelisib (FDA: interval-censored generalized log-rank), margetuximab (FDA-requested post hoc), sotorasib (FDA), datopotamab deruxtecan (FDA), nirogacestat (PROC ICLIFETEST), pembrolizumab (Finkelstein interval-censored score test, conditional on assessment imbalance), teplizumab (discrete-time Cox)
Midpoint imputation of event time 2 sponsor tebentafusp, capivasertib (evaluation-time-bias sensitivity)
Competing-risk method (Fine-Gray, cumulative incidence/Gray's test, cause-specific) 9 FDA 2, sponsor 7 neratinib (CIF + Gray's test), inotuzumab (FDA: cause-specific and Fine-Gray), duvelisib (FDA: CIF), ensartinib (Fine-Gray), selexipag (Gray's method), remdesivir (Fine-Gray; cause-specific Cox), daprodustat (Fine-Gray), vadadustat (Fine-Gray), sotagliflozin (terminal-event marginal model)
Recurrent/multiple events 7 FDA 3, sponsor 4 rivaroxaban (FDA: Andersen-Gill), vericiguat (Andersen-Gill, WLW), sotagliflozin (LWYY-type marginal Cox), daprodustat (PWP), icatibant (FDA: Andersen-Gill on multiple symptoms), triheptanoin (FDA: Andersen-Gill, single arm), anacaulase (clustered wounds; shared-frailty AFT fallback)
Left-censoring or truncation methods 0

Two more entries (osimertinib, olaparib) list an "evaluation-time bias" sensitivity analysis without saying how it was done. AstraZeneca SAPs often use midpoint imputation for this, but the census doesn't say so, so we don't count them.

By therapeutic area

Therapeutic area TTE entries Interval-censored by design Beyond-right method
Oncology 178 163 11
Cardiovascular / Metabolic 34 0 4
Neurology / Psychiatry 19 7 0
Hematology 17 4 2
Rare Disease / Genetic / Metabolic-genetic 17 0 2
Infectious Disease 16 1 1
Other / Misc 16 2 1
Immunology / Rheumatology / Dermatology 15 0 0
Endocrine 5 1 1
Gastroenterology 4 0 0
Ophthalmology 2 0 0
Respiratory 2 0 0

Analyses aimed at informative right-censoring (regex screen)

These stay within the right-censoring framework but relax the independent-censoring assumption. 89 entries (27%) mention at least one.

Method Entries
Worst-case / censored-as-event 38
Tipping-point 33
IPCW 16
RPSFT (crossover) 14
Reverse KM / time-to-censoring check 8

Summary

  • Right-censoring is universal; two-thirds of entries describe the rule.
  • Interval-censoring is the most common censoring that is not right-censoring: more than half of the entries (nearly all of oncology) have assessment-based endpoints. Only 9 entries analyzed it as such (7 interval-censored analyses, 2 midpoint imputations), and 4 of the 7 were run or requested by the FDA, typically when the PFS difference was smaller than the scan interval.
  • Competing events are documented in 21 entries. 10 handle them by censoring, 2 don't say, and 9 use a competing-risk method, usually as a supportive analysis.
  • Recurrent-event models appear in 7 entries, 3 of them FDA reanalyses.
  • No entry has left-censored event times or used a left-truncation method.
  • Overall, 22 of 325 entries (7%) used any method beyond right-censoring, and only 2 used it as the primary analysis.
Lenguaje dominante
R
Estrellas
0
Forks
0
Merge medio
3 d 13 h
PR fusionados (30 d)
6

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de posit-dev/segue

Todos los issues de posit-dev/segue

Issues similares

Más issues de R

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.