-
Notifications
You must be signed in to change notification settings - Fork 0
IPW RMST Validation Stress‐Test
This repository contains a simulation-based stress test of a clone-censor-weighting (CCW) restricted mean survival time (RMST) pipeline under realistic violations of target trial emulation assumptions.
The goal is to answer a single, important scientific question:
When real-world assumptions fail in realistic ways, does CCW-RMST fail catastrophically, misleadingly, or gracefully?
The pipeline fails gracefully under epidemiologically plausible departures from ideal conditions:
- Directionally informative — Null scenarios give ≈0 effect; protective scenarios recover a negative ΔRMST
- Stable diagnostics — Weights remain usable, ESS does not collapse, convergence flags work
- Negative lags ≈ 0 — No spurious pre-vaccination effects even with latent confounding
- Placebo centered near 0 — Falsification test behaves as expected
These results provide strong support for using CCW-RMST as a safe, diagnostically reliable exploratory tool in observational vaccine effectiveness studies — especially when only limited measured confounders (e.g., age and sex) are available.
-
Scenarios
- Null (true HR ≈ 1)
- Protective (true HR ≈ 0.7)
-
Realistic Data-Generating Process
- Calendar-time mortality waves (seasonal + epidemic)
- Phased vaccination rollout with supply shocks
- Age/sex prioritization
- Latent unmeasured health confounder (affects both vaccination timing and death hazard)
-
Methodological Pipeline
- Clone-Censor-Weighting with strategy-specific IPCW
- Calendar-time + relative-time B-splines in propensity and hazard models
- Stabilized weights (clipped factors before cumprod, percentile truncation)
- Pooled logistic regression (CLogLog link) on person-day rows with frequency weights
- Bootstrap CIs + placebo falsification (sampled from numerator inside each replicate)
- Weighted averaging over t₀ grid by n_eligible(t₀)
-
Diagnostics
- Effective sample size (ESS)
- Standardized mean differences (SMDs)
- Positivity violations
- Censoring rates
- GLM convergence flags
The simulation demonstrates that CCW-RMST exhibits substantial robustness to realistic violations of sequential ignorability — including latent confounding, nonstationary hazards, and phased treatment assignment.
Negative lags and placebo checks behave as expected falsification tests, and the method recovers direction and rough magnitude even under stress.
This supports the use of CCW-RMST as a safe, diagnostically trustworthy exploratory tool in observational vaccine mortality studies with limited measured confounders.
Status: January 2026 — simulation-based methodological stress test (not proof of causal identification)
Full code: AG) Clone Censor weight RMST Stress-Test simulation.py
-
Bias-Necessity RMST Audit: Methodological Framework Bias Necessity via Biology only Falsification
-
Full Run Results : Full Run Results – Bias‐Necessity RMST Audit
- Descriptive Event-Time Hazard Study : Run Results - Mortality Timing Around Vaccination Eligibility in Czechia
- AG70 results and data files: Results and Result-Files AG70
- Interactive HTML plots (PNG previews): HTML Plot Files shown as PNG
- Age 70 mortality analysis: Age 70 Mortality Analysis Results
- Simple explanation: Peircean Evidence‑Weighted RMST – Simple Explanation
- Method paper / technical details: Peircean Evidence‑Weighted RMST – Method Paper
- IPW RMST Stress-Test Simulation: Clone Censor weight RMST Stress-Test simulation