Learn R Programming

⚠️There's a newer version (2.6) of this package.Take me there.

rddensity (version 0.2.1)

Manipulation Testing Based on Density Discontinuity

Description

Density discontinuity test (a.k.a. manipulation test) is commonly employed in regression discontinuity designs and other treatment effect settings to detect whether there is evidence suggesting perfect self-selection (manipulation) around a cutoff where a treatment/policy assignment changes. This package provides tools for conducting the aforementioned statistical test: rddensity() to construct local polynomial based density discontinuity test given a prespecified cutoff, rdbwdensity() to perform bandwidth selection, and rdplotdensity() to construct density plot near the cutoff.

Copy Link

Version

Install

install.packages('rddensity')

Monthly Downloads

2,098

Version

0.2.1

License

GPL-2

Maintainer

Xinwei Ma

Last Published

July 9th, 2017

Functions in rddensity (0.2.1)

Sminusgenerate

Internal function, generate matrices.
Splusgenerate

Internal function, generate matrices.
Cplusgenerate

Internal function, generate matrices.
Ggenerate

Internal function, generate matrices.
rdbwdensity

Bandwidth Selection for Manipulation Testing Using Local-Polynomial Density Estimation.
rddensity-package

rddensity: Manipulation Testing Using Local-Polynomial Density Estimation
rdplotdensity

Density Plot
summary.CJMrdbwdensity

Internal function.
Psigenerate

Internal function, generate matrices.
Sgenerate

Internal function, generate matrices.
rddensity_fV

Internal function, implements density test.
rddensity_senate

RD Senate Data.
Gminusgenerate

Internal function, generate matrices.
Gplusgenerate

Internal function, generate matrices.
h_opt_density

Internal function, calculates theoretical optimal bandwidth.
h_opt_density_res

Internal function, calculates theoretical optimal bandwidth.
Cgenerate

Internal function, generate matrices.
Cminusgenerate

Internal function, generate matrices.
rddensity

Manipulation Testing Using Local-Polynomial Density Estimation
rddensity_H

Internal function, normal distribution related quantities.
print.CJMrdbwdensity

Internal function.
print.CJMrddensity

Internal function.
summary.CJMrddensity

Internal function.