Other packages > Find by keyword >

whatifbandit  

Analyzing Randomized Experiments as 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", "0.3.0")



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 as Multi-Arm Bandits. R package version 0.3.0, https://cran.r-project.org/web/packages/whatifbandit. Accessed 08 Jun. 2026.
Previous versions and publish date:
No previous versions
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

AdvBinomApps  
Upper Clopper-Pearson Confidence Limits for Burn-in Studies under Additional Available Information
Functions to compute upper Clopper-Pearson confidence limits of early life failure probabilities and ...
Download / Learn more Package Citations See dependency  
ODMeans  
OD-Means: k-Means for Origin-Destination
OD-means is a hierarchical adaptive k-means algorithm based on origin-destination pairs. In the fir ...
Download / Learn more Package Citations See dependency  
FluMoDL  
Influenza-Attributable Mortality with Distributed-Lag Models
Functions to estimate the mortality attributable to influenza and temperature, using distributed-la ...
Download / Learn more Package Citations See dependency  
penppml  
Penalized Poisson Pseudo Maximum Likelihood Regression
A set of tools that enables efficient estimation of penalized Poisson Pseudo Maximum Likelihood reg ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
geofacet  
'ggplot2' Faceting Utilities for Geographical Data
Provides geographical faceting functionality for 'ggplot2'. Geographical faceting arranges a sequen ...
Download / Learn more Package Citations See dependency  

27,372

R Packages

233,548

Dependencies

72,820

Author Associations

27,205

Publication Badges

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