Compute "value_remaining" in arms not currently best in binomial bandits
value_remaining(x, n, alpha = 1, beta = 1, ndraws = 10000)
| 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. |
Value_remaining distribution; the distribution of improvement amounts that another arm might have over the current best arm.