BAYES_BETA: Bayesian Parameter Estimation

BAYES_BETA is a simple Bayesian Statistics demonstration.

Suppose we're watching a "system" and trying to analyze its behavior. Each time we observe the system, it flips a coin a certain number of times, and reports the number of heads and tails. We want to estimate THETA1 and THETA2, the probabilities of heads and of tails.

We treat the values of THETA1 and THETA2 as random variables themselves, controlled by a Beta probability density function, which has parameters ALPHA1 and ALPHA2. We make an arbitrary or informed guess for initial values of ALPHA1 and ALPHA2. We observe the system, and adjust ALPHA1 and ALPHA2 using Bayes's Law. We continue until we are satisfied that our estimates seem to have converged.

Files you may copy include:

The list of routines includes:

Return to the biomedical software page.


Last revised on 13 March 2001.