Description Usage Arguments Value Examples
Provides an alternative to conventional RD manipulation tests, such as the McCrary test, to be applied in the case where the running variable takes on discrete values.
1 | rddisttest(RV, C, K = 0)
|
RV |
Vector containing the values for each observations level of the running variable. |
C |
Real number specifying the level of the RV at which the discontinuity exists. |
K |
Real number corresponding to the user specified bound on the RV’s probability mass function curvature. |
P-value
1 2 3 4 | ## Not run:
#rddisttest(dataframe$runningvar, 0, .01)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.