ri2: Randomization Inference for Randomized Experiments
Randomization inference procedures for simple and complex randomized designs, including multi-armed trials, as described in Gerber and Green (2012, ISBN: 978-0393979954). Users formally describe their randomization procedure and test statistic. The randomization distribution of the test statistic under some null hypothesis is efficiently simulated.
| Version: |
0.5.0 |
| Depends: |
R (≥ 3.5.0) |
| Imports: |
generics, ggplot2, pbapply, randomizr (≥ 0.16.0), estimatr |
| Suggests: |
testthat, knitr, rmarkdown, dplyr, tidyr, purrr, forcats |
| Published: |
2026-07-29 |
| DOI: |
10.32614/CRAN.package.ri2 |
| Author: |
Alexander Coppock [aut, cre] |
| Maintainer: |
Alexander Coppock <acoppock at gmail.com> |
| BugReports: |
https://github.com/acoppock/ri2/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://alexandercoppock.com/ri2/, https://github.com/acoppock/ri2 |
| NeedsCompilation: |
no |
| Materials: |
NEWS |
| CRAN checks: |
ri2 results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=ri2
to link to this page.