Package: rddtools 2.0.2

Matthieu Stigler

rddtools: Toolbox for Regression Discontinuity Design ('RDD')

Set of functions for Regression Discontinuity Design ('RDD'), for data visualisation, estimation and testing.

Authors:Matthieu Stigler [aut, cre], Bastiaan Quast [aut]

rddtools_2.0.2.tar.gz
rddtools_2.0.2.zip(r-4.7)rddtools_2.0.2.zip(r-4.6)rddtools_2.0.2.zip(r-4.5)
rddtools_2.0.2.tgz(r-4.6-any)rddtools_2.0.2.tgz(r-4.5-any)
rddtools_2.0.2.tar.gz(r-4.7-any)rddtools_2.0.2.tar.gz(r-4.6-any)
rddtools_2.0.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
rddtools/json (API)

# Install 'rddtools' in R:
install.packages('rddtools', repos = c('https://bquast.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/bquast/rddtools/issues

Datasets:
  • house - Dataset used in Lee
  • indh - INDH data set
  • STAR_MHE - Transformation of the STAR dataset as used in Angrist and Pischke

On CRAN:

Conda:

7.09 score 11 stars 188 scripts 638 downloads 26 exports 78 dependencies

Last updated from:61da6140ed. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK203
source / vignettesOK266
linux-release-x86_64OK189
macos-release-arm64OK118
macos-oldrel-arm64OK119
windows-develOK136
windows-releaseOK137
windows-oldrelOK130
wasm-releaseOK157

Exports:as.lmas.npregas.npregbwclusterInfcomputePlacebocovarTest_discovarTest_meandens_testgen_mc_ikplotPlaceboplotPlaceboDensplotSensirdd_bw_cct_estimrdd_bw_cct_plotrdd_bw_ikrdd_bw_rswrdd_coefrdd_datardd_gen_regrdd_predrdd_reg_lmrdd_reg_nprot_bwvcovClustervcovCluster2waldci

Dependencies:abindAERbackportsbootbroomcarcarDataclicolorspacecowplotcpp11crscubatureDerivdoBydplyrfarverforecastFormulafracdiffgenericsggplot2gluegtableisobandKernSmoothlabelinglatticelifecyclelme4lmtestlocpolmagrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrnlmenloptrnnetnpnumDerivpbkrtestpillarpkgconfigpurrrquadprogquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackrdrobustreformulasrlangS7sandwichscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttimeDateurcautf8vctrsviridisLitewithrzoo

rddtools
Data Preparation and Visualisation | Parametric Estimation | Non-parametric Estimation | Regression Sensitivity tests: | Design Sensitivity tests: | Discontinuity comes from manipulation: McCrary test | Discontinuity comes from covariates: covariates balance tests

Last update: 2020-08-04
Started: 2015-05-05

Morocco

Last update: 2020-08-04
Started: 2015-07-15

Readme and manuals

Help Manual

Help pageTopics
Regression Discontinuity Designrddtools-package rddtools
Convert a rdd object to lmas.lm
Convert an rdd_reg object to a 'npreg' objectas.npreg as.npregbw
Post-inference for clustered dataclusterInf
Testing for balanced covariates: equality of distributioncovarTest_dis covarTest_dis.rdd_data covarTest_dis.rdd_reg
Testing for balanced covariates: equality of means with t-testcovarTest_mean covarTest_mean.rdd_data covarTest_mean.rdd_reg
McCrary Sorting Testdens_test
Generate Monte Carlo simulations of Imbens and Kalyanaramangen_mc_ik
Dataset used in Lee (2008)house
INDH data setindh
Plot rdd_dataplot.rdd_data
Bin plottingplotBin
Draw a (density) plot of placebo testscomputePlacebo plotPlacebo plotPlacebo.rdd_reg plotPlaceboDens plotPlaceboDens.rdd_reg
Plot the sensitivity to the bandwidthplotSensi plotSensi.rdd_reg_lm plotSensi.rdd_reg_np
Bandwidth selection for Regression Discontinuity estimators, CTT 2014rdd_bw_cct_estim
Bandwidth selection for Regression Discontinuity visualisation, CTT 2015rdd_bw_cct_plot
Imbens-Kalyanaraman Optimal Bandwidth Calculationrdd_bw_ik
Global bandwidth selector of Ruppert, Sheather and Wand (1995) from package 'KernSmooth'rdd_bw_rsw
RDD coefficientrdd_coef rdd_coef.default rdd_coef.rdd_reg_np
Construct rdd_datardd_data
General polynomial estimator of the regression discontinuityrdd_gen_reg
RDD coefficient predictionrdd_pred
Parametric polynomial estimator of the regression discontinuityrdd_reg_lm
Parametric polynomial estimator of the regression discontinuityrdd_reg_np
Bandwidth selectorrot_bw
Transformation of the STAR dataset as used in Angrist and Pischke (2008)STAR_MHE
Cluster Heteroskedasticity-consistent estimation of the covariance matrix.vcovCluster vcovCluster2
Confint allowing vcovwaldci