]>
The random experiment is to toss a coin times, where the probability of heads is . The probability of heads is modeled with a prior beta distribution, having left parameter and right parameter . The prior probability density function and the true probability of heads are shown in blue in the graph on the right. On each update, the number of heads is recorded in the data table. On each update, the posterior beta probability density function, which has left parameter and right parameter , is shown in red in graph on the right. Also, the Bayesian estimate of , is recorded in the data table on each update. Finally, the second table gives the true bias and mean square error of , and on each update gives the empirical bias and mean square error, based on the all of the runs of the experiment. The parameters , , , and can be varied with scroll bars.