Skip to contents

Rule-of-thumb (ROT) bandwidth – Silverman-style on running variable

Usage

morie_rdd_bandwidth_rot(x, y, cutoff = 0)

Arguments

x

Numeric vector of running-variable values (used by bandwidth selectors + density tests that don't take a data.frame).

y

Numeric vector of outcome values aligned with x.

cutoff

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