Package: fastrerandomize
Title: Hardware-Accelerated Rerandomization for Improved Balance
Version: 0.3
Authors@R: 
    c(person(given = "Fucheng Warren",
             family = "Zhu",
             role = c("aut"),
             email = "wzhu@college.harvard.edu",
             comment = c(ORCID = "0009-0001-5692-7572")),
      person(given = "Aniket Sachin",
             family = "Kamat",
             role = "aut",
             email = "aniketkamat@berkeley.edu",
             comment = c(ORCID = "0009-0003-6411-1084")),
      person(given = "Connor",
             family = "Jerzak",
             role = c("aut", "cre"),
             email = "connor.jerzak@gmail.com",
             comment = c(ORCID = "0000-0003-1914-8905")),
      person(given = "Rebecca",
             family = "Goldstein",
             role = "aut",
             email = "rgoldstein@berkeley.edu",
             comment = c(ORCID = "0000-0002-9944-8440")))
Description: 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>. 
URL: https://github.com/cjerzak/fastrerandomize-software
BugReports: https://github.com/cjerzak/fastrerandomize-software/issues
Depends: R (>= 3.5.0)
License: GPL-3
Encoding: UTF-8
LazyData: false
Imports: reticulate, assertthat, utils, stats, graphics
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2025-12-22 22:12:44 UTC; cjerzak
Author: Fucheng Warren Zhu [aut] (ORCID:
    <https://orcid.org/0009-0001-5692-7572>),
  Aniket Sachin Kamat [aut] (ORCID:
    <https://orcid.org/0009-0003-6411-1084>),
  Connor Jerzak [aut, cre] (ORCID:
    <https://orcid.org/0000-0003-1914-8905>),
  Rebecca Goldstein [aut] (ORCID:
    <https://orcid.org/0000-0002-9944-8440>)
Maintainer: Connor Jerzak <connor.jerzak@gmail.com>
Repository: CRAN
Date/Publication: 2025-12-22 22:30:02 UTC
Built: R 4.6.0; ; 2026-04-25 15:17:25 UTC; unix
