thompson | R Documentation |
Thompson sampling (normal or beta (moment-matching method))
thompson(par1, par2, pay_type)
par1 |
if pay_type == gauss: par1 <- vector of 2 means; if pay_type == beta: par1 <- vector of 2 alphas |
par2 |
if pay_type == gauss: par1 <- vector of 2 sds; if pay_type == beta: par2 <- vector of 2 betas |
pay_type |
payoff type: drawn from either normal ('gauss') or beta ('beta') distribution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.