Other packages > Find by keyword >

whatifbandit  

Analyzing Randomized Experiments Using Multi-Arm Bandits
View on CRAN: Click here


Download and install whatifbandit package within the R console
Install from CRAN:
install.packages("whatifbandit")

Install from Github:
library("remotes")
install_github("cran/whatifbandit")

Install by package version:
library("remotes")
install_version("whatifbandit", "1.0.3")



Attach the package and use:
library("whatifbandit")
Maintained by
Noah Ochital
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2025-11-03
Latest Update: 2025-11-03
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) <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>.
How to cite:
Noah Ochital (2025). whatifbandit: Analyzing Randomized Experiments Using Multi-Arm Bandits. R package version 1.0.3, https://cran.r-project.org/web/packages/whatifbandit. Accessed 24 Oct. 2026.
Previous versions and publish date:
(2026-08-22 10:54), 0.3.0 (2025-11-03 11:20), 1.0.2 (2026-07-23 12:50)
Other packages that cited whatifbandit R package
View whatifbandit citation profile
Other R packages that whatifbandit depends, imports, suggests or enhances
Complete documentation for whatifbandit
Functions, R codes and Examples using the whatifbandit R package
Full whatifbandit package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

magicfor  
Magic Functions to Obtain Results from for Loops
Magic functions to obtain results from for loops. ...
Download / Learn more Package Citations See dependency  
gemlog  
File Conversion for "Gem Infrasound Logger"
Reads data files from the 'Gem infrasound logger' for analysis and converts to segy format (which is ...
Download / Learn more Package Citations See dependency  
givitiR  
The GiViTI Calibration Test and Belt
Functions to assess the calibration of logistic regression models with the GiViTI (Gruppo Italiano p ...
Download / Learn more Package Citations See dependency  
climwin  
Climate Window Analysis
Contains functions to detect and visualise periods of climate sensitivity (climate windows) for a g ...
Download / Learn more Package Citations See dependency  
forecastHybrid  
Convenient Functions for Ensemble Time Series Forecasts
Convenient functions for ensemble forecasts in R combining approaches from the 'forecast' package. ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

29,080

R Packages

247,686

Dependencies

77,281

Author Associations

29,081

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA