scientific-skills/clinical-decision-support/references/outcome_analysis.md
Rigorous outcome analysis is essential for clinical decision support documents. This guide covers survival analysis, response assessment, statistical testing, and data visualization for patient cohort analyses and treatment evaluation.
Overview
Key Concepts
Censoring
Survival Function S(t)
Median Survival
Survival Rates at Fixed Time Points
Calculation Example
Time Events At Risk Survival Probability
0 0 100 1.000
3 2 100 0.980 (98/100)
5 1 95 0.970 (97/100 × 95/98)
8 3 87 0.936 (94/100 × 92/95 × 84/87)
...
Purpose: Compare survival curves between two or more groups
Null Hypothesis: No difference in survival distributions between groups
Test Statistic
Reporting
Assumptions
Alternatives for Non-Proportional Hazards
Purpose: Multivariable survival analysis, estimate hazard ratios adjusting for covariates
Model: h(t|X) = h₀(t) × exp(β₁X₁ + β₂X₂ + ... + βₚXₚ)
Hazard Ratio Interpretation
Example Output
Variable HR 95% CI p-value
Treatment (B vs A) 0.62 0.43-0.89 0.010
Age (per 10 years) 1.15 1.02-1.30 0.021
ECOG PS (2 vs 0-1) 1.85 1.21-2.83 0.004
Biomarker+ (vs -) 0.71 0.48-1.05 0.089
Proportional Hazards Assumption
Multivariable vs Univariable
Model Selection
Target Lesions
Response Categories
Complete Response (CR)
Partial Response (PR)
Stable Disease (SD)
Progressive Disease (PD)
Example Calculation
Baseline SLD: 80 mm (4 target lesions)
Week 6 SLD: 52 mm
Percent change: (52 - 80)/80 × 100% = -35%
Classification: Partial Response (≥30% decrease)
Week 12 SLD: 48 mm (nadir)
Week 18 SLD: 62 mm
Percent change from nadir: (62 - 48)/48 × 100% = +29%
Absolute change: 62 - 48 = 14 mm
Classification: Progressive Disease (>20% AND ≥5 mm increase)
Purpose: Account for atypical response patterns with immunotherapy
Modifications from RECIST v1.1
iUPD (Immune Unconfirmed Progressive Disease)
iCPD (Immune Confirmed Progressive Disease)
Pseudoprogression
New Lesions
Lugano Classification (Lymphoma)
RANO (Response Assessment in Neuro-Oncology)
mRECIST (Modified RECIST for HCC)
Overall Survival (OS)
Progression-Free Survival (PFS)
Objective Response Rate (ORR)
Disease Control Rate (DCR)
Duration of Response (DOR)
Time to Treatment Failure (TTF)
Adverse Events (CTCAE v5.0)
Grading
Reporting Standards
Adverse Event Summary Table:
AE Term (MedDRA) Any Grade, n (%) Grade 3-4, n (%) Grade 5, n (%)
Trt A Trt B Trt A Trt B Trt A Trt B
─────────────────────────────────────────────────────────────────────────
Hematologic
Anemia 45 (90%) 42 (84%) 8 (16%) 6 (12%) 0 0
Neutropenia 35 (70%) 38 (76%) 15 (30%) 18 (36%) 0 0
Thrombocytopenia 28 (56%) 25 (50%) 6 (12%) 4 (8%) 0 0
Febrile neutropenia 4 (8%) 6 (12%) 4 (8%) 6 (12%) 0 0
Gastrointestinal
Nausea 42 (84%) 40 (80%) 2 (4%) 1 (2%) 0 0
Diarrhea 31 (62%) 28 (56%) 5 (10%) 3 (6%) 0 0
Mucositis 18 (36%) 15 (30%) 3 (6%) 2 (4%) 0 0
Any AE 50 (100%) 50 (100%) 38 (76%) 35 (70%) 1 (2%) 0
Serious Adverse Events (SAEs)
Treatment Modifications
Independent Samples t-test
Mann-Whitney U Test (Wilcoxon Rank-Sum)
ANOVA (Analysis of Variance)
Chi-Square Test for Independence
Fisher's Exact Test
McNemar's Test
Power Analysis Components
Survival Study Sample Size
Response Rate Study
Example: Detect ORR difference 45% vs 30% (15 percentage points)
- α = 0.05 (two-sided)
- Power = 0.80
- Sample size: n = 94 per group (188 total)
- With 10% dropout: n = 105 per group (210 total)
Kaplan-Meier Plot Best Practices
# Key elements for publication-quality survival curve
1. X-axis: Time (months or years), starts at 0
2. Y-axis: Survival probability (0 to 1.0 or 0% to 100%)
3. Step function: Survival curve with steps at event times
4. 95% CI bands: Shaded region around survival curve (optional but recommended)
5. Number at risk table: Below x-axis showing n at risk at time intervals
6. Censoring marks: Vertical tick marks (|) at censored observations
7. Legend: Clearly identify each curve
8. Log-rank p-value: Prominently displayed
9. Median survival: Horizontal line at 0.50, labeled
10. Follow-up: Median follow-up time reported
Number at Risk Table Format
Number at risk
Group A 50 42 35 28 18 10 5
Group B 48 38 29 19 12 6 2
Time 0 6 12 18 24 30 36 (months)
Hazard Ratio Annotation
On plot: HR 0.62 (95% CI 0.43-0.89), p=0.010
Or in caption: Log-rank test p=0.010; Cox model HR=0.62 (95% CI 0.43-0.89)
Purpose: Visualize individual patient responses to treatment
Construction
Example Annotations
■ = Biomarker-positive
○ = Biomarker-negative
* = Ongoing response
† = Progressed
Purpose: Display subgroup analyses with hazard ratios and confidence intervals
Construction
Subgroups to Display
Subgroup n HR (95% CI) Favors A Favors B
──────────────────────────────────────────────────────────────────────────
Overall 300 0.65 (0.48-0.88) ●────┤
Age
<65 years 180 0.58 (0.39-0.86) ●────┤
≥65 years 120 0.78 (0.49-1.24) ●──────┤
Sex
Male 175 0.62 (0.43-0.90) ●────┤
Female 125 0.70 (0.44-1.12) ●─────┤
Biomarker Status
Positive 140 0.45 (0.28-0.72) ●───┤
Negative 160 0.89 (0.59-1.34) ●──────┤
p-interaction=0.041
0.25 0.5 1.0 2.0
Hazard Ratio
Interaction Testing
Purpose: Display longitudinal tumor burden changes over time for individual patients
Construction
Clinical Insights
Purpose: Display treatment duration and response for individual patients
Construction
Example
Patient ID |0 3 6 9 12 15 18 21 24 months
──────────────|──────────────────────────────────────────
Pt-001 ●═══PR═══════════|════════PR══════════▼
Pt-002 ●═══PR═══════════════PD■
Pt-003 ●══════SD══════════PD■
Pt-004 ●PR══════════════════════════════════PR▼
...
95% Confidence Interval
Relationship to p-value
Precision
Hazard Ratio CI
Survival Rate CI (Greenwood Formula)
Proportion CI (Exact Binomial)
Right Censoring
Handling Censoring
Mechanisms
Handling Strategies
Response Assessment Missing Data
Flow Diagram
Baseline Table
Outcomes Table
Study Design: Cohort, case-control, or cross-sectional
Participants: Eligibility, sources, selection methods, sample size
Variables: Clearly define outcomes, exposures, predictors, confounders
Statistical Methods: Describe all methods, handling of missing data, sensitivity analyses
Results: Participant flow, descriptive data, outcome data, main results, other analyses
Statistical Analysis Plan (SAP)
Transparency