Package: fastrerandomize 0.2

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>.

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

fastrerandomize_0.2.tar.gz
fastrerandomize_0.2.zip(r-4.5)fastrerandomize_0.2.zip(r-4.4)fastrerandomize_0.2.zip(r-4.3)
fastrerandomize_0.2.tgz(r-4.5-any)fastrerandomize_0.2.tgz(r-4.4-any)fastrerandomize_0.2.tgz(r-4.3-any)
fastrerandomize_0.2.tar.gz(r-4.5-noble)fastrerandomize_0.2.tar.gz(r-4.4-noble)
fastrerandomize_0.2.tgz(r-4.4-emscripten)fastrerandomize_0.2.tgz(r-4.3-emscripten)
fastrerandomize.pdf |fastrerandomize.html
fastrerandomize/json (API)

# Install 'fastrerandomize' in R:
install.packages('fastrerandomize', repos = c('https://cjerzak.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cjerzak/fastrerandomize-software/issues

Datasets:
  • QJEData - QJEData: Agricultural Treatment Experiment Data
  • YOPData - YOPData

On CRAN:

balanceexperimental-designhardware-acceleration

5.64 score 8 stars 1 scripts 230 downloads 9 exports 13 dependencies

Last updated 19 days agofrom:5e30f638cd. Checks:1 OK, 7 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 31 2025
R-4.5-winWARNINGJan 31 2025
R-4.5-macWARNINGJan 31 2025
R-4.5-linuxWARNINGJan 31 2025
R-4.4-winWARNINGJan 31 2025
R-4.4-macWARNINGJan 31 2025
R-4.3-winWARNINGJan 31 2025
R-4.3-macWARNINGJan 31 2025

Exports:build_backendcheck_jax_availabilityfastrerandomize_classfastrerandomize_testgenerate_randomizationsgenerate_randomizations_exactgenerate_randomizations_mcprint2randomization_test

Dependencies:assertthatherejsonlitelatticeMatrixpngrappdirsRcppRcppTOMLreticulaterlangrprojrootwithr

FastRerandomize Package Tutorial

Rendered fromMainVignette.rmdusingknitr::rmarkdownon Jan 31 2025.

Last update: 2025-01-09
Started: 2025-01-02