Calculate mccrary density rule
1 | calc_mccrary_rule(x, y, cutoff)
|
x |
x variable, bin midpoints from make_grid |
y |
y variable, frequency of observations in those groups |
cutoff |
cutoff to be used for the rdd design |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.