fastrerandomize Released!
Our new R package leverages GPU acceleration and parallel processing to make rerandomization feasible for large-scale experiments with complex balance requirements.
Read the accompanying package paper here.
Features
Designed to make rerandomization accessible for experimental designs at any and all scales.
Accelerated Computation
Employs batched processing, autovectorization, just-in-time-compilation, and (optionally) GPU acceleration to dramatically improve performance (>50x compared to traditional methods).
Learn moreScale to Any Size
Allows for use in cases where the sample size or number of covariates is very large, making rerandomization practical for modern, large-scale experiments.
Open-Source
Distributed under a GPL-3 license, fastrerandomize is developed and maintained publicly on GitHub.
Balanced Assignment
Generates pools of acceptable randomizations based on a given acceptance probability, ensuring optimal covariate balance across treatment groups.
Tests and Thresholds
Conducts exact rerandomization tests and computes optimal rerandomization acceptance thresholds for reliable statistical inference.
Real-world Applications
Speed ups in applications to economic and geographical experiments, making complex designs accessible to practitioners.
View applicationsExample Use
Research & Citations
For more information, see the package paper: Connor T. Jerzak, Rebecca Goldstein, Aniket Kamat, Fucheng Warren Zhu. "fastrerandomize: An R Package for Fast Rerandomization Using Accelerated Computing," 2025.