Skip to content

rdpackages/rddensity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manipulation Testing Using Local Polynomial Density Methods

The rddensity package implements manipulation testing procedures for regression discontinuity designs and other settings where researchers want to test for sorting around a cutoff.

  • rddensity: density discontinuity testing with local polynomial density estimators.
  • rdbwdensity: data-driven bandwidth selection for manipulation testing.
  • rdplotdensity: density plots with histogram and confidence-band options.

Python Implementation

To install/update in Python type:

pip install rddensity

R Implementation

To install/update in R type:

install.packages('rddensity')

Stata Implementation

To install/update in Stata type:

net install rddensity, from(https://raw.githubusercontent.com/rdpackages/rddensity/main/stata) replace

References

For overviews and introductions, see the rdpackages website.

Software and Implementation

Technical and Methodological

Funding

This work was supported in part by the National Science Foundation through grants SES-1357561, SES-1459931, SES-1459967, SES-1947662, SES-1947805, and SES-2019432.