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

Quantum Space: Jim Baggott *****

There's no doubt that Jim Baggott is one of the best popular science writers currently active. He specialises in taking really difficult topics and giving a more in-depth look at them than most of his peers. The majority of the time he achieves with a fluid writing style that remains easily readable, though inevitably there are some aspects that are difficult for the readers to get their heads around - and this is certainly true of his latest title Quantum Space, which takes on loop quantum gravity.

As Baggott points out, you could easily think that string theory was the only game in town when it comes to the ultimate challenge in physics, finding a way to unify the currently incompatible general theory of relativity and quantum theory. Between them, these two behemoths of twentieth century physics underlie the vast bulk of physics very well - but they simply can't be put together. String theory (and its big brother M-theory, which as Baggott points out, is not actually a the…

Beyond Weird - Philip Ball *****

It would be easy to think 'Surely we don't need another book on quantum physics.' There are loads of them. Anyone should be happy with The Quantum Age on applications and the basics, Cracking Quantum Physics for an illustrated introduction or In Search of Schrödinger's Cat for classic history of science coverage. Don't be fooled, though - because in Beyond Weird, Philip Ball has done something rare in my experience until Quantum Sense and Nonsense came along. It makes an attempt not to describe quantum physics, but to explain why it is the way it is.

Historically this has rarely happened. It's true that physicists have come up with various interpretations of quantum physics, but these are designed as technical mechanisms to bridge the gap between theory and the world as we see it, rather than explanations that would make sense to the ordinary reader.

Ball does not ignore the interpretations, though he clearly isn't happy with any of them. He seems to come clo…

Everything You Know About Planet Earth is Wrong - Matt Brown ****

This is the latest of a series of 'Everything You Know About... is Wrong' books from Matt Brown. Although I always feel slightly hard done by as a result of the assertion in the title, as there are certainly things here I know that aren't wrong (I mean, come on, the first corrected piece of 'knowledge' is that 'The Earth is only 6,000 years old' and I can't imagine many readers will 'know' that), it's a handy format to provide what are often surprisingly little snippets of information that are very handy for 'did you know' conversations down the pub (or showing up your parents if you're a younger reader).

Some of the incorrect statements that head each article are well-covered, if often still believed (for example, people thought that world was flat before Columbus), some are a little tricksy in the wording (such as seas have to wash up against land) and some are just pleasantly surprising (countering the idea that gold is a rar…