The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
rddtools is an R package designed to offer a set of tools to run all the steps required for a Regression Discontinuity Design (RDD) Analysis, from primary data visualisation to discontinuity estimation, sensitivity and placebo testing.
This github website hosts the source code. One of the easiest ways to install the package from github is by using the R package devtools:
if (!require('remotes')) install.packages('remotes')
::install_github('bquast/rddtools') remotes
Note however the latest version of rddtools only works with R 3.0, and that you might need to install Rtools if on Windows.
The (preliminary) documentation is available in the help files directly, as well as in the vignettes. The vignettes can be accessed from R.
vignette('rddtools')
Simple visualisation of the data using binned-plot:
plot()
Bandwidth selection:
rdd_bw_ik()
rdd_bw_rsw()
Estimation:
rdd_reg_lm()
This includes
specifying the polynomial order, including covariates with various
specifications as advocated in Imbens
and Lemieux 2008.rdd_reg_np()
. Can
also include covariates, and allows different types of inference (fully
non-parametric, or parametric approximation).Post-Estimation tools:
rdd_pred()
), or to convert to other classes, to lm (
as.lm() ), or to the package np
(
as.npreg()
).clusterInf()
either using a cluster covariance matrix (
vcovCluster() ) or by a degrees of freedom correction
(as in Cameron
et al. 2008).Regression sensitivity analysis:
plotSensi()
plotPlacebo()
Design sensitivity analysis:
dens_test()
to the function DCdensity()
from
package rdd
.covarTest_mean()
covarTest_dens()
Datasets
house
gen_mc_ik()
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.