跳到正文

临床研究评估与证据追溯

为汇总层面的临床研究整理证据、评价、模型和治理材料,提供 GRADE 资料与逻辑追溯检查;适用研究用途。

开源精选医疗业务31 个文件50,135 Stars浏览次数 0K-Dense-AI/scientific-agent-skills MIT版本 a1043ef
开始使用

适用环境:Python 3.11+; local files only; bundled scripts use the standard library and require no network, credentials, API keys, LLMs, or image services.

输入资料
汇总或原文允许的研究材料 预先明确的研究问题与评价目标 阅读本节完整说明
交付内容
研究评价与证据资料 来源、限制与人工复核清单 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

references/survival_analysis.md

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:

  • exact event;
  • competing events;
  • recurrent events if relevant;
  • ascertainment schedule and adjudication;
  • censoring rules;
  • handling of same-day and tied events;
  • loss to follow-up;
  • administrative censoring;
  • endpoint changes and versioning.

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:

  • numbers at risk;
  • events and censoring;
  • estimates at prespecified times with intervals;
  • median only if estimable;
  • follow-up distribution using an appropriate method;
  • truncation where risk sets become uninformative.

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:

  • assess proportional hazards graphically and analytically;
  • examine functional forms;
  • evaluate influential observations and interactions;
  • define adjustment variables a priori;
  • account for clustering or stratification;
  • avoid interpreting 1 − HR as a reduction in cumulative risk.

If proportional hazards is doubtful, consider:

  • time-varying coefficients;
  • piecewise effects;
  • landmark effects;
  • restricted mean survival time at a justified horizon;
  • survival or cumulative-incidence differences at prespecified times;
  • accelerated failure-time or flexible parametric models.

Report why the selected summary answers the research question.

Competing Risks

Distinguish:

  • cause-specific hazard questions;
  • cumulative-incidence/absolute-risk questions;
  • subdistribution-hazard modeling.

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:

  • informative censoring;
  • delayed entry/left truncation;
  • immortal time;
  • time-dependent confounding;
  • interval censoring;
  • outcome misclassification;
  • missing covariates;
  • competing events;
  • informative visit schedules;
  • treatment switching and rescue treatment;
  • site and calendar effects.

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

Prediction Models

For time-to-event prediction:

  • preserve the locked model and prediction horizon;
  • evaluate calibration at prespecified times;
  • report time-dependent discrimination with uncertainty;
  • use appropriate handling of censoring;
  • evaluate overall and subgroup performance;
  • perform external validation in relevant settings;
  • avoid selecting a horizon after viewing results.

Use TRIPOD+AI and PROBAST+AI.

Biomarker Evaluation

For a prognostic biomarker:

  • analyze continuous form where scientifically justified;
  • pre-specify transformations and threshold;
  • avoid minimum-p-value cut-point searches;
  • report assay and specimen handling;
  • adjust for established prognostic factors;
  • validate externally.

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:

  • confidence intervals for every primary effect;
  • uncertainty in calibration/discrimination;
  • prespecified alpha or interval interpretation;
  • multiplicity strategy for outcomes, times, subgroups, and models;
  • bootstrap or cross-validation details if used;
  • sensitivity analyses;
  • model optimism and overfitting assessment.

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.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan