Other packages > Find by keyword >

rddensity  

Manipulation Testing Based on Density Discontinuity
View on CRAN: Click here


Download and install rddensity package within the R console
Install from CRAN:
install.packages("rddensity")

Install from Github:
library("remotes")
install_github("cran/rddensity")

Install by package version:
library("remotes")
install_version("rddensity", "2.6")



Attach the package and use:
library("rddensity")
Maintained by
Xinwei Ma
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-03-16
Latest Update: 2024-10-06
Description:
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.
How to cite:
Xinwei Ma (2017). rddensity: Manipulation Testing Based on Density Discontinuity. R package version 2.6, https://cran.r-project.org/web/packages/rddensity. Accessed 25 Aug. 2026.
Previous versions and publish date:
(2026-07-09 06:49), 0.1 (2017-03-16 08:44), 0.2.1 (2017-07-09 17:16), 0.2.2 (2017-08-03 23:29), 0.2 (2017-06-04 07:59), 1.0 (2019-07-13 00:15), 2.0 (2020-08-05 22:00), 2.1 (2020-09-02 21:10), 2.2 (2021-03-04 03:50), 2.3 (2022-11-30 09:40), 2.4 (2023-01-22 02:00), 2.5 (2024-01-22 22:10), 2.6 (2024-10-06 10:30)
Other packages that cited rddensity R package
View rddensity citation profile
Other R packages that rddensity depends, imports, suggests or enhances
Complete documentation for rddensity
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hwep  
Hardy-Weinberg Equilibrium in Polyploids
Inference concerning equilibrium and random mating in autopolyploids. Methods are available to test ...
Download / Learn more Package Citations See dependency  
missDiag  
Comparing Observed and Imputed Values under MAR and MCAR
Implements the computation of discrepancy statistics summarizing differences between the density of ...
Download / Learn more Package Citations See dependency  
commonsMath  
JAR Files of the Apache Commons Mathematics Library
'Java' JAR files for the Apache Commons Mathematics Library for use by users and other packages. ...
Download / Learn more Package Citations See dependency  
connectwidgets  
Organize and Curate Your Content Within 'Posit Connect'
A collection of helper functions and 'htmlwidgets' to help publishers curate content collections on ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA