Supplementary missing-data sensitivity analysis
Specification date 19 October 2026

Scope
Unchanged expanded-ascertainment cohorts and candidate feature definitions at the 24-hour and 72-hour ICU landmarks. The parent eICU cohort had previously been evaluated; these are additional methodological sensitivity analyses. Original primary models remain fixed references.

Comparisons per landmark
1 Clinical LASSO: original median imputation versus 20 posterior chained-imputation prediction models.
2 PAP-augmented LASSO: the same comparison.
3 Dynamic clinical XGBoost: median plus indicators versus native NaN plus the same training-derived indicators versus native NaN without automatic indicators.
4 PAP-augmented XGBoost: the same three-way comparison. The explicit PAP-recording variable remains present in all PAP specifications.

Requirements
Python 3.12.1 was used. Exact analysis dependency versions are in requirements.txt. Install these in a dedicated virtual environment. The imputation code uses the experimental sklearn IterativeImputer interface and therefore pins sklearn. Microsoft Word/bundled document utilities are used only to prepare the manuscript and are not required for the statistical analysis.

Licensed inputs
The public package intentionally excludes source records, fitted models and individual predictions. A reproducer must independently obtain authorized MIMIC-IV/eICU access, run the supplied parent extraction/feature/reference scripts, and provide:
  code/hemodynamic_extension_20260924/mimic_h24.csv
  code/hemodynamic_extension_20260924/mimic_h72_all.csv
  code/hemodynamic_extension_20260924/eicu_h24.csv
  code/hemodynamic_extension_20260924/eicu_h72_all.csv
  code/hemodynamic_extension_20260924/results/{h24,h72_all}/{expanded_lasso,pap_lasso,dynamic_xgb,pap_xgb}.joblib
and each reference's _development.json, _oof.npy and previously saved refit_union_model_*_patient_predictions.csv. The evaluator also supports an aggregate original-reference check if only the parent external_performance.csv is retained. The new source directory must remain directly below the parent code directory so imports and data paths resolve consistently.

Execution from the code directory
  python missing_sensitivity_20261019/run_sensitivity.py

To reproduce the final manuscript calibration layout after evaluation:
  python missing_sensitivity_20261019/refresh_figures.py
This reads only aggregate calibration coordinates and changes figure layout;
it does not change predictions, fit models or repeat bootstrap resampling.

The runner validates imputation/indicator contracts, performs MIMIC-only nested development, hashes every completed new model, evaluates all models together after the lock is validated, and exports aggregate tables and figures. MI uses 20 stochastic BayesianRidge chains with 10 rounds and averages predictions rather than pooling selected penalized coefficients. See PROTOCOL.md for folds, grids, bounds, seeds, bootstrap and diagnostic definitions.

Output locations
  missing_sensitivity_20261019/private/ contains all fitted imputers/models and individual predictions; do not distribute.
  missing_sensitivity_20261019/public/results/ contains aggregate CSV/JSON results.
  missing_sensitivity_20261019/public/figures/ contains PNG/PDF figures.

Reproduction notes
Use the same software, input order, input definitions, dated protocol and scientific specifications when resuming cached fits. Changed scientific specifications require a fresh output directory and full development. The final lock refuses inconsistent model artifacts. Native XGBoost uses two threads per model; MI uses eight worker processes. Worker count may be lowered for memory constraints while preserving seeds. Predictions from a fixed ordered MI evaluation batch are repeatable because saved posterior random-generator states are restored. This batch inference rule is not a single deterministic bedside score. Bootstrap reuses saved predictions and resamples entire hospitals 1000 times; intervals condition on the fitted models and fixed ensemble predictions, not full development/imputation-model uncertainty. All planned alternatives are reported without external-performance-driven selection or external recalibration.
