Description Usage Arguments Value
Robustness to bandwidth choice
1 2 | rdd_robust_bw(data, forcing, outcome, cutoff = 0, weights = NULL,
ylab = "Outcome", xlab = "Running Variable", bw = NULL, se = T)
|
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. |
a list of the plot (in ggplot) and the corresponding effect estimates and standard errors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.