fastrerandomize: 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) <doi:10.48550/arXiv.2310.00861>.

Version: 0.1
Depends: R (≥ 3.5.0)
Imports: reticulate, assertthat, utils, stats, graphics
Suggests: knitr, rmarkdown
Published: 2025-01-13
DOI: 10.32614/CRAN.package.fastrerandomize
Author: Fucheng Warren Zhu ORCID iD [aut], Aniket Sachin Kamat ORCID iD [aut], Connor Jerzak ORCID iD [aut, cre], Rebecca Goldstein ORCID iD [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:

Reference manual: fastrerandomize.pdf
Vignettes: FastRerandomize Package Tutorial (source, R code)

Downloads:

Package source: fastrerandomize_0.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): fastrerandomize_0.1.tgz, r-oldrel (arm64): fastrerandomize_0.1.tgz, r-release (x86_64): fastrerandomize_0.1.tgz, r-oldrel (x86_64): fastrerandomize_0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fastrerandomize to link to this page.