← Về thư mục
📄 / / profiles / r-and-d / raw_evidence / scientific-agent-skills / skills / clinical-decision-support / references / survival_analysis.md

Survival-Analysis Planning

Scope

The bundled script validates a plan. It does not read time-to-event rows, fit models, draw curves, or provide an individual prognosis.

Start With the Estimand

Align:

  1. Population — eligibility and analysis set.
  2. Condition/comparison — intervention, exposure, or groups being contrasted.
  3. Variable/endpoint — event definition and ascertainment.
  4. Intercurrent-event strategy — how events such as discontinuation, rescue therapy, switching, or competing events relate to the question.
  5. Population-level summary — risk, survival probability, restricted mean survival time, hazard contrast, quantile, or another justified measure.
  6. Time horizon — clinically and statistically justified.

Record time zero, delayed entry, time scale, follow-up end, and calendar/data-cut date.

Endpoint Definition

Specify:

Do not treat a competing event as ordinary independent censoring when the target is absolute event probability.

Descriptive Estimation

Kaplan-Meier estimates are suitable for survival from the event of interest under appropriate censoring assumptions. Report:

When competing events exist, use cumulative-incidence methods for event probabilities. Naively censoring competing events in Kaplan-Meier can overestimate absolute incidence.

Group Comparisons

The log-rank test compares event-time distributions and is most powerful under proportional alternatives. It does not quantify an effect. Pre-specify alternatives if curves may cross or effects may be delayed.

A Cox model estimates a hazard contrast conditional on model specification. Before presenting a single hazard ratio:

If proportional hazards is doubtful, consider:

Report why the selected summary answers the research question.

Competing Risks

Distinguish:

State which question the method answers. A subdistribution hazard ratio is not directly a risk ratio. When modeling several event types, check that resulting probability estimates are coherent.

Primary reference: Austin, Lee, and Fine, competing risks.

Bias and Missingness

Plan for:

Specify sensitivity analyses tied to plausible departures from assumptions. A “best/worst case” alone is rarely sufficient.

Prediction Models

For time-to-event prediction:

Use TRIPOD+AI and PROBAST+AI.

Biomarker Evaluation

For a prognostic biomarker:

For a predictive biomarker, estimate and report a treatment-by-biomarker interaction in an appropriate design. Separate prognostic association from treatment-effect modification.

Uncertainty and Multiplicity

Include:

Do not turn a threshold-crossing p-value into clinical importance.

Primary Method Sources

Plan Validator

python3 scripts/survival_plan_validator.py assets/survival_analysis_plan_template.json

An exit code of zero means required planning fields and selected consistency rules passed. It is not statistical approval.