guess_bandwidth: Estimate bandwidth for regression discontinuity

Description Usage Arguments Details

View source: R/smooths.R

Description

Estimate bandwidth for regression discontinuity

Usage

1
guess_bandwidth(rv, cutoff, y = NULL, method)

Arguments

rv

running variable

cutoff

cutoff(s) for discontinuity

y

outcome variable

Details

For the final bandwidth for the regression discontinuity design, you should include a y variable to choose Imben's criteria (see bandwidth_imbens). If you are estimating a bandwidth to be used in a sorting test, to make sure people aren't sorting on the running variable, you omit y entirely.


be-green/shinyrd documentation built on April 14, 2020, 12:43 a.m.