Skip to contents

Thin wrapper around synthdid::synthdid_estimate. Requires the synthdid package (remotes::install_github("synth-inference/synthdid")); synthdid is not on CRAN and has no comparable alternative.

Usage

morie_did_synthetic(
  data,
  outcome,
  unit,
  time,
  treatment_time,
  treated_units = NULL,
  zeta = NULL,
  n_bootstrap = 200L,
  seed = 42L,
  alpha = 0.05
)

Arguments

data

Balanced panel.

outcome, unit, time, treatment_time

Column names.

treated_units

Optional explicit list of treated unit IDs.

zeta

Optional regularisation parameter (auto-selected if NULL).

n_bootstrap

Bootstrap replications for placebo SE.

seed

RNG seed.

alpha

Significance level.

Value

A result list; see morie_did_2x2.

References

Arkhangelsky, D., et al. (2021). Synthetic difference-in-differences. American Economic Review, 111(12), 4088–4118.