Package: rddtools 2.0.0

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], Bastiaan Quast [aut, cre]

rddtools_2.0.0.tar.gz
rddtools_2.0.0.zip(r-4.5)rddtools_2.0.0.zip(r-4.4)rddtools_2.0.0.zip(r-4.3)
rddtools_2.0.0.tgz(r-4.4-any)rddtools_2.0.0.tgz(r-4.3-any)
rddtools_2.0.0.tar.gz(r-4.5-noble)rddtools_2.0.0.tar.gz(r-4.4-noble)
rddtools_2.0.0.tgz(r-4.4-emscripten)rddtools_2.0.0.tgz(r-4.3-emscripten)
rddtools.pdf |rddtools.html
rddtools/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

6.64 score 11 stars 200 scripts 645 downloads 25 exports 92 dependencies

Last updated 1 years agofrom:25f0bafacb. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winNOTENov 20 2024
R-4.3-macNOTENov 20 2024

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_bwvcovClustervcovCluster2

Dependencies:abindAERbackportsbase64encbootbroombslibcachemcarcarDataclicolorspacecowplotcpp11cubatureDerivdigestdoBydplyrevaluatefansifarverfastmapfontawesomeFormulafsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelme4lmtestlocpolmagrittrMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmunsellnlmenloptrnnetnpnumDerivpbkrtestpillarpkgconfigpurrrquadprogquantregR6rappdirsRColorBrewerRcppRcppEigenrddrdrobustrlangrmarkdownsandwichsassscalesSparseMstringistringrsurvivaltibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyamlzoo

Morocco

Rendered frommorocco.Rmdusingknitr::rmarkdownon Nov 20 2024.

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

rddtools

Rendered fromrddtools.Rmdusingknitr::rmarkdownon Nov 20 2024.

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

Readme and manuals

Help Manual

Help pageTopics
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
Run the McCracy test for manipulation of the forcing variabledens_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
Regression Discontinuity Designrddtools
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