Overlap-stressed synthetic DGP for CausalStress (v1.3.0)
Source:R/dgp-synth-overlap-stressed.R
dgp_synth_overlap_stressed_v130.RdImplements the synth_overlap_stressed design from the DGP registry.
Shares covariates, baseline outcome, treatment effect, and Gaussian noise
with synth_baseline, but uses a sharper propensity to stress overlap:
p = plogis(3 * X1 + 3 * X2).
Arguments
- n
Integer, number of observations.
- seed
Optional seed for reproducibility (passed to
cs_set_rng()).- include_truth
Logical; if TRUE, include oracle truth tables where supported.
- oracle_only
Logical; if TRUE, return only columns needed for oracle truth generation where supported.