prob_winner | R Documentation |
Function to compute probability that each arm is the winner, given simulated posterior results
prob_winner(post)
post |
the simulated results from the posterior, provided by sim_post |
Thomas Lotze and Markus Loecher
x=c(10,20,30,50) n=c(100,102,120,130) betaPost = sim_post(x,n) prob_winner(betaPost)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.