What censoring types should we support?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
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.
Acronyms
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de posit-dev/segue
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
-
Add tests for rank statistics on non-censored numeric dataPosiblemente ocupada @topepo la tomó hace 6 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Grouped/By APIAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 45/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Todos los issues de posit-dev/segue
Issues similares
-
Remove {watcher} importAbiertocould enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
paul-buerkner/brms#1985 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexingPosiblemente ocupada @madhavzanwar la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
PecanProject/pecan#4281 ·
Los mantenedores suelen responder en 1 día
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never firesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoComponent: R
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
rubenarslan/formr#60 ·