Skip to contents

Placebo DiD on outcomes that should be unaffected

Usage

morie_did_placebo_test_outcome(
  data,
  placebo_outcomes,
  treatment,
  post,
  covariates = NULL,
  cluster = NULL,
  alpha = 0.05
)

Arguments

data

Data frame.

placebo_outcomes

Character vector of outcome columns expected to show no treatment effect.

treatment

Name of the binary (0/1) treatment-group column.

post

Name of the binary (0/1) post-period column.

covariates

Optional character vector of covariate column names.

cluster

Optional cluster ID column for CR1 standard errors.

alpha

Significance level for confidence intervals (default 0.05).

Value

A data frame, one row per placebo outcome.