Skip to content

ri2

Randomization Inference for Randomized Experiments

v0.4.1 · Oct 14, 2025 · MIT + file LICENSE

Description

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.

Downloads

373

Last 30 days

10177th

1.2K

Last 90 days

5.4K

Last year

Trend: -27.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies randomizr estimatr generics ggplot2 pbapply ri2

Version History

new 0.4.1 Mar 10, 2026
updated 0.4.1 ← 0.4.0 diff Oct 13, 2025
updated 0.4.0 ← 0.2.0 diff May 25, 2022
updated 0.2.0 ← 0.1.2 diff Dec 6, 2020
updated 0.1.2 ← 0.1.1 diff Jan 23, 2019
updated 0.1.1 ← 0.1.0 diff Mar 25, 2018
new 0.1.0 Jan 30, 2018