Skip to contents

Runs a sharp-RDD null test on each covariate.

Usage

morie_rdd_covariate_balance(
  data,
  running,
  covariates,
  cutoff = 0,
  bandwidth = NULL,
  kernel = "triangular",
  alpha = 0.05
)

Arguments

data

A data.frame holding the outcome, running variable, treatment, and any covariates referenced by name.

running

Character; column name of the running (forcing) variable in data.

covariates

Character vector of column names whose balance at the cutoff is checked.

cutoff

Numeric scalar; the threshold on running. Default 0 (the canonical normalisation).

bandwidth

Numeric; the local-polynomial bandwidth on each side of the cutoff. NULL invokes the data-driven CCT selector.

kernel

One of "triangular" (default), "epanechnikov", "uniform", or "gaussian".

alpha

Significance level (default 0.05).