What censoring types should we support?
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- R
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3日 13時間
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/segue のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
Add tests for rank statistics on non-censored numeric data対応中かも @topepo が 6 日前に担当しました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
Grouped/By APIオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
posit-dev/segue の issue をすべて見る
似ている issue
-
could enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
The-Strategy-Unit/nhp_inputs#758 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
paul-buerkner/brms#1985 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
cull_database_entries() machine_id filter is a no-op due to missing comma in row indexing対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
PecanProject/pecan#4281 ·
メンテナーはふだん 1 日以内に返信
-
[R] abandon_ship() looks up `call` with an inheriting get(), so its "no call" guard never fires対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンComponent: R
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubenarslan/formr#60 ·