Truth by region on the super-population: prevalence, x_pred shift, causal AHR / CDE, and a large-sample Cox HR on UNCENSORED potential outcomes. Compare HR_cox_PO with the censored-trial HR from sim_region_metrics(): a gap between them isolates the prognostic-shift / follow-up-truncation mechanism (the Feb-2026 deck) from covariate shift (AHR itself differing by region).
Source:R/mrct_inject_dgm.R
mrct_truth_by_region.RdTruth by region on the super-population: prevalence, x_pred shift, causal AHR / CDE, and a large-sample Cox HR on UNCENSORED potential outcomes. Compare HR_cox_PO with the censored-trial HR from sim_region_metrics(): a gap between them isolates the prognostic-shift / follow-up-truncation mechanism (the Feb-2026 deck) from covariate shift (AHR itself differing by region).
Arguments
- dgm
An MRCT data-generating mechanism returned by
inject_mrct_structure(). Uses its super-populationdf_super, the region indicator and effect-modifier names inmrct, and the AFT parametersmuandtauinmodel_params.- seed
Integer seed passed to
set.seed()before drawing the common error term used to generate the uncensored potential outcomes. Default1L.