WorldDev.2026.1073278 / code /03_run_within_unit_robustness.R
cjerzak's picture
Upload 24 files
748dd7d verified
raw
history blame contribute delete
631 Bytes
#!/usr/bin/env Rscript
file_arg <- grep("^--file=", commandArgs(FALSE), value = TRUE)
script_path <- sub("^--file=", "", file_arg[[1]])
source(file.path(dirname(normalizePath(script_path, mustWork = FALSE)), "common.R"))
set_replication_root()
message("Running bundled within-unit robustness analyses (unit FE and DiD).")
run_replication_script(
"code/lib/call_CI_Conf_5k_3yr.R",
overrides = list(
SAVE_RESULTS_FOLDER_OVERRIDE = "per_run_csv/Epoch5EarlyStopNewTreatDefLabelS_Run2",
X_APPROACH_OPTIONS_OVERRIDE = c("unitFE", "did"),
REQUIRE_EXPLICIT_OUTER_SEQ = FALSE,
RESAVE_TFRECORDS_OVERRIDE = FALSE
)
)