Package: whatifbandit 1.0.0
whatifbandit: Analyzing Randomized Experiments as Multi-Arm Bandits
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) <doi:10.1073/pnas.2014602118>, 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) <doi:10.1111/ajps.12597>.
Authors:
whatifbandit_1.0.0.tar.gz
whatifbandit_1.0.0.zip(r-4.7)whatifbandit_1.0.0.zip(r-4.6)whatifbandit_1.0.0.zip(r-4.5)
whatifbandit_1.0.0.tgz(r-4.6-any)whatifbandit_1.0.0.tgz(r-4.5-any)
whatifbandit_1.0.0.tar.gz(r-4.7-any)whatifbandit_1.0.0.tar.gz(r-4.6-any)
whatifbandit_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
whatifbandit/json (API)
| # Install 'whatifbandit' in R: |
| install.packages('whatifbandit', repos = c('https://noch05.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/noch05/whatifbandit/issues
- tanf - Public TANF Recipient Data From Washington D.C
Last updated from:131aa2c12b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 310 | ||
| source / vignettes | OK | 220 | ||
| linux-release-x86_64 | OK | 290 | ||
| macos-release-arm64 | OK | 206 | ||
| macos-oldrel-arm64 | OK | 160 | ||
| windows-devel | OK | 192 | ||
| windows-release | OK | 259 | ||
| windows-oldrel | OK | 266 | ||
| wasm-release | OK | 145 |
Exports:joint_testmab_from_rctsimulate_mab
Dependencies:banditbootcliclubSandwichcodetoolscpp11data.tabledigestdplyrestimatrforeachFormulafurrrfuturegamgenericsglobalsglueiteratorslatticelifecyclelistenvlubridatemagrittrparallellypillarpkgconfigpurrrR6randomizrRcppRcppEigenrlangsandwichstringistringrtibbletidyrtidyselecttimechangeutf8vctrswithrzoo
