Skip to content

rdpower

3.0Package record

Power, Sample Size, and Minimum Detectable Effect Calculations for RD Designs

0packages depend
11.5Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

The regression discontinuity (RD) design is a popular quasi-experimental design for causal inference and policy evaluation. The 'rdpower' package provides tools to perform power, sample size, and minimum detectable effect calculations in RD designs: rdpower() calculates the power of an RD design, rdsampsi() calculates the required sample size to achieve a desired power, and rdmde() calculates minimum detectable effects. See Cattaneo, Titiunik and Vazquez-Bare (2019) https://rdpackages.github.io/references/Cattaneo-Titiunik-VazquezBare_2019_Stata.pdf for further methodological details.

Install

Health

CRAN checks
13OK
Slowest check: 55 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-22
  • ERROR12 OK, 1 ERROR2026-05-20
  • OK13 OK2026-05-19
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 2 ERROR2026-05-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
5includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
80%

Downloads

11.5K
CRAN downloads in the past year
Rank #3,372 · ~32/day · ~962/mo
Daily download trend is not available in this view yet.
1.7K30 days
3.3K90 days
11.5K1 year
Compare downloads with other packages →
Also on105 r2u3 autocran129 c2d4u

Repository

4Stars
3Forks
1Open PRs
0Releases
46Commits
2Commit identities
regression-discontinuity-designscausal-inferenceprogram-evaluationtreatment-effects
46 commits · Last activity 2026-08-14
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-12-24 · 42026-07-07 · 4
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rdpackages/rdpower on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux

Governance and community (3)
Issue templatesPR templateSecurity policy
Automation and maintenance (1)
Dependabot
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing rdpower adds 18 packages (7 with compiled code, 14 MB of source tarballs). Heaviest: ggplot2 6.0 MB, isoband 1.5 MB, farver 1.2 MB.

Depends (1)
R >= 3.6.0
Imports (1)
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 3.0 (2026)

Previously maintained by Gonzalo Vazquez-Bare (0.1 to 2.3).

Listed in earlier versions (1)
Cattaneo
no longer listed · 2.3 to 3.0
Releases (11)

Pick two releases to compare their code metrics.

  • 3.0Latest
    record
    2026-05-17 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.3
    record
    2025-05-23 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2
    record
    2022-06-22 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1
    record
    2021-11-11 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0
    record
    2020-12-18 · diff ↗ ·
    added 1 export
    rdmde
  • 1.0
    record
    2020-08-26 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5
    record
    2020-04-05 · diff ↗
  • 0.4
    record
    2019-10-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 5 earlier eventsHide 5 earlier events

Package metadata

First published
2018-03-23
Total releases
11 / 8 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Download size
15 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rdpower")
Cattaneo, M. D., Titiunik, R., & Vazquez-Bare, G. (2026). rdpower: Power, Sample Size, and Minimum Detectable Effect Calculations for RD Designs (Version 3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rdpower

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 rdpower version 3.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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