Skip to content

LRErdd

0.1.0Package record

Regression Discontinuity Designs as Local Randomized Experiments

0packages depend
654downloads / year
43.9%test coverage
13/13flavors OK

Overview

About

A set of functions for the design and analysis of Regression Discontinuity Designs as local randomized experiments within the potential outcome approach as formalized in Li, Mattei and Mealli (2015) doi:10.1214/15-AOAS809. A subset of functions implements the design phase of the study, where the focus is on the selection of suitable subpopulations for which valid causal inference can be drawn. These functions provide summary statistics of pre- and post-treatment variables by treatment status and select suitable subpopulations around the threshold where pre-treatment variables are well balanced between treatment groups, using randomization-based tests with adjustment for multiplicities. Functions for a visual inspection of the results are also provided. Finally, the package includes a set of functions for drawing inference on causal effects for the selected subpopulations using randomization-based modes of inference. Specifically, the Fisher Exact p-value and Neyman approaches are implemented for the analysis of both sharp and fuzzy Regression Discontinuity designs. The approach is illustrated in a study concerning the effects of university grants on student dropout.

Install

Health

CRAN checks
13OK
Slowest check: 4.0 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK7 OK2026-08-07
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 276 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
48 (2 internal)
Examples that run
33%2 run in a plain check (1 of them under a condition) · 4 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
13%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
2%

Downloads

654
CRAN downloads in the past year
Rank #20,406 · ~2/day · ~55/mo
Daily download trend is not available in this view yet.
21930 days
65490 days
6541 year
Compare downloads with other packages →
Also on16 r2u1 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing LRErdd adds 43 packages (24 with compiled code, 39 MB of source tarballs). Heaviest: ggplot2 6.0 MB, bslib 5.6 MB, promises 3.1 MB.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 0.1.0Latest
    2026-08-06 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-06
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
95 KB / 1 file
Download size
490 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("LRErdd")
Tamayo, I., Bind, M., Mattei, A., & Mealli, F. (2026). LRErdd: Regression Discontinuity Designs as Local Randomized Experiments (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.LRErdd

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for LRErdd version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy