Skip to contents

Version bump that further hardens positivity stress by sharpening the propensity score toward 0/1: p = plogis(9 * X1 + 9 * X2).

Usage

dgp_synth_overlap_stressed_v140(
  n,
  seed = NULL,
  include_truth = TRUE,
  oracle_only = FALSE
)

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.

Value

A list with:

  • df: tibble with columns y, w, y0, y1, p, structural_te, X1, X2, X3, X4, X5

  • true_att: numeric scalar (ATT on treated units)

  • true_qst: tibble with columns tau, value

  • meta: list with fields dgp_id, type, structural_te

Details

Other components follow the v1.3.0 design.