rdd_robust_bw: Robustness to bandwidth choice

Description Usage Arguments Value

Description

Robustness to bandwidth choice

Usage

1
2
rdd_robust_bw(data, forcing, outcome, cutoff = 0, weights = NULL,
  ylab = "Outcome", xlab = "Running Variable", bw = NULL, se = T)

Arguments

data

A dataframe

forcing

The forcing/running variable as a string

outcome

The outcome varaible as a string

cutoff

The cutoff. Defaults to 0.

weights

Any weights you want to use as a string. Defaults to NULL.

ylab

The label for the y axis.

xlab

The label for the x axis.

bw

The bandwidth. Defaults to half the IK bw to twice the IK bw.

se

Logical for whether to include the standard errors in the plot.

Value

a list of the plot (in ggplot) and the corresponding effect estimates and standard errors


shommazumder/shomR documentation built on May 24, 2019, 2:52 p.m.