Skip to Content

best_binomial_bandit {bandit}

best_binomial_bandit
Package: 
bandit
Version: 
0.4.2

Description

Compute the Bayesian probabilities for each arm being the best binomial bandit.

Usage

best_binomial_bandit(x, n)

Arguments

x
as in prop.test, a vector of the number of successes
n
as in prop.test, a vector of the number of trials

Values

a vector of probabilities for each arm being the best binomial bandit; this can be used for future randomized allocation

References

Steven L. Scott, A modern Bayesian look at the multi-armed bandit, Appl. Stochastic Models Bus. Ind. 2010; 26:639-658. (http://www.economics.uci.edu/~ivan/asmb.874.pdf)

See Also

prop.test

Examples

x=c(10,20,30,50)
n=c(100,102,120,130)
best_binomial_bandit(x,n)

Author(s)

Thomas Lotze

Documentation reproduced from package bandit, version 0.4.2. License: GPL-3