Description Usage Arguments Author(s) Examples
For a proportion problem with a beta prior, plots the prior predictive distribution of the number of successes in n trials and displays the observed number of successes.
1 | predplot(prior,n,yobs)
|
prior |
vector of parameters for beta prior |
n |
sample size |
yobs |
observed number of successes |
Jim Albert
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.