Manipulation Testing Based on Density Discontinuity
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, calculates theoretical optimal bandwidth.
Internal function, calculates theoretical optimal bandwidth.
Internal function.
Internal function.
Internal function, generate matrices.
Bandwidth Selection for Manipulation Testing
Internal function, implements density test.
Internal function, normal distribution related quantities.
rddensity: Manipulation Testing Based on Density Discontinuity
Manipulation Testing Using Local Polynomial Density Estimation
Internal function.
Density Plotting for Manipulation Testing
Internal function, generate matrices.
Internal function, generate matrices.
Internal function, generate matrices.
Internal function.
Internal function.
Density discontinuity testing (a.k.a. manipulation testing) is commonly employed in regression discontinuity designs and other program evaluation settings to detect perfect self-selection (manipulation) around a cutoff where treatment/policy assignment changes. This package implements manipulation testing procedures using the local polynomial density estimators: rddensity() to construct test statistics and p-values given a prespecified cutoff, rdbwdensity() to perform data-driven bandwidth selection, and rdplotdensity() to construct density plots.