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

Rockets and Rayguns - Andrew May ****

The Cold War period saw dramatic developments in science and technology, coinciding with the flourishing of the science fiction genre. In Rockets and Rayguns, Andrew May draws on the parallels between reality and fiction, each influencing the other.

Inevitably a major Cold War theme was the threat of nuclear war, and May opens with the bomb. It's fascinating that fiction got there first - nuclear weapons were featured in science fiction when many physicists were still doubting the practicality of using nuclear energy. Of course, it's a lot easier to simply take a concept and dream up a weapon than it is to make it for real - for example, H. G. Wells' prophetic nuclear bombs from his 1914 The World Set Free were nothing like the real thing. And some science fiction devices concepts - notably ray guns and force fields - came to very little in reality. However this doesn't prevent the parallels being of interest.

May gives us a mix of the science - describing how nuclear we…

Galileo Galilei, the Tuscan Artist – Pietro Greco ****

Near the beginning of John Milton’s epic poem Paradise Lost, he refers to a ‘Tuscan artist’ viewing the Moon through an optic glass. He’s talking about Galileo – one of history’s greatest scientists, but not the most obvious person to slap an ‘artist’ label on. Yet Galileo lived at a time – the Renaissance – when it was fashionable to dabble impartially in both the arts and sciences. Look up ‘Renaissance man’ on Wikipedia and you’ll see Galileo’s picture right there underneath Leonardo da Vinci’s. It’s a less well-known side to his life, but it crops up again and again – interspersed among his many scientific achievements – in this excellent new biography by Pietro Greco.

If you’re looking for interesting trivia, you’ll find plenty in this book. Galileo’s father was a musician with scientific leanings, who carried out some of the first experiments on musical acoustics – which Galileo may have assisted with. As a young professor of mathematics, Galileo delivered a couple of lectures on …

Meet Your Bacteria - Nicola Temple and Catherine Whitlock ***

There have been a good number of books on our microbiome - the bacteria and other tiny organisms living in our body - from The Wild Life of Our Bodies throughI, Superorganism to I Contain Multitudes. Each of these is a traditional popular science book format, and all, to some degree, suffer from the same problem - in part, they have a tendency to present collections of facts, little more than bullet points of information strung together, rather than providing an effective narrative. As Meet Your Bacteria is in a significantly different format, there was a chance to imbue the subject with more dynamism and interest.'

When I first looked at the book, I assumed from its shape and cover that it would be in the style of highly illustrated, two-page spreads with large illustrations and the text little more than captions. In reality, Nicola Temple and Catherine Whitlock manage to subvert that format - it is, indeed, presented as a series of separate two-page spreads, but there is far more…