Skip to contents

Generates a placebo DGP where the structural treatment effect is identically zero and the potential outcomes are pathwise identical (Y1 == Y0). This design is intended for gatekeeper/placebo checks.

Usage

dgp_synth_placebo_tau0_v130(
  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 components:

  • df: tibble with columns y, w, y0, y1, p, structural_te, X1-X5

  • true_att: numeric scalar (ATT truth; zero)

  • true_qst: tibble with columns tau and value (all zeros)

  • meta: list with dgp_id, type, and structural_te

Details

Placebo contract (sharp null): \(\tau(X) \equiv 0\) and \(Y_1 \equiv Y_0\) pathwise; structural_te is all zeros, true_att = 0, true_qst is zero on the cs_tau_oracle() grid.

Registry nuance (this variant): Outcome, noise, and propensity match synth_baseline: \(\mu_0(X) = 1 + X_1 + 0.5 X_2\), \(p(X) = \mathrm{plogis}(0.5 X_1 - 0.5 X_2)\), \(\varepsilon \sim \mathcal{N}(0, 0.5)\).