Galton’s 1889 Two Stage Quincunx

Here is a Shiny online animation of Galton’s Two Stage Quincunx which allows sample sizes of one to five.

https://galtonbayesianmachine.shinyapps.io/GaltonBayesianMachine/

Here is experimental R code used to make the animations which Shiny displays. (Warning it will create HTML files in the default directory and currently won’t work for all combinations of levels in the machines and sample sizes.)

GaltonMachine1PnS.R

Reference:  Stigler, Stephen M. 2010. Darwin, Galton and the statistical enlightenment. Journal of the Royal Statistical Society: Series A 173(3):469-482 http://onlinelibrary.wiley.com/doi/10.1111/j.1467-985X.2010.00643.x/abstract 

Some slides on a fictionalized historical account for a non-technical audience.

OrangeTree

An R Demo program for simple one sample binary outcomes with rejection and importance sampling methods and calculation of interval coverage averaged over the prior.

BinaryABC

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s