Bayesian prior

From The Jolly Contrarian
Revision as of 09:34, 22 March 2024 by Amwelladmin (talk | contribs)
Jump to navigation Jump to search
The design of organisations and products


Making legal contracts a better experience
Index — Click ᐅ to expand:

Comments? Questions? Suggestions? Requests? Insults? We’d love to 📧 hear from you.
Sign up for our newsletter.

I could go on and on about the failings of Shakespeare ... but really I shouldn’t need to: the Bayesian priors are pretty damning. About half of the people born since 1600 have been born in the past 100 years, but it gets much worse than that. When Shakespeare wrote, almost all of Europeans were busy farming, and very few people attended university; few people were even literate—probably as low as about ten million people. By contrast, there are now upwards of a billion literate people in the Western sphere. What are the odds that the greatest writer would have been born in 1564?

Chauncey Gardiner’s “sophomore college blog”, quoted in Michael Lewis’ Going Infinite

You ever seen the dude from FTX? The one that went to prison? That dude shouldn’t be talking about Shakespeare.

—Mike Tyson

Bayesian prior
beɪzˈiːən ˈpraɪə (n.)
A way to incorporate existing knowledge or beliefs about a parameter into statistical analysis.

For example, if you believe that:

  1. All playwrights can be objectively ranked according to independent, observable criteria;
  2. The quality of those playwrights in a given sample will be normally distributed; and
  3. The best way of assessing the quality of dramas is by statistical analysis

Then:

  1. You have already made several category errors, should not be talking about art, and if you are, no-one should be listening; but
  2. If nonetheless you still are, and they still are, and you are trying to estimate the statistical likelihood of a specific Elizabethan playwright being the best in history, then your knowledge that there were vastly fewer playwrights active in the Elizabethan period than have existed in all of history until now — which is a Bayesian “prior distribution” — might help you conclude that the odds of that Elizabethan playwright really being the best are vanishingly low.

At the same time, everyone else will conclude that you have no idea about literature and a shaky grasp even of Bayesian statistics.

Bayesian statistics have, in our dystopian techno-determinist age, a lot to answer for.

They take us from a surprising proof of how the odds work in a game of chance — that will help you choose wisely between goats and cars — but once it departs the tightly-controlled conditions of that statistical experiment, it is easily misapplied and may get badly lost in evaluating Shakespeare, our debt to distant future generations, and the onrushing apocalypse, courtesy of which, it seems to say, there won’t be any distant future generations to worry about anyway.

Goats and sportscars

The neatest illustration of how Bayesian priors are meant to work is the “Monty Hall” problem, named for the ghost of the gameshow Deal or No Deal and famously articulated in a letter to Parade Magazine as follows:

Suppose you're on a game show, and youʼre given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows whatʼs behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2?" Is it to your advantage to switch your choice?

If you have not seen it before, intuitively you may say, no: each door carried an equal probability before the host opened a door — 1/3 — and each carries an equal probability afterward — 1/2. While the odds are better now, they’re still even between each remaining door. So it should not matter whether you switch or not.

Bayesian probability shows this intuition to be wrong. The host will never open the door you chose, nor the one concealing the car, so while this new information tells you nothing about your original choice: you already knew at least one of the other doors (and possibly both of them) didn’t contain the car. It does, however, tell you something about the remaining choice. The odds as between the other two doors change, from 1/3 each to 0/3 for the open door — we now know it definitely doesnʼt hold the car — and 2/3 for the closed one, which still might.

So you should switch doors. You exchange a 1/3 chance of being right for a 1/3 risk of being wrong.

This proposal outrages some people, at first. Apparently, even statisticians. But it is true. It is easier to see if you imagine instead there are one thousand doors, not three, and after your first pick the host opens 998 of the other doors.

Here you know you were almost certainly wrong first time, so if every possible wrong answer but one is revealed to you it stands more obviously to reason that the other door which accounts for 999/1000 of the original options, is the one holding the car.

Lesson: use what you already know about history, and your place in it, to update your choices. This ought not to be such a revelation. Count cards. Update your predictions and become a “super forecaster”.

Bayesian probabilities are models

Now, all of this is well and good and unimpeachable if the conditions in which probabilities hold are present: a static, finite “sample space” — 3, 10 or 1000 doors — a finite and known number of discrete outcomes — goat or car — and a lack of intervening causes like moral (immoral?) agents who can capriciously affect the random outcomes.

It works well for carefully controlled games of chance involving flipped coins, thrown dice, randomly drawn playing cards and, of course Deal or No Deal. They are all simple systems, easily reduced to “nomological machines

When you apply it to unbounded complex systems involving, well, people, it works less well.

The doomsday problem

Bayesian probabilities, if misused, can lead statistics professors to the a priori deduction that we are all screwed.

A priori
(adj.)
Following logically from existing premises. Necessarily so. Not dependent on observation or falsifiable evidence.

Where it is not possible to gather the necessary evidence, philosophers have a weakness for a priori arguments. They are prevalent in metaphysical enquiries: Pascal ’s wager, cogito, ergo sum, the argument from design. Any argument based purely on probabilities is a priori: the general principle is extrapolated to predict a factual answer. A specific If you find yourself at or near the beginning of something, such as Civilisation, a bayesian model will tell you it will almost certainly end soon.

It works on elementary probability and can be illustrated simply.

Imagine there are two opaque barrels. One contains ten pool balls and the other contains ten thousand, in each case sequentially numbered from 1. You cannot tell which barrel is which.

A magician draws a ball with a seven on it from one barrel.

What are the odds that this came from the barrel with just ten balls?

Naive probability says that since both barrels contain a 7 ball, it is 50:50. Bayesian probability takes the additional fact we know about each barrel: the odds of drawing a seven from one barrel is 1 in 10, and from the other is 1 in 10,000, and concludes it is 1,000 times more likely that the 7 came from the barrel with just ten balls.

The proof of this intuition is if you drew ball 235, there would be no chance it came from the ten-ball barrel.

This logical reasoning is, obviously, sound. The same logic behind the “three door choice problem

How do we get from this to the imminence of the apocalypse?

Well, the start of your life is, across the cosmic stretch of human existence, like a random draw with a sequentially numbered birth year on each ball.

Now imagine an array of a million hypothetical barrels containing balls engraved with sequentially numbered years, beginning at the dawn of civilisation which, for arguments sake, we shall call the start of te Christian era .

The first barrel had just one ball, with 0 on it — the next has two: 0 and -3299, and so on, up to one million years after the fall of Troy.

Let's say your birth year was the 6001st after Troy. What are the odds that your birthday would be drawn at random from each of the million barrels? We know the odds for the first 6,000: zero. None of them have a ball 6001. Across the remaining 994,000 the probabilies fall from 1/6001 to 1/1,000,000. Using the same principle as above we can see that the probability is clustered somewhere nearer the “short end” (near 6001) than the “long end” (1,000,000).

If we assume your birthdate is drawn randomly from all the birthdates available to you then this sort of implies everything is likely to go pltetas arriba sooner rather than later.

This is rather like a malign inversion of the Lindy effect.


Assessing the probability that your ball came from a given barrel is somewhat complicated but clearly we can rule out barrels 1-6,000, andthe higher your birth year, the more probability there is that it resides in a higher barrel.


See also