fastrerandomize: Hardware-Accelerated Rerandomization for Improved Balance (original) (raw)
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) <doi:10.48550/arXiv.2310.00861>.
Version: | 0.2 |
---|---|
Depends: | R (≥ 3.5.0) |
Imports: | reticulate, assertthat, utils, stats, graphics |
Suggests: | knitr, rmarkdown |
Published: | 2025-01-14 |
DOI: | 10.32614/CRAN.package.fastrerandomize |
Author: | Fucheng Warren Zhu [aut], Aniket Sachin Kamat [aut], Connor Jerzak [aut, cre], Rebecca Goldstein [aut] |
Maintainer: | Connor Jerzak <connor.jerzak at gmail.com> |
BugReports: | https://github.com/cjerzak/fastrerandomize-software/issues |
License: | GPL-3 |
URL: | https://github.com/cjerzak/fastrerandomize-software |
NeedsCompilation: | no |
Citation: | fastrerandomize citation info |
CRAN checks: | fastrerandomize results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=fastrerandomizeto link to this page.