binomial_bandit_sim: Estimate the Bayesian posterior probability of each...

Description Usage Arguments Value See Also

Description

Estimate the Bayesian posterior probability of each alternative being the best binomial bandit at time t (simulation version)

Usage

1
binomial_bandit_sim(x, n, .alpha = 1, .beta = 1, ndraws = 5000, ncp = 0)

Arguments

x

number of success

n

number of trials

.alpha

alpha of beta distribution

.beta

beta of beta distribution

ncp

prior center

Value

optimal probabilities of each arm w_a, t

See Also

Eq (11)


zedoul/bandits documentation built on May 29, 2019, 1:44 p.m.