## Alpha, Beta, Gamma…

…

I made the following notes in reading John Cook’s post on the rule of three.

Notes:

- Bayes theorem:
- Binomial distribution (N trials, s successes) probability density function:
- Beta distribution probability density function: where
- In estimating the rate of an event that hasn’t happened yet using Bayes theorem, let the event be modeled by binomial distribution, and consider the prior distribution for the probability of event assumed to be a beta distribution. To get the uninformative prior that is used in the post we will just let . Let be the parameter of interest.
- With these assumptions:

Simplifying yields:

This is a beta distribution . Setting and yields the beta distribution (1, N+1) as indicated by the post.

The following graphic illustrates the effect of changing N on the posterior probability.

Advertisements

Categories: Mathematica, Mathematics

Comments (0)
Trackbacks (0)
Leave a comment
Trackback