One entry point per outcome family, dispatching on outcome_type rather
than exposing a separate function per family. Defaults reproduce the
simulation modules this replaces exactly.
Arguments
- dgm
A DGM object carrying
df_super.- outcome_type
Character. One of
"survival","binary","continuous","count".- eval_seed
Integer. Fixes the single realization on the full pool. Ignored for
"continuous"and"count".- analysis_time, cens_adjust
Survival only.
- n_eval
Defunct. Non-
NULLis a hard error: this always evaluates the full super-population, so both engines score the identical target.
What each family returns
survival – the entire fixed super-population, every subject exactly once (
replace = FALSE), under the same randomized/censored analysis the trials run.binary – the same construction on the GLM simulator: every subject once, under one fixed treatment/outcome realization.
continuous / count –
dgm$df_superunchanged. No simulation occurs. The mean difference is collapsible, so the target is an exact finite mean over the super-population: the scoring frame is the population.eval_seedis accepted and ignored here so that generic harness code need not branch, and the target carries zero Monte Carlo error – uniformity of the call surface is not sameness of the object.