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
@@ -19,7 +19,8 @@ res <- rbindlist(parallel::mclapply(seq_len(reps), function(r) {
fill = TRUE)
}, mc.cores = cores), fill = TRUE)
tr <- fread("simulations/truths/truths.csv")[world == ..world & scenario == ..scenario]
w_ <- world; s_ <- scenario
tr <- fread("simulations/truths/truths.csv")[world == w_ & scenario == s_]
map <- data.table(design = c("ccw", "ccw", "seq"), contrast = c("A_B1", "A_B2", "now_not"),
estimand = c("rd_A_B1", "rd_A_B2", "seq_itt"))
s <- res[, .(mean_est = mean(est), emp_se = sd(est), mean_se = mean(se), reps = .N),