Skip to main content

Dr Bayes' medical marvels

The Bayesian approach to statistics is a fascinating subject, which I cover at some length in my book Dice World. What Bayes theorem enables you to do is to improve an estimate of the chances of something happening when you have additional information, and to use one set of probabilities to calculate another linked one.

This can be extremely useful and powerful when, for instance, calculating the effectiveness of disease screening tests, which can be very confusing due to wildly varying conditional probabilities. It's worth getting your head around a bit of probability symbology to get on top of this. In these simple formulae, the '|' sign is read as 'given'.

So, for instance if I have a test that will flag up the presence of a disease 90% of the time, which isn't too bad, I can write that as
P (Positive result | Disease ) = 90% - the probability of a positive result in the test, given the person has the disease, is 90%.

The problem comes, and sadly this has happened for real, when this is represented by the medical profession or (more often) the press office of a university or the press in general as the test being '90% accurate.' This is because it's perfectly possible with the same test for P (Disease | Positive Result ) to be, say, just 20%.

What that's saying is that the probability of a person who tested positive having the disease is only 20%. This, of course, is an important part of what people want to know after a test. I've just had the test and it came up positive. What's the chance that I actually have the disease? In this case it is surprisingly low, given the apparent 'accuracy' of the test.

The reason this can happen is that to work out the first figure, P (Positive result | Disease ) we are only considering the population of people who have the disease, which might be quite small. But for the second figure, P (Disease | Positive Result) we are looking at the population who had the test, which could be a much bigger number, overwhelming the number of correct positive result tests from the smaller population of sufferers with the false positive result tests from the larger population of tested people.

This makes those in the business who understand probability wary of mass screening programmes for relatively rare conditions - they result in tests that, even when very likely to get the result right on any particular individual, can come up with a distressing false positive more often than a true outcome, putting the patient through a time of horrible stress unnecessarily.

See David Colquhoun's blog for more detail on the risks of using these kinds of screening tests.

Comments

Popular posts from this blog

Why I hate opera

If I'm honest, the title of this post is an exaggeration to make a point. I don't really hate opera. There are a couple of operas - notably Monteverdi's Incoranazione di Poppea and Purcell's Dido & Aeneas - that I quite like. But what I do find truly sickening is the reverence with which opera is treated, as if it were some particularly great art form. Nowhere was this more obvious than in ITV's 2010 gut-wrenchingly awful series Pop Star to Opera Star , where the likes of Alan Tichmarsh treated the real opera singers as if they were fragile pieces on Antiques Roadshow, and the music as if it were a gift of the gods. In my opinion - and I know not everyone agrees - opera is: Mediocre music Melodramatic plots Amateurishly hammy acting A forced and unpleasant singing style Ridiculously over-supported by public funds I won't even bother to go into any detail on the plots and the acting - this is just self-evident. But the other aspects need some exp

Is 5x3 the same as 3x5?

The Internet has gone mildly bonkers over a child in America who was marked down in a test because when asked to work out 5x3 by repeated addition he/she used 5+5+5 instead of 3+3+3+3+3. Those who support the teacher say that 5x3 means 'five lots of 3' where the complainants say that 'times' is commutative (reversible) so the distinction is meaningless as 5x3 and 3x5 are indistinguishable. It's certainly true that not all mathematical operations are commutative. I think we are all comfortable that 5-3 is not the same as 3-5.  However. This not true of multiplication (of numbers). And so if there is to be any distinction, it has to be in the use of English to interpret the 'x' sign. Unfortunately, even here there is no logical way of coming up with a definitive answer. I suspect most primary school teachers would expands 'times' as 'lots of' as mentioned above. So we get 5 x 3 as '5 lots of 3'. Unfortunately that only wor

Why backgammon is a better game than chess

I freely admit that chess, for those who enjoy it, is a wonderful game, but I honestly believe that as a game , backgammon is better (and this isn't just because I'm a lot better at playing backgammon than chess). Having relatively recently written a book on game theory, I have given quite a lot of thought to the nature of games, and from that I'd say that chess has two significant weaknesses compared with backgammon. One is the lack of randomness. Because backgammon includes the roll of the dice, it introduces a random factor into the play. Of course, a game that is totally random provides very little enjoyment. Tossing a coin isn't at all entertaining. But the clever thing about backgammon is that the randomness is contributory without dominating - there is still plenty of room for skill (apart from very flukey dice throws, I can always be beaten by a really good backgammon player), but the introduction of a random factor makes it more life-like, with more of a sense