binomial_posterior_summary | R Documentation |
Summary stats of posterior distribution of binomial model with Beta prior
binomial_posterior_summary(sample_size, observed, alpha = 1, beta = 1)
alpha |
First shape parameter of the Beta prior |
beta |
Second shape parameter of the Beta prior |
n |
Number of trials |
m |
Number of successes |
A list with summary statistics of the posterior distribution
binomial_posterior_summary(3, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.