Package: whatifbandit Title: Analyzing Randomized Experiments as Multi-Arm Bandits Version: 1.0.0 Authors@R: c( person("Noah", "Ochital", , "noahochital@icloud.com", role = c("aut", "cre", "cph"), comment = c(ORCID = "0009-0009-0398-2963")), person("Ryan T.", "Moore", , "rtm@american.edu", role = c("ctb", "cph"), comment = c(ORCID = "0000-0002-3916-8113")) ) Description: Simulates the results of completed randomized controlled trials, as if they had been conducted as adaptive Multi-Arm Bandit (MAB) trials instead. Augmented inverse probability weighted estimation (AIPW), outlined by Hadad et al. (2021) , is used to robustly estimate the probability of success for each treatment arm under the adaptive design. Provides customization options to simulate perfect/imperfect information, stationary/non-stationary bandits, blocked treatment assignments, along with control augmentation, and other hybrid strategies for assigning treatment arms. The methods used in simulation were inspired by Offer-Westort et al. (2021) . License: GPL (>= 3) URL: https://github.com/Noch05/whatifbandit BugReports: https://github.com/Noch05/whatifbandit/issues Depends: R (>= 4.1.0) Imports: bandit, clubSandwich, data.table (>= 1.18.0), dplyr, estimatr, furrr, lubridate, methods, purrr, randomizr, rlang, tibble, tidyr Suggests: future, knitr, ggplot2, rmarkdown, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 Config/testthat/parallel: true Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 8.0.0 Config/pak/sysreqs: libicu-dev Repository: https://noch05.r-universe.dev Date/Publication: 2026-07-03 18:49:24 UTC RemoteUrl: https://github.com/noch05/whatifbandit RemoteRef: HEAD RemoteSha: 131aa2c12b360845072ce3b5f2783ebfe4e56dd8 NeedsCompilation: no Packaged: 2026-07-03 19:13:07 UTC; root Author: Noah Ochital [aut, cre, cph] (ORCID: ), Ryan T. Moore [ctb, cph] (ORCID: ) Maintainer: Noah Ochital