Reading Bayesian Computation with R by Jim Albert (Springer, 2009) inspired a fit of enthusiasm. Admittedly, I was on a plane coming back from Amsterdam and looking for distractions. I decided to put together a Shiny app to illustrate successive Bayesian updates. I had not yet seen anything that did this to my satisfaction. I like to think that my results come pretty close.

Below is a screenshot.

Basically the idea is:

- start with a beta prior (you specify the α and β parameters);
- enter the results of an experiment (number of trials and the number of successes); then
- the associated likelihood and resulting posterior distribution are displayed;
- the prior is updated from the posterior distribution by pressing the “Update” button;
- repeat at your leisure.

Hope that somebody finds this useful and interesting. Feedback would be appreciated.