Skip to contents

RDD power calculation

Usage

morie_rdd_power(
  n,
  tau,
  sigma,
  cutoff_density = 1,
  bandwidth = NULL,
  kernel = "triangular",
  alpha = 0.05
)

Arguments

n

Integer; sample-size argument to morie_rdd_power.

tau

Numeric; the treatment-effect size used by power / sample-size calculators.

sigma

Numeric; outcome standard deviation.

cutoff_density

Numeric; running-variable density at the cutoff.

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).