rddisttest: Tests for Manipulation of Discrete Running Variable

Description Usage Arguments Value Examples

View source: R/rddisttest.R

Description

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.

Usage

1
rddisttest(RV, C, K = 0)

Arguments

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.

Value

P-value

Examples

1
2
3
4
## Not run: 
#rddisttest(dataframe$runningvar, 0, .01)

## End(Not run)

brighamfrandsen/rddisttest documentation built on July 7, 2020, 12:08 a.m.