Description Usage Arguments Value Author(s) Examples
View source: R/functions_utility.R
Simulates the posterior distribution of the Bayesian probabilities for each arm being the best binomial bandit.
1 |
x |
Vector of the number of successes per arm. |
n |
Vector of the number of trials per arm. |
alpha |
Shape parameter alpha for the prior beta distribution. |
beta |
Shape parameter beta for the prior beta distribution. |
ndraws |
Number of random draws from the posterior. |
Matrix of bayesian probabilities for each arm being the best binomial bandit
Thomas Lotze and Markus Loecher
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.