Hardware-Accelerated Rerandomization for Improved Balance

Provides hardware-accelerated tools for performing rerandomization and randomization testing in experimental research. Using a 'JAX' backend, the package enables exact rerandomization inference even for large experiments with hundreds of billions of possible randomizations. Key functionalities include generating pools of acceptable rerandomizations based on covariate balance, conducting exact randomization tests, and performing pre-analysis evaluations to determine optimal rerandomization acceptance thresholds. The package supports various hardware acceleration frameworks including 'CPU', 'CUDA', and 'METAL', making it versatile across accelerated computing environments. This allows researchers to efficiently implement stringent rerandomization designs and conduct valid inference even with large sample sizes. The package is partly based on Jerzak and Goldstein (2023) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fastrerandomize")

0.3 by Connor Jerzak, 10 months ago


https://github.com/cjerzak/fastrerandomize-software


Report a bug at https://github.com/cjerzak/fastrerandomize-software/issues


Browse source code at https://github.com/cran/fastrerandomize


Authors: Fucheng Warren Zhu [aut] (ORCID: , Aniket Sachin Kamat [aut] (ORCID: , Connor Jerzak [aut, cre] (ORCID: , Rebecca Goldstein [aut] (ORCID:


Documentation:   PDF Manual  


GPL-3 license


Imports reticulate, assertthat, utils, stats, graphics

Suggests knitr, rmarkdown


See at CRAN