Validation, NCE analysis, per-replicate oracle for landmark/naive, RCT truths script, resumable experiment runner

- W0 harm validation (40 reps): CCW and sequential ITT unbiased for their truths (|z| <= 0.7)
- PVI models fitted separately inside and after the window
- experiments.yml grid (8 worlds x 3 scenarios; designs x V1-V4; NCE; RCTs); smoke run clean

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-27 09:19:59 -04:00
co-authored by Claude Opus 5.5
parent fc1461d5b5
commit 383ef89c2a
9 changed files with 14606 additions and 14 deletions
+2 -1
View File
@@ -43,7 +43,8 @@ make_records <- function(pop, course, par) {
hidden <- data.table(id = pat$id, skill = pat$skill, style = pat$style, frailty = pat$frailty,
smoking_true = pat$smoking_true, rate = pat$rate,
t_clti_true = ev$t_clti_true)
list(patients = patients, pm = pm, hidden = hidden, par = par)
hidden_pm <- data.table(id = id, t = t, z = course$z[idx])
list(patients = patients, pm = pm, hidden = hidden, hidden_pm = hidden_pm, par = par)
}
#' Stop if an analysis table carries a latent column.