Skip to main content

Fun with the Reverend Bayes

A recent review of Bayes' Rule by James V. Stone for review, has reminded me of the delightful case of the mathematician's coloured balls. (Mathematicians often have cases of coloured balls. Don't ask me why.)

This is a thought experiment that helps illustrate why we have problems dealing with uncertainty and probability.

Imagine I've got a jar with 50 white balls and 50 black balls in it. I take out a ball but don't look at it. What's the chance that this ball is black?

I hope you said 50% or 50:50 or 1/2 or 0.5 - all ways of saying that it has equal chances of being either white or black. With no further information that's the only sensible assumption.

Now keep that ball to one side, still not looking at it. You pull out another ball and you do look at this one. (Mathematicians know how to have a good time.) It's white.

Now what's the chance that the first ball was black?

You might be very sensibly drawn to suggest that it's still 50:50. After all, how could the probability change just because I took another ball out afterwards? But the branch of probability and statistics known as Bayesian tells us that probabilities are not set in stone or absolute - they are only as good as the information we have, and gaining extra information can change the probability.

Initially you had no information about the balls other than that there were 50 of each colour in the pot. Now, however, you also know that a ball drawn from the remainder was white. If that first ball had been black, you would be slightly more likely to draw a white ball next time. So drawing a white makes it's slightly more likely that the first ball was black than it was white - you've got extra information. Not a lot of information, it's true. Yet it does shift the probability, even though the information comes in after the first ball was drawn.

If you find that hard to believe, imagine taking the example to the extreme. I've got a similar pot with just two balls in, one black, one white. I draw one out but don't look at it. What's the chance that this ball is black? Again it's 50%. Now lets take another ball out of the pot and look at. It's white. Do you still think that looking at another ball doesn't change the chances of the other ball being black? If so let's place a bet - because I now know that the other ball is definitely black.

So even though it appears that there's a 0.5 chance of the ball being black initially, what is really the case is that 0.5 is our best bet given the information we had. It's not an absolute fact, it's our best guess given what we know. In reality the ball was either definitely white or definitely black, not it some quantum indeterminate state. But we didn't know which it was, so that 0.5 gave us a best guess.

One final example to show how information can change apparently fixed probabilities.

We'll go back to the first example to show another way that information can change probability. Again I've got a pot, then with 50 black and 50 white balls. I draw one out. What's the probability it's black? You very reasonably say 50%.  So far this is exactly the same situation as the first time round.

I, however, have extra information. I now share that information with you - and you change your mind and say that the probability is 100% black, even though nothing has changed about the actual pot or ball drawn. Why? Because I have told you that all the balls at the bottom of the pot are white and all the balls at the top are black. My extra information changes the probabilities.

Comments

Popular posts from this blog

The Meteorite Hunters - Joshua Howgego *****

This is an extremely engaging read on a subject that everyone is aware of, but few of us know much detail about. Usually, if I'm honest, geology tends to be one of the least entertaining scientific subjects but here (I suppose, given that geo- refers to the Earth it ought to be astrology... but that might be a touch misleading). Here, though, there is plenty of opportunity to capture our interest. The first part of the book takes us both to see meteorites and to hear stories of meteorite hunters, whose exploits vary from erudite science trips to something more like an Indiana Jones outing. Joshua Howgego takes us back to the earliest observations and discoveries of meteorites and the initial doubt that they could have extraterrestrial sources, through to explorations of deserts and the Antarctic - both locations where it tends to be easier to find them. I, certainly, had no idea about the use of camera networks to track incoming meteors, which not only try to estimate where they wi...

Pagans (SF) - James Alistair Henry *****

There's a fascinating sub-genre of science fiction known as alternate history. The idea is that at some point in the past, history diverged from reality, resulting in a different present. Perhaps the most acclaimed of these books is Kingsley Amis's The Alteration , set in a modern England where there had not been a reformation - but James Alistair Henry arguably does even better by giving us a present where Britain is a third world country, still divided between Celts in the west and Saxons in the East. Neither the Normans nor Christianity have any significant impact. In itself this is a clever idea, but what makes it absolutely excellent is mixing in a police procedural murder mystery, where the investigation is being undertaken by a Celtic DI, Drustan, who has to work in London alongside Aedith, a Saxon reeve of equivalent rank, who also happens to be daughter of the Earl of Mercia. While you could argue about a few historical aspects, it's effectively done and has a plot...

The Decline and Fall of the Human Empire - Henry Gee ****

In his last book, Henry Gee impressed with his A (Very) Short History of Life on Earth - this time he zooms in on one very specific aspect of life on Earth - humans - and gives us not just a history, but a prediction of the future - our extinction. The book starts with an entertaining prologue, to an extent bemoaning our obsession with dinosaurs, a story that leads, inexorably towards extinction. This is a fate, Gee points out, that will occur for every species, including our own. We then cover three potential stages of the rise and fall of humanity (the book's title is purposely modelled on Gibbon) - Rise, Fall and Escape. Gee's speciality is palaeontology and in the first section he takes us back to explore as much as we can know from the extremely patchy fossil record of the origins of the human family, the genus Homo and the eventual dominance of Homo sapiens , pushing out any remaining members of other closely related species. As we move onto the Fall section, Gee gives ...