Degrees of Belief
Bayesian epistemology
What laws must degrees of belief obey, and why those laws rather than others?
The part opens on a forecast of seventy percent rain: not knowledge, not plain belief, but a degree of confidence. Ramsey and de Finetti measure it by betting prices, Kolmogorov's axioms turn credences into points on a simplex, and two arguments say why a credence must lie there. A bookie, found by a linear program, takes a sure profit from any point off the simplex; Joyce's accuracy argument shows that the nearest point on the simplex is closer to the truth in every world. Proper scoring rules make honest reports pay, conditionalization and Jeffrey's rule say how credences move, and the problem of the priors asks where they start. There the part turns: Bertrand's three ways of drawing a random chord give 1/3, 1/2 and 1/4, so indifference is not well defined, and this is the Wall's thirteenth brick. It ends with what the framework strains to hold: chance, imprecise credences and dilation, the lottery and the preface, Sleeping Beauty, the Doomsday argument, and the cost of exact Bayesian inference.
What you need. School algebra and fractions; the idea of a fair bet. The linear program and the separating hyperplane are drawn, not assumed.
- The calculation
- Dutch books, accuracy dominance
- The wall
- Bertrand's paradox
- Built toy
- credence lab on the simplex; Sleeping Beauty
What you will be able to do
Introductory
- Build a Dutch book against credences that break the addition law, and compute the sure loss.
- Update a credence by Bayes' rule on a positive test and explain the role of the base rate.
- Explain why Bertrand's three chord ensembles give three answers to one question.
Advanced
- Prove that a strictly proper scoring rule is minimized in expectation by reporting one's own credence, for the Brier and logarithmic rules.
- Compute the projection of an incoherent credence onto the simplex and verify that it has a smaller Brier score in every world.
- Apply Jeffrey's rule when the evidence shifts a partition without making any cell certain.
Research
- State the Dutch book theorem with its converse as a separating hyperplane result, and say which step of the accuracy argument needs the scoring rule to be strictly proper.
- Compute the dilation of a precise credence across a credal set, and set out Elga's objection and the replies.
Applied
- Score a set of probability forecasts with the Brier and log rules, bin them for calibration, and say what each number rewards.
- Explain why exact inference in a Bayesian network grows with the size of the joint table.
Contents
Each chapter has a home level. Choose a track to see what to read and watch: Introductory 24 min · Advanced 50 min · Research 58 min · Applied 33 min.
- 0How sure are you?Introductory2 min
- 1From belief to degreesIntroductory2 min
- 2The Dutch bookIntroductory5 min
- 3Closer to the truthAdvanced4 min
- 4Keeping scoreApplied5 min
- 5Learning from evidenceIntroductory5 min
- 6Where priors come fromAdvanced4 min
- 7Bertrand's chordsIntroductory5 min
- 8Chance and credenceAdvanced4 min
- 9Imprecise credencesResearch4 min
- 10The lottery and the prefaceAdvanced5 min
- 11Sleeping BeautyIntroductory4 min
- 12Observers and doomResearch4 min
- 13Bayesian machinesApplied3 min
- Recap, problems, and where this comes backAll tracks2 min
Also on this page: Lecture · Key results · Try it · Lab · Problems · Notes and sources · 中文 · Build the film.
Lecture
The text of each chapter is the film's narration, as it is spoken, so you can read along or revise without the film. The pictures are in the film.
How sure are you?Introductory2 min
Parts 11 and 12 treated belief as all or nothing: you know, or believe, or you don't. But most of what we think comes in degrees. Frank Ramsey, at twenty-three, announced the subject of this part: the logic of partial belief. It turned out to be probability theory, and it has become the working epistemology of science, medicine, finance and machine learning.
Take a weather forecast. Seventy percent chance of rain. The forecaster does not know it will rain, and does not simply believe it either. She has a degree of confidence, a credence. What laws must degrees of belief obey, and why those? How should they change when evidence comes in? Where do they start, before any evidence? Here we lay this part's brick in the Wall: Bertrand's paradox, which shows that the natural answer, indifference, is not even well defined. And how do degrees of belief connect with all-or-nothing belief, with objective chance, and with the strange question of where, and when, you are?
The plan. Credences as points in a geometric space. Two arguments that they must obey the laws of probability: one about betting, one about accuracy, each computed. How to score a forecaster honestly. How credences should change, and where they should start. Bertrand's chords, objective chance, and credences too vague for a single number. The lottery and the preface, Sleeping Beauty, and the Doomsday argument. And Bayesian machines, and the limits of what they can compute.
What it establishes: belief comes in degrees; Ramsey (1926); the plan.
1From belief to degreesIntroductory2 min
How can a degree of belief be measured? Frank Ramsey in 1926, and Bruno de Finetti independently, proposed: by betting. Picture a ticket that pays one dollar if it rains tomorrow. Your credence in rain is the price at which you would be equally willing to buy the ticket or to sell it. If you would pay seventy cents for it, and also take seventy cents to issue one, your credence is point seven. De Finetti went further: probability does not exist, he wrote, meaning that there is no probability out in the world, only degrees of belief, constrained by one requirement, coherence, which we come to next.
The laws themselves were set down by Andrey Kolmogorov in 1933, for probability in mathematics. Three axioms. Credences are never negative. A tautology gets credence one. And the credence in a disjunction of incompatible propositions is the sum of their credences. Everything else follows: the credence of not A is one minus that of A; the general rule for disjunctions; and if A entails B, A can be no more credible than B. The claim that rational credences must obey these laws is called probabilism. The next two chapters give the two main arguments for it.
Geometry makes this vivid. With one proposition A, a credence function is a pair of numbers: your credence in A, and in not A. Plot it as a point. The coherent pairs, which add to one, lie on the diagonal line. Point seven and point three is on the line. Point six and point six is off it: it gives more total credence than there is. With three possible worlds, a credence function is a point in space, and the coherent ones form a triangle, the probability simplex, with a world at each corner. Coherence means being on the simplex. Now, why should we be?
What it establishes: betting quotients (Ramsey 1926, de Finetti 1937); Kolmogorov's axioms (1933); credences as points; the simplex.
2The Dutch bookIntroductory5 min
Here is Ramsey's argument. You announce a price for each ticket. A bookie may buy any ticket from you or sell you any ticket, at your price, as many as he likes. He knows nothing you don't; he only reads your prices. Suppose your credence in A is point six, and your credence in not A is also point six. The bookie sells you both tickets, for a dollar twenty. If A happens, the A ticket pays one dollar; if not, the other one does. Either way, exactly one ticket pays, and you collect a dollar. You lose twenty cents, whatever happens. A set of bets that loses in every possible world is called a Dutch book.
With two tickets the book is easy to see. With many propositions, finding it is a computation. Give each ticket a stake, s. A positive stake means you buy that many tickets; a negative one, that you sell. In each world your net gain is the sum, over the tickets, of the stake times the ticket's payoff minus its price. The net gain is linear in the stakes. So the search for the worst book is a linear program: find stakes, each between minus one and one, that make your net gain at most minus t in every world, and make t as large as possible. If the best t is positive, the program has found a Dutch book. If it is zero, no book exists. The Reasoner solves it with an off-the-shelf solver.
Here is a case where the incoherence is less obvious. Credence one half in A, one half in B, point four in A and B, and one half in A or B. Each looks reasonable. But the laws demand that the credence in A or B be the credence in A plus that in B minus that in both: point six, not point five. The linear program finds the book: buy A, buy B, sell A and B, and sell A or B. Check it world by world. In each of the four worlds, the four bets net to minus ten cents. A sure loss of ten cents. Repair the credences, a quarter for both and three quarters for either, and the program reports that no book exists.
This always works. The Dutch book theorem: if your credences violate the axioms, some book is a sure loss. And its converse, proved in 1955 by John Kemeny and by Sherman Lehman: if they obey the axioms, no book is. The proof is geometry. Write your credences as a point, c, and each world as its truth vector, a corner. The net gain of a book with stakes s, in world w, is the dot product of s with the arrow from c to that corner. A sure loss means that dot product is negative for every corner. That says a hyperplane through c, perpendicular to s, has every corner strictly on one side. And such a hyperplane exists exactly when c lies outside the convex hull of the corners, which is the simplex. That is the separating hyperplane theorem, in Farkas's form. For point six, point six, the stakes are one and one: buy both tickets.
Is a betting argument the right kind of argument about belief? Five objections. First: I never bet. David Christensen's reply: the point is not that you will lose money, but that your credences judge each bet in a losing package fair. That is a defect in the credences themselves. Second: money is not utility; a dollar matters less to the rich. Ramsey already measured stakes in utility, calibrated by an ethically neutral proposition. Third: bets interact, so valuing each bet separately is not valuing the package. This is the package principle, questioned by Frederic Schick. Fourth: betting can change what you bet on, as with bets on your own actions. Fifth: the argument supports only finite additivity. Countable additivity needs infinitely many bets at once, and de Finetti himself rejected it. These pressures led to a different argument, one with no bookie at all, about accuracy.
What it establishes: the bookie; the LP; the Dutch book theorem and its converse (Kemeny, Lehman 1955), by a separating hyperplane; five objections.; Computed on screen: a 20-cent book against (0.6, 0.6); a 10-cent book against four credences, and none after repair
3Closer to the truthAdvanced4 min
In 1998 James Joyce gave an argument for probabilism with no bets in it. Belief aims at truth. The ideal credence gives one to every truth and zero to every falsehood; the closer you are to that, the more accurate. Measure inaccuracy by the Brier score: the sum, over the propositions, of the squared gap between your credence and the truth value. Glenn Brier introduced it in 1950 to score weather forecasters. With credence point seven in rain, and point three in dry: if it rains, your inaccuracy is point one eight; if it stays dry, point nine eight. Geometrically, it is the squared distance from your credence point to the corner of the true world.
Now the theorem. Take the incoherent credences from the Dutch book: point six and point six. Its inaccuracy in each world is the squared distance to that world's corner. Draw a circle around each corner, through the point. Now project the point onto the coherent line: one half, one half. The projection lies inside both circles. It is closer to both corners. Point five two becomes point five, in each world. Whatever the truth turns out to be, the coherent credence is more accurate. Move the incoherent point anywhere. Point eight and point five: the projection is point six five, point three five, and again it wins in both worlds. Anywhere off the line, the same thing happens. The reason is Pythagoras: the angle at the projection, between the point and any corner, is right or obtuse, so the corner is closer to the projection than to the point. An incoherent credence is accuracy-dominated: some coherent credence is more accurate in every possible world.
With three worlds, the coherent credences form a triangle in space. Credences point five, point four, point three add to one point two: the point floats above the triangle. Project it down, and the inaccuracy falls in every world: point five to point four eight seven, point seven to point six eight seven, point nine to point eight eight seven. Credences that add to only point seven sit below the triangle; projected up, to point three, point three, point four, again they improve in all three worlds. The geometry is the same in every dimension. The simplex is convex, and the projection onto a convex set is closer to every point of it.
This is the accuracy argument for probabilism. For any strictly proper measure of inaccuracy, the mathematicians' Bregman divergences, of which the Brier score is one, incoherent credences are strictly dominated by coherent ones, and coherent credences are never dominated, not even weakly. The result goes back to de Finetti, was made a philosophical argument by Joyce, was proved in this generality by Joel Predd and colleagues, and is the subject of Richard Pettigrew's book. The fine print. Why squared error? With absolute error the theorem fails; the next chapter shows why. Dominance reasoning can mislead when your credences affect the world, as Michael Caie showed with self-referential propositions. Hilary Greaves asked whether accuracy licenses trade-offs, accepting one falsehood to gain many truths. And note the projection itself: it is the nearest coherent repair, and a close cousin of it returns when we update on evidence.
What it establishes: the Brier score; Joyce (1998); dominance in 2D and 3D; the theorem (Predd et al. 2009) and its fine print.; Computed on screen: projections and their Brier scores in every world
4Keeping scoreApplied5 min
The Brier score raises a practical question. How should we score forecasters so that they tell us what they really think? Say your credence in rain is p. You report a number q, which need not be p, and tomorrow you are penalized by a scoring rule, S, according to whether it rained. By your own lights, your expected penalty is p times the penalty if it rains, plus one minus p times the penalty if not. The rule is called proper if your expected penalty is smallest when you report your true credence, and strictly proper if that is the only best report. Under a strictly proper rule, honesty is the unique best policy.
The Reasoner plots the expected penalty for every report, when your credence is point seven, under four rules. The Brier score: the minimum is at point seven. The logarithmic score, minus the log of the probability you gave to what actually happened: again the minimum is at point seven. The spherical score: point seven. But the linear score, minus the probability you gave to what happened, which is the same as absolute error: its expected penalty falls all the way to the edge. Under the linear rule, a forecaster who thinks rain is seventy percent likely does best by announcing that rain is certain. It rewards exaggeration.
This is why the accuracy argument of the last chapter must use a proper measure. Take three worlds, and the coherent uniform credence, one third each. Measured by absolute error, its inaccuracy in any world is two thirds plus a third plus a third: four thirds. Now take the incoherent credence that gives zero to everything. In any world, its absolute error is one. So by absolute error, the incoherent credence beats the coherent one in every world. An improper measure rewards extreme, even incoherent, credences. With strictly proper measures, dominance always favours coherence.
Now a simulation. Two thousand events, each with a true chance, and outcomes drawn from those chances. Four forecasters. One reports the true chance. One is overconfident, pushing every number towards zero or one. One is timid, pulling every number towards a half. And one always says one half. Their mean Brier penalties: the honest forecaster wins, at point one six six; the overconfident one is second, the timid one third, and always-a-half is worst, at a quarter. Under the log score the honest forecaster wins again, but now the overconfident one falls behind the timid one, because the log score punishes confident mistakes without limit. Every strictly proper rule ranks honesty first; they disagree about how to rank the different ways of being wrong.
There is a second way to judge forecasters: calibration. Group the days by forecast. Of the days on which you said seventy percent, did it rain on about seventy percent? Plot forecast against frequency. The honest forecaster lies on the diagonal. The overconfident one makes an S-shape, flatter than the diagonal: when she says ninety eight percent, it happens only eighty eight percent of the time. The timid one is steeper than the diagonal. And the forecaster who always says a half is a single point, on the diagonal: it happened about half the time. She is perfectly calibrated, and useless. Calibration is not enough; a good forecaster must also separate the days that will be rainy from the days that won't. Allan Murphy's decomposition makes this exact: the Brier score equals miscalibration, minus resolution, plus the uncertainty in the weather itself.
Proper scoring rules are everywhere. Meteorologists still use Brier's score. I. J. Good observed in 1952 that the log score measures surprise in bits, linking forecasting with information theory. Leonard Savage in 1971, and Mark Schervish in general, showed that every proper rule is generated by a convex function, and so the family is huge. Robin Hanson turned proper scores into markets: a prediction market can be run as a chain of forecasters, each paid by how much she improves on the last. Philip Tetlock's forecasting tournaments, scored by Brier, found superforecasters: amateurs who beat the professionals, and whose habits can be taught. Sites such as Metaculus now keep public scores. And machine learning trains its classifiers with cross-entropy, which is exactly the log score; that is why a network's outputs can be read as probabilities at all. Yet Chuan Guo and colleagues found in 2017 that modern networks are overconfident, our pink forecaster, and must be recalibrated. A proper score is a way to make honesty pay.
What it establishes: proper and strictly proper rules; absolute error is improper; forecasters; calibration; Murphy (1973); uses.; Computed on screen: expected-penalty curves at p = 0.7; (0,0,0) beats (⅓,⅓,⅓) under absolute error; Brier and log scores of four forecasters; calibration bins
5Learning from evidenceIntroductory5 min
Credences must be coherent at each moment. How should they change from one moment to the next? Draw all the possibilities as a square, with area as credence. H takes four tenths of it. The evidence E covers most of H and less of not H. Now you learn E, and nothing else. Cut away every possibility outside E. What remains must have total credence one, so rescale it, keeping the proportions inside E. That is conditionalization. The new credence in H is the old conditional credence, which Bayes's theorem computes from the likelihoods: here, from point four to point six four. Thomas Bayes's essay, published after his death in 1763, gave the first version of the rule.
Bayes's theorem is easy to state and hard to feel. One percent of people have a disease. A test catches ninety percent of those who have it, and wrongly flags nine percent of those who don't. You test positive. How likely is it that you are ill? Picture a thousand people. Ten are ill. The test flags nine of the ten, and also about eighty nine of the nine hundred and ninety who are well. So of roughly ninety eight positives, nine are ill: about nine percent. When Ward Casscells and colleagues put a question like this to doctors at Harvard in 1978, the most common answer was ninety five percent. Ignoring the base rate is one of the commonest errors in reasoning, and Gerd Gigerenzer showed that counting people, as we just did, makes it far rarer.
Why must updating go by conditionalization? David Lewis gave a Dutch book across time, first published by Paul Teller in 1973. Today your credence in E is one half, and your credence in H given E is point six. But your plan is that, if you learn E, your credence in H will be point four. The bookie sells you a ticket on H, called off unless E happens, for point six, your price. He also sells you a ticket that pays point two if E, for point one, again your price. If E happens, he buys the first ticket back at your new price, point four. Check it. If E happens, you lose point two on the first ticket and gain point one on the second. If E doesn't, the first bet is off and you lose the point one you paid for the second. Ten cents lost in every world. Any rule for updating other than conditionalization can be booked like this. And there is an accuracy version too: Hilary Greaves and David Wallace showed that conditionalizing maximizes your expected accuracy.
Strict conditionalization has two well-known problems. The first is old evidence, raised by Clark Glymour. The odd orbit of Mercury was known long before Einstein. So its credence was already one, and conditioning on it cannot raise the credence of general relativity. Yet it was one of the theory's great confirmations. Bayesians reply with counterfactual credences, or say that what was really learned was that the theory entails the orbit. The second: once you conditionalize on E, its credence is one, and no further conditionalizing can ever lower it. But real evidence is rarely certain. Richard Jeffrey's rule was designed for that.
Richard Jeffrey's example. You inspect a cloth by candlelight, wondering whether it will sell. Before you look, your credences in its colour are point three green, point three blue, point four violet. Your chance of selling it depends on the colour: point four if green or blue, point eight if violet. So your credence that it sells is point five six. Then you glimpse it. The glimpse is not a proposition you can state; it just shifts your colour credences, to point seven green, point two five blue, point zero five violet. Jeffrey's rule: keep the credences conditional on each colour fixed, and average them with the new weights. Your credence that it sells falls to point four two. Strict conditionalization is the special case where one weight goes to one. And, returning to the geometry of chapter three: Persi Diaconis and Sandy Zabell showed that Jeffrey's rule is the smallest change in relative entropy that fits the glimpse. Updating is minimal revision.
What it establishes: conditionalization; base-rate neglect; Lewis's diachronic book (Teller 1973); old evidence; Jeffrey's rule (1965).; Computed on screen: 0.4 → 0.64; 9.2% after a positive test; −0.1 in every world; 0.56 → 0.42
6Where priors come fromAdvanced4 min
We now have rules for the shape of credences at a time, and for how they move. But conditionalization says only how to move, not where to start. Every later credence inherits its character from the prior you began with. So is any coherent prior rational? Or does reason fix a single one? This is the problem of the priors.
The subjectivist's first reply is that it matters less than it seems. Three people are unsure of a coin's bias. The optimist's prior leans towards heads; the pessimist's towards tails. The third, the dogmatist, is sure the bias is at most one half, and gives zero to everything above. The coin's true bias is point six. All three watch the same flips and conditionalize. Ten flips. Fifty. Two hundred. A thousand. The optimist and the pessimist converge on the truth, whatever they started with. The evidence washes out the prior; David Blackwell and Lester Dubins proved that opinions merge in this way under very general conditions. But the dogmatist piles up at one half, against the wall of her own zero, and no evidence will ever move her past it. Dennis Lindley called the lesson Cromwell's rule: never give zero to anything that could be true.
Two camps. Subjective Bayesians, following de Finetti and Savage, permit any coherent prior. Rationality constrains how credences change, not what they start as. The worry: a prior can be coherent and crazy. Objective Bayesians, from Harold Jeffreys to Edwin Jaynes and Jon Williamson, hold that the evidence fixes a unique rational prior: respect symmetries, match known chances, and otherwise be as noncommittal as possible. The modern form of the dispute is permissivism against uniqueness: given a body of evidence, is there exactly one rational credence, as Roger White argues, or more than one?
Edwin Jaynes made the objective view precise. His example: a die has been rolled many times, and the average is four and a half, not three and a half. That is all you know. What should you believe about the next roll? Measure how noncommittal a distribution is by its Shannon entropy. Jaynes's principle: among the distributions that fit what you know, choose the one with the greatest entropy. Before the constraint, that is the uniform die. With the mean fixed at four and a half, the Reasoner solves for it: an exponential family, each face's probability proportional to e to the lambda k. Six gets point three five, one gets point zero five. Compare a distribution that also averages four and a half, half on four and half on five. Its entropy is far lower: it claims to know much more than you do. Maximum entropy is the least committal belief consistent with your evidence. Jaynes derived statistical mechanics from it.
Maximum entropy has troubles. Its answer depends on how you carve up the possibilities: uniform over one description is not uniform over another. Updating by maximum entropy can disagree with conditionalization, as Abner Shimony and Teddy Seidenfeld showed. And Bas van Fraassen's Judy Benjamin problem, about learning a conditional probability, gives answers that strike many as wrong. Yet it works widely in practice. Statistical mechanics; the logistic regression classifier, which is a maximum entropy model; regularized regression, where ridge and lasso are Gaussian and Laplace priors in disguise; and the default priors of Jeffreys and Bernardo in statistics. The first worry is the deepest. Which way of carving the possibilities is the right one? That question has a famous answer: none.
What it establishes: the problem of the priors; washing out and Cromwell's rule; subjective and objective Bayesians; Jaynes (1957).; Computed on screen: three priors updated on 1,000 flips; the maximum-entropy die with mean 4.5
7Bertrand's chordsIntroductory5 min
The simplest way to fix a prior is the principle of indifference. If you have no reason to favour any of n possibilities, give each one an nth. Laplace called it the principle of insufficient reason; John Maynard Keynes renamed it in 1921, and also catalogued its paradoxes. Knowing nothing about a die, give each face a sixth. If it worked, it would realize the objective Bayesian's dream: ignorance itself would fix the prior. With infinitely many possibilities, the principle says to use a uniform density. And there it breaks.
Joseph Bertrand's problem, from 1889. Take a circle of radius one and the equilateral triangle inscribed in it; the triangle's side is root three. Draw a chord of the circle at random. What is the chance that it is longer than the side of the triangle? Indifference says: choose the chord uniformly. But uniformly over what? There are several natural ways to pick a chord, and each is uniform over something.
The Reasoner draws a hundred thousand chords each way, and shows two hundred and fifty of them. First: pick two points on the circle, uniformly and independently, and join them. About one third of these chords are long. Second: pick a radius at random, a point uniformly along it, and draw the chord through that point at right angles to the radius. Half are long. Third: pick a point uniformly in the disk, and draw the chord that has it as its midpoint. A quarter are long. One question, three uniform distributions, three answers: a third, a half, a quarter. Each simulation matches its exact value.
Each answer is correct for its own way of choosing. With random endpoints, fix the first end; the chord is long exactly when the other end lands in the far third of the circle. One third. With a random point on a radius, the chord is long exactly when the point is within a half of the centre. One half. With a random midpoint, the chord is long exactly when the midpoint lies inside the circle of radius one half, which has a quarter of the area. One quarter. Being drawn at random is not a property of chords. It is a choice of what to be uniform over, and the principle of indifference cannot make it for us.
Bas van Fraassen's version needs no geometry. A factory makes cubes with sides of up to one centimetre. What is the chance that the next cube's side is at most half a centimetre? Be indifferent over side length, and the answer is one half. But a side of at most a half is a face of at most a quarter. Be indifferent over face area, and the answer is one quarter. And it is a volume of at most an eighth: be indifferent over volume, and the answer is one eighth. One event; three answers. Ignorance of side, of area and of volume are the same ignorance, yet indifference gives each a different prior.
Jaynes fought back in 1973, in a paper called The Well-Posed Problem. If the problem states nothing about the circle's position, size or orientation, then the answer should not depend on them. So demand that the distribution of chords be invariant under translation, scaling and rotation. Only one of the three ensembles survives: the random radius, with its answer one half. Jaynes even reported tossing straws at a circle drawn on the floor, which agreed. But the reply has limits. Which symmetries to demand is itself a substantive choice; ignorance does not supply it. And many problems, like the cube factory, have no symmetry group that settles the answer.
This is the thirteenth brick in the Wall. The dream: one rational prior, read off from ignorance alone. The wall: Bertrand's paradox, which shows that indifference gives incompatible answers depending on how the possibilities are described. What it forces: priors are choices. They can be argued for, with symmetry, with calibration, with track records, but they are not given free by ignorance. Every Bayesian, human or machine, starts from a bet.
What it establishes: indifference; Bertrand's chords (1889); why each answer holds; the cube factory; Jaynes (1973); the Wall's thirteenth brick.; Computed on screen: 100,000 chords per method: 0.333, 0.502, 0.248; ½, ¼, ⅛
8Chance and credenceAdvanced4 min
So far probability has meant credence. But scientists speak of chances in the world: the chance that an atom decays, that a coin lands heads. What is probability? Five classic answers, surveyed in Alan Hájek's article on the interpretations of probability. The classical view: the ratio of favourable to equipossible cases, which runs straight into Bertrand. The frequency view: the long-run relative frequency. But what of a single case, and which reference class is yours? Karl Popper's propensities: a disposition of the experimental set-up. Paul Humphreys objected that propensities cannot run backwards, yet conditional probabilities do. Lewis's best-system view: chances are whatever the simplest and strongest summary of the world's history says. And the subjective view of this part. Most philosophers now accept two families: chance, out in the world, and credence, in the head. The question is how they connect.
David Lewis gave the connection in 1980, and called it the Principal Principle, because it captures, he said, all we know about chance. Your credence in A, given that the chance of A is x, should be x. That holds whatever else you know, provided it is admissible: facts about the past, and the laws. A crystal ball that showed you the coin's landing would be inadmissible; knowing that, you should ignore the chance. A consequence: if you are unsure of the chance, your credence is your expectation of the chance.
A small example. A bag holds a fair coin and a bent coin that lands heads nine times in ten. One is drawn at random and flipped, again and again. Before any flip, by the Principal Principle, your credence in heads is the expected chance: half of point nine plus half of point five, point seven. Notice that point seven is nobody's chance. Now the flips come in. Each one updates your credence about which coin it is, by Bayes, and your credence in the next heads follows, always the expected chance. Two early tails make the fair coin look likely. But the heads keep coming, and after a dozen flips you are over ninety percent sure it is the bent coin, and your credence in heads is close to point nine. This is how credence learns chance.
De Finetti, who said that probability does not exist, had an answer to talk of unknown chances. Call your credences about a sequence of flips exchangeable if the order doesn't matter to you: any sequence with the same number of heads gets the same credence. His representation theorem: then your credences are exactly as if there were an unknown chance theta, with you holding a prior over it, and flips independent given theta. Every exchangeable credence acts as if there were a chance. So the subjectivist can talk of learning unknown chances without believing that they exist. And as the flips accumulate, the posterior over theta concentrates, which is the washing out of chapter six.
Lewis's own theory of chance nearly broke his principle. He called the problem the big bad bug. For a Humean, chances supervene on the whole history of the world, the future included. So there are possible futures that, were they to happen, would make the chances different. Call them undermining. The present chances give such a future a small positive chance. Yet if the chances are what they are, the undermining future cannot happen. The Principal Principle demands a positive credence and a zero credence at once. The repair, found in 1994 by Lewis, Ned Hall and Michael Thau, is the New Principle: condition the chance on the laws as well. Part 24, on laws, returns to this.
What it establishes: five interpretations; the Principal Principle (Lewis 1980); learning a chance; de Finetti's representation theorem; the big bad bug.; Computed on screen: credence in a bent coin and in heads over twelve flips
9Imprecise credencesResearch4 min
In 1961 Daniel Ellsberg, later famous for the Pentagon Papers, published an experiment. One urn has fifty red balls and fifty black. Another has a hundred balls, red and black, in proportions you don't know. You win a hundred dollars if you draw red. Which urn? Most people choose the known one. Now you win if you draw black. Most people choose the known urn again. But if your credence in red from the unknown urn were below a half, you should take it when betting on black; if above, when betting on red. No single number explains both choices. People are averse to ambiguity, and many philosophers think they are right to be.
The imprecise view, which goes back to Keynes and was developed by Isaac Levi, Peter Walley and James Joyce. Represent a state of belief not by one probability function but by a set of them, a credal set, perhaps all those compatible with your evidence. Then each proposition gets a lower and an upper probability. For the known urn, the set is just one half. For the unknown urn, the credence in red is the whole interval from zero to one. To learn, conditionalize every member of the set. That simple rule has a startling consequence.
Dilation. H: a fair coin lands heads; your credence is exactly one half. G: something you know nothing about, with credence anywhere from zero to one, and independent of the coin. Now you learn M: the coin's outcome matches G. The Reasoner runs through the members of your credal set. Every one gives H one half beforehand. After learning M, each member's credence in H equals its credence in G, by Bayes's theorem. So your credence in H dilates, from exactly a half to the whole interval. You have learned something, and are less sure about the coin than before, whatever M turns out to say. Teddy Seidenfeld and Larry Wasserman studied this in 1993; to critics it shows that imprecise credences are irrational.
Adam Elga pressed a pragmatic objection in 2010. Your credence in H is imprecise, anywhere from point one to point eight. You are offered bet A: lose ten if H, win fifteen if not. Then bet B: win fifteen if H, lose ten if not. Taken together, the bets win five dollars for sure. But considered one at a time, each has an expected value that is positive for some members of your set and negative for others. Many decision rules for imprecise credence permit refusing each. Refuse both, and you have turned down a sure five dollars. Defenders reply that a rational agent chooses whole plans, not one bet at a time, or adopt rules such as gamma-maximin or E-admissibility that force the sequence to cohere.
Imprecise probability is used in practice. Robust Bayesian analysis reports how a conclusion changes as the prior ranges over a set. Dempster and Shafer's belief functions model evidence that supports a set of possibilities without dividing it among them. The climate scientists of the IPCC use calibrated ranges: likely means a probability of sixty six to a hundred percent. And economists use ambiguity aversion to model markets. The philosophical question remains open: is imprecision a fact about evidence, or a failure to finish thinking?
What it establishes: Ellsberg (1961); credal sets; dilation (Seidenfeld and Wasserman 1993); Elga (2010); uses.; Computed on screen: P(H | M) = P(G) across the credal set: ½ dilates to [0, 1]
10The lottery and the prefaceAdvanced5 min
We now have two pictures of the mind. In Parts 11 and 12, belief was all or nothing. In this part, credence comes in degrees. How are they related? The obvious answer: to believe is to have a high enough credence. Believe A just when your credence in A reaches some threshold, say point nine nine. Richard Foley called this the Lockean thesis, after Locke's talk of degrees of assent. It runs into two famous paradoxes.
The lottery paradox, from Henry Kyburg in 1961. A fair lottery has a thousand tickets, and exactly one will win. Your credence that ticket one loses is point nine nine nine, over the threshold, so you believe it. Likewise for ticket two, and for every ticket up to a thousand. If rational belief is closed under conjunction, you believe that every ticket loses. But your credence in that is zero. You know that some ticket wins.
David Makinson's preface paradox, from 1965, needs no lottery. An author has checked each of the three hundred claims in her book carefully, and believes each one, with credence point nine nine. If the claims are independent, the chance that all three hundred are true is point nine nine to the three hundredth, about five percent. So in the preface she writes, as authors do, that errors surely remain. That is rational too. Yet the preface contradicts the conjunction of the book's claims. And unlike the lottery, nothing here is a matter of statistics: just a long, careful book.
The Reasoner sets out the lottery as a Price List. Three claims. A credence of point nine nine or more suffices for belief. Rational belief is closed under conjunction. Never believe what you know to be false. Together they are inconsistent, and dropping any one restores consistency. Give up the first: high credence is not enough for belief. Dana Nelkin and Martin Smith argue that purely statistical evidence never justifies outright belief: you do not believe your ticket will lose; you only think it very likely. Give up the second, with Kyburg and Foley: believe each claim without believing their conjunction. Or give up the third, with David Christensen: belief need not be consistent, since only credences must obey logic's laws. A fourth answer keeps a version of all three, by making the threshold depend on the situation.
That fourth answer is Hannes Leitgeb's stability theory. Call a proposition stable if it stays more likely than not however you conditionalize, on anything consistent with it. Equivalently, every world in it is more probable than all the worlds outside it put together. Take four worlds with these probabilities. The Reasoner finds the stable sets: the first world alone; the first two; the first three; and everything. They are nested, as Leitgeb proved they must be. Now believe exactly the propositions that contain one chosen stable set. Then belief is closed under conjunction, and it is also Lockean, with the threshold set by the probability of the stable set you chose. In a fair lottery, all worlds are equally likely, and the only stable set is everything. So you believe of no ticket that it loses. The threshold for belief is not fixed; it moves with the shape of your credences.
The lottery has a twin in the law. A thousand people attend a concert; only ten paid. You were there, so the chance that you didn't pay is ninety nine percent. Should a court find against you on that evidence alone? Almost everyone says no. This is a version of Jonathan Cohen's gatecrasher case. Yet an eyewitness who is right ninety five percent of the time would be enough. It is the same gap as the lottery: high probability is not the whole of justified belief, or of knowledge, as Part 11's safety condition suggested.
What it establishes: the Lockean thesis; Kyburg (1961); Makinson (1965); Price List: the lottery triad; Leitgeb (2017); statistical evidence.; Computed on screen: 0.999 per ticket, 0 for all; 0.99³⁰⁰ ≈ 0.049; the nested stable sets
11Sleeping BeautyIntroductory4 min
Adam Elga's puzzle, from 2000, came to him from the decision theorists. On Sunday Beauty is put to sleep, and a fair coin is tossed. If it lands heads, she is woken on Monday, and sleeps through Tuesday. If tails, she is woken on Monday, put back to sleep with the memory of the waking erased, and woken again on Tuesday. She knows all this. Now she wakes, with no idea what day it is. How likely is it, for her, that the coin landed heads?
Two answers, both defended by excellent philosophers. The halfer, David Lewis: on Sunday her credence in heads was a half, and when she wakes she learns nothing she didn't know would happen. So it should still be a half. The thirder, Elga: there are three wakings she cannot tell apart. The two tails wakings should be equally likely. And if she were told that it is Monday, her credence in heads should be one half, because the coin could just as well be tossed on Monday night, after she wakes. Put those together, and each of the three wakings gets a third. So heads gets a third.
The Reasoner runs the experiment a hundred thousand times. Here are the first sixteen, one square per waking: one square after heads, two after tails. Count the experiments in which the coin landed heads: half of them. Count the wakings that follow heads: a third of them, because tails produces twice as many wakings. Both numbers are right. They answer different questions: how often the coin lands heads, and how often a waking follows heads. The puzzle is which of those Beauty's credence should track.
Can betting settle it, as it settled coherence? Offer Beauty a ticket paying a dollar if heads, at price x, at every waking. After heads she buys one ticket and wins; after tails she buys two and loses both. Her break-even price is a third: the thirder's credence. But if only one purchase per experiment counts, the break-even price is a half: the halfer's. So bets reveal what is being counted. They don't decide what Beauty should believe.
Each answer has a price, which shows when Beauty is told that today is Monday. For the thirder, her credence in heads rises from a third to a half: she has learned what day it is, and wakings are what she was uncertain among. For Lewis's halfer it rises from a half to two thirds. So she should be two-thirds confident that a fair coin, to be tossed tonight, will land heads. Few can accept that. The double halfer, Christopher Meacham's view, says a half both times, which means she does not conditionalize on what she learns. Every answer pays somewhere.
What makes Beauty hard is that her uncertainty is not about the world. Ordinary credence is spread over possible worlds. Self-locating credence, in Lewis's phrase, is spread over centred worlds: a world together with a person and a time. Beauty has three centres to choose among. Learning that it is Monday is learning which centre you occupy, not which world. Conditionalization was designed for uncertainty about worlds, and Michael Titelbaum and others have had to rebuild it for centres. Next, the same question, about all of humanity.
What it establishes: the week; halfers and thirders (Elga 2000, Lewis 2001); bets; "today is Monday"; centred worlds.; Computed on screen: 100,000 runs: 0.500 heads per experiment, 0.333 per waking; break-even prices ⅓ and ½
12Observers and doomResearch4 min
Evidence can be filtered by the way it reaches us. Arthur Eddington's example: a fisherman's net has a two-inch mesh, and every fish he catches is longer than two inches. Should he conclude that the sea has no small fish? No: his net could not have caught them. We are in the same position about our own existence. Every observer finds herself in conditions that allow observers. Brandon Carter called this the anthropic principle. How should it enter our credences?
A toy model makes the question exact. A fair coin decides which of two universes exists. The small one will contain ten people in all; the big one a thousand. You find yourself existing, and you learn that you are the seventh person ever born. Which universe are you in?
One answer is the self-sampling assumption, set out by Nick Bostrom. Reason as if you were a random sample from the observers in your world. Then being seventh is a one in ten chance in the small universe and a one in a thousand chance in the big one, and you should be ninety nine percent sure that you are in the small one. Now replace the toys with humanity. About a hundred billion people have been born. Suppose humanity will total either two hundred billion, doom soon, or two hundred trillion, doom late, and give each a half. The same calculation makes doom soon ninety nine point nine percent likely. This is the Doomsday argument of Brandon Carter and John Leslie: from your birth rank alone, it seems, you can predict that humanity will end soon.
The rival is the self-indication assumption. The fact that you exist at all is evidence for worlds with more observers in them, in proportion to their number. First, update on existing: the big universe has a hundred times as many people, so it becomes a hundred times likelier. Then update on being seventh, by the self-sampling rule. The two factors of a hundred cancel, and you are back at a half. For humanity's numbers the Reasoner gets the same: doom soon falls to a tenth of a percent on existing, then returns to exactly a half on learning your rank. Under the self-indication assumption, the Doomsday argument vanishes.
But the self-indication assumption has a price of its own, which Bostrom called the presumptuous philosopher. Physics leaves two cosmological theories equally well supported. On the first there are a trillion observers; on the second a thousand times more. The physicists propose an expensive experiment to decide between them. The philosopher says: don't bother; by the self-indication assumption, the second theory is a thousand times likelier already. That seems absurd. So the assumption that disarms Doomsday makes armchair cosmology too easy. And the self-sampling assumption has its own problem: random among which observers? Humans, mammals, minds? The answer changes the prediction. This is the reference class problem, again.
The same reasoning meets cosmology's biggest question. If several constants of physics were slightly different, there would be no chemistry and no observers. Is that luck, design, or a sign of many universes with varied constants, of which ours is one of the few that can be observed? The self-indication assumption favours many universes, since they hold more observers. Roger White argued that the existence of other universes does not make it any likelier that this universe is fit for life, and that to think so is what Ian Hacking called the inverse gambler's fallacy. The tools of this part make the question precise. They do not yet settle it.
What it establishes: observation selection; SSA and SIA on toy universes; Doomsday (Carter, Leslie); the presumptuous philosopher; fine-tuning.; Computed on screen: 0.990 on the toys; 0.999 under SSA, 0.001 then 0.5 under SIA
13Bayesian machinesApplied3 min
How does a machine hold a credence function? Judea Pearl's answer, in 1988, was the Bayesian network. Rain makes the sprinkler less likely to be on, and either one can wet the grass. Each variable gets a small table, giving its chances conditional on its parents. The joint credence over all the variables is the product of those tables. Independence does the work: each variable depends only on its parents.
Now the grass is wet. Did it rain? Exact inference by enumeration: the Reasoner multiplies out the joint credence for all eight combinations. Keep the rows where the grass is wet, and add them: point four four eight. Among those, keep the rows with rain: point one six. Divide. The credence in rain, given wet grass, is point three five eight, up from point two.
That was eight rows. With n yes-or-no variables, the full joint table has two to the n entries: a thousand for ten variables, a million for twenty, a billion for thirty, and over a thousand trillion for fifty. A network stores far less, one small table per variable. But Gregory Cooper proved in 1990 that exact inference in Bayesian networks is NP-hard. Paul Dagum and Michael Luby then proved that even approximating it to a fixed accuracy is NP-hard. Coherence itself is no easier: the Dutch book program of chapter two has one column for each possible world, two to the n of them. Real systems approximate: they sample, with Markov chain Monte Carlo; they fit simpler distributions, with variational methods; and they exploit structure.
There is a deeper idealization. Probabilism gives every logical truth credence one. So the proposition that the googolth digit of pi is seven must get credence one or zero, before anyone has computed it. No real reasoner can comply, and Part 7's limits on proof apply to minds as much as to machines. Ian Hacking and Daniel Garber proposed treating logical facts as things one can learn. And in 2016 Scott Garrabrant and colleagues defined logical induction: a way of assigning credences to mathematical claims that no efficient trader can exploit, a Dutch book criterion for a bounded reasoner.
Are we Bayesian machines? In some ways, strikingly so. When we combine sight and touch to judge a size, Marc Ernst and Martin Banks found that we weight each cue almost exactly as Bayes would. Predictive processing theories treat all of perception as inference. Critics such as Matt Jones and Bradley Love reply that with a free choice of prior and of utilities, any behaviour can be described as Bayesian. Resource rationality takes the middle path: minds are optimal given the cost of computation, which is exactly what this chapter says a Bayesian must pay. And in base-rate problems like chapter five's, people are far from Bayes.
What it establishes: Bayesian networks (Pearl 1988); exact inference by enumeration and its cost (Cooper 1990; Dagum and Luby 1993); logical omniscience; Bayesian brains.; Computed on screen: P(rain | wet) = 0.358; joint tables of 2ⁿ entries
Recap, problems, and where this comes backAll tracks2 min
Let's gather what we built. Credences as points, and the axioms as a simplex. The Dutch book, found by a linear program and proved by a separating hyperplane. Accuracy, and the proper scores that make honesty pay. How to update, and where to start. Bertrand's chords, this part's brick in the Wall; chance; and imprecision. Belief and credence; Sleeping Beauty; and the Doomsday argument. And Bayesian machines, with their costs.
The Reasoner has a credence laboratory. The Dutch book program; projection onto the simplex; scoring rules and synthetic forecasters; diachronic books, Jeffrey's rule and maximum entropy; Bertrand's chords, the cube factory and dilation; stable sets, Sleeping Beauty and the Doomsday calculation. And the Wall has its thirteenth brick.
Six problems, with full solutions in this part's notes. A Dutch book to build; the log score's propriety; a rarer disease; Jeffrey's cloth in reverse; one more chord; and an essay on Sleeping Beauty. Pause here, and try them.
Where this comes back. The probability of conditionals, and Lewis's triviality theorem, in Part 14. Confirmation and induction, in Part 15. Bayesian and frequentist statistics, in Part 16. Chance and the big bad bug, in Part 24. Decisions under uncertainty, and Ellsberg again, in Part 33. And calibrated, fair machines, in Parts 41 and 42. Next, Part 14: changing your mind.
The books and papers this part follows are on screen, and in the notes. Thanks for watching.
Where it goes next. The probability of conditionals and Lewis's triviality theorem follow in Part 14, confirmation and induction in Part 15, Bayesian against frequentist statistics in Part 16, chance and the big bad bug in Part 24, decisions under uncertainty and Ellsberg again in Part 33, and calibrated, fair machines in Parts 41 and 42.
Key results
The part's results in one place, for revision.
Try it
Lab 13 · Two arguments for the probability axioms, run on random credences
Draw 150 credence assignments over three exclusive, exhaustive worlds. For each, let the Reasoner's linear program look for a Dutch book and project the credence onto the simplex, then check both theorems: the sure loss is |sum - 1|, and the projection has a smaller Brier score in every world.
python -m videos.philosophy.labs 13
needs numpy, scipy, matplotlib · download lab13.py ·
source on GitHubcredences (0.6, 0.6) in A and not-A sure loss 0.20 stakes {'A': 1.0, 'notA': 1.0}
incoherent credences tried 150
largest |LP sure loss - |sum - 1|| 5.0e-07 (theory 0)
projection dominates in every world 150 of 150 (theory: all)
smallest Brier improvement, worst world 0.0001 (theory: > 0)
books found against 50 probabilities 0 (theory 0)
Off the simplex a bookie has a sure profit equal to the distance of the credences' sum from 1, and the nearest coherent credence is more accurate whatever the truth is; on the simplex neither complaint can be made.
The code (74 lines; it asserts its own result)
"""Lab 13: find the Dutch book against random credences by linear programming, and check accuracy dominance."""
import numpy as np
from videos.coursekit import labs
from explainer.philosophy.reasoner import credence as Cr
TITLE = "Two arguments for the probability axioms, run on random credences"
GOAL = ("Draw 150 credence assignments over three exclusive, exhaustive worlds. For each, let the Reasoner's linear "
"program look for a Dutch book and project the credence onto the simplex, then check both theorems: the "
"sure loss is |sum - 1|, and the projection has a smaller Brier score in every world.")
TASKS = [
"Add a fourth proposition, 'world a or world b', with its own credence, and find a book against a credence "
"that sums to 1 on the worlds but breaks additivity on the disjunction.",
"Replace the Brier score by absolute error (sum of |c_i - v_i|) and find an incoherent credence that its "
"projection does not dominate.",
"Copy Cr.dutch_book and widen its stake bounds from 1 to 5. How does the sure loss scale, and why is a bound needed?",
]
def run(seed=0):
rng = np.random.default_rng(seed)
worlds = ["a", "b", "c"]
props = {w: {w} for w in worlds}
lab = labs.Lab()
# the film's first book: credence 0.6 in A and 0.6 in not-A
film = Cr.dutch_book(["A", "notA"], {"A": {"A"}, "notA": {"notA"}}, {"A": 0.6, "notA": 0.6})
assert abs(film["sure_loss"] - 0.2) < 1e-6, "the film's 20-cent book"
lab.row("credences (0.6, 0.6) in A and not-A", f"sure loss {film['sure_loss']:.2f} stakes {film['stakes']}")
n = 150
excess, loss, gain = [], [], []
for _ in range(n):
c = rng.uniform(0, 1, 3)
book = Cr.dutch_book(worlds, props, dict(zip(worlds, c)))
sure = book["sure_loss"] if book else 0.0
if book: # the agent loses in every world, and by exactly the same amount when the stakes are +-1
assert max(book["payoff"].values()) < 0, "a book loses in every world"
d = Cr.dominance(list(c))
assert d["dominates"], "the projection is closer to the truth in every world"
assert abs(sum(d["projection"]) - 1) < 1e-9 and min(d["projection"]) >= 0
excess.append(abs(c.sum() - 1))
loss.append(sure)
gain.append(min(bc - bp for bc, bp in zip(d["brier_c"], d["brier_p"])))
excess, loss, gain = np.array(excess), np.array(loss), np.array(gain)
assert np.max(np.abs(loss - excess)) < 1e-5, "the sure loss is |sum of credences - 1|"
coherent = rng.dirichlet(np.ones(3), 50)
n_books = sum(not Cr.coherent(worlds, props, dict(zip(worlds, p))) for p in coherent)
assert n_books == 0, "no book against a probability"
lab.row("incoherent credences tried", f"{n}")
lab.row("largest |LP sure loss - |sum - 1||", f"{np.max(np.abs(loss - excess)):.1e} (theory 0)")
lab.row("projection dominates in every world", f"{n} of {n} (theory: all)")
lab.row("smallest Brier improvement, worst world", f"{gain.min():.4f} (theory: > 0)")
lab.row("books found against 50 probabilities", f"{n_books} (theory 0)")
lab.note = ("Off the simplex a bookie has a sure profit equal to the distance of the credences' sum from 1, and "
"the nearest coherent credence is more accurate whatever the truth is; on the simplex neither "
"complaint can be made.")
fig, ax = labs.figure(2, size=(11, 4.2))
ax[0].plot([0, 2], [0, 2], color=labs.MUTED, ls="--", lw=1, label="theory: loss = |sum - 1|")
ax[0].scatter(excess, loss, s=16, color=labs.GOLD, label="LP's guaranteed loss", zorder=3)
ax[0].set(title="The Dutch book: the bookie's sure profit", xlabel="|sum of the three credences - 1|",
ylabel="sure loss (stakes at most 1)", xlim=(0, max(excess) * 1.05), ylim=(0, max(excess) * 1.05))
ax[0].legend(loc="upper left")
ax[1].scatter(excess, gain, s=16, color=labs.GREEN, label="Brier(c) - Brier(projection), worst world")
ax[1].axhline(0, color=labs.RED, lw=1, label="no improvement")
ax[1].set(title="Accuracy: the projection wins in every world", xlabel="|sum of the three credences - 1|",
ylabel="smallest improvement over the 3 worlds")
ax[1].legend(loc="upper left")
lab.fig = fig
return lab
Now change it
- Add a fourth proposition, 'world a or world b', with its own credence, and find a book against a credence that sums to 1 on the worlds but breaks additivity on the disjunction.
- Replace the Brier score by absolute error (sum of |c_i - v_i|) and find an incoherent credence that its projection does not dominate.
- Copy Cr.dutch_book and widen its stake bounds from 1 to 5. How does the sure loss scale, and why is a bound needed?
Problems, with solutions
Try each problem before opening its solution.
-
A Dutch book. \(A\) and \(B\) are incompatible; \(c(A) = 0.3\), \(c(B) = 0.4\), \(c(A \lor B) = 0.8\). Build a Dutch book.
Solution
c(A) + c(B) = 0.7 but c(A ∨ B) = 0.8. Sell the agent a ticket on A ∨ B for 0.8 and buy tickets on A and on B from her for 0.3 and 0.4. If A: she gains 1 − 0.8 on the first ticket and pays out 1 on the A ticket she sold, having received 0.7: net −0.1. If B: the same, −0.1. If neither: −0.8 + 0.7 = −0.1. A sure loss of ten cents.
-
The log score. Show that the log score is strictly proper: minimize \(-p \ln q - (1 - p)\ln(1 - q)\) over \(q\).
Solution
f(q) = −p ln q − (1 − p) ln(1 − q). f′(q) = −p/q + (1 − p)/(1 − q) = 0 exactly when q = p, and f″(q) = p/q² + (1 − p)/(1 − q)² > 0, so q = p is the unique minimizer: the rule is strictly proper.
-
A rarer disease. Prevalence 0.1%, sensitivity 99%, false positives 1%: find \(P(\text{ill} \mid +)\).
Solution
P(ill | +) = 0.001 × 0.99 / (0.001 × 0.99 + 0.999 × 0.01) = 0.00099 / 0.01098 ≈ 9.0%. In natural frequencies: of 100,000 people, 100 are ill and 99 test positive; of the 99,900 who are well, 999 test positive.
-
Jeffrey's cloth in reverse. Jeffrey's cloth: if the glimpse leaves \(P(\text{blue}) = 0.2\), which \(P(\text{violet})\) gives \(P(\text{sold}) = 0.5\)?
Solution
With P(blue) = 0.2 and P(green) = 0.8 − v, P(sold) = 0.4(0.8 − v) + 0.4(0.2) + 0.8v = 0.4 + 0.4v. Setting this to 0.5 gives v = P(violet) = 0.25, and P(green) = 0.55.
-
One more chord. For random-radius chords, what is the chance that a chord is longer than the radius?
Solution
A random-radius chord at distance d from the centre has length 2√(1 − d²), with d uniform on [0, 1]. It is longer than 1 exactly when d < √3/2, so the chance is √3/2 ≈ 0.866.
-
(Essay) Halfer or thirder? (Essay) Halfer or thirder? Defend an answer, and say what it costs.
Solution
A strong answer states which principle it keeps (no change without new evidence; indifference among centred possibilities; conditionalization on self-locating evidence), shows what the other answers give up, and faces its own cost from Chapter 11: the thirder's change of credence without news about the coin, the halfer's two thirds for a fair future toss, or the double halfer's abandonment of conditionalization.
Notes and sources
Sources
Texts: Ramsey, "Truth and Probability" (1926); de Finetti, "La prévision" (1937); Kolmogorov, Grundbegriffe (1933); Keynes, A Treatise on Probability (1921); Jeffrey, The Logic of Decision (1965); Jaynes, Probability Theory: The Logic of Science (2003); van Fraassen, Laws and Symmetry (1989); Walley, Statistical Reasoning with Imprecise Probabilities (1991); Pearl, Probabilistic Reasoning in Intelligent Systems (1988); Bostrom, Anthropic Bias (2002); Pettigrew, Accuracy and the Laws of Credence (2016); Leitgeb, The Stability of Belief (2017); Titelbaum, Fundamentals of Bayesian Epistemology (2022); Hájek, "Interpretations of Probability" (SEP).
Papers: Bertrand (1889); Brier (1950); Good (1952); Kemeny (1955); Lehman (1955); Jaynes (1957, 1973); Ellsberg (1961); Kyburg (1961); Blackwell and Dubins (1962); Makinson (1965); Savage (1971); Murphy (1973); Teller (1973); Casscells, Schoenberger and Graboys (1978); Glymour (1980); Lewis (1980, 1994, 2001); Diaconis and Zabell (1982); Garber (1983); Cooper (1990); Dagum and Luby (1993); Seidenfeld and Wasserman (1993); Hall (1994); Thau (1994); Joyce (1998, 2010); Elga (2000, 2010); White (2000, 2005); Ernst and Banks (2002); Hanson (2003); Greaves and Wallace (2006); Meacham (2008); Predd et al. (2009); Jones and Love (2011); Caie (2013); Garrabrant et al. (2016); Guo et al. (2017); Lieder and Griffiths (2020).
About this partfrom its README
Part 13 of Philosophy, Built (series plan, syllabus): Bayesian epistemology. Ramsey and de Finetti's betting measure of belief, Kolmogorov's axioms, and credences as points on the simplex; the Dutch book, found by a linear program and proved by a separating hyperplane, with Kemeny and Lehman's converse and the objections to betting arguments; Joyce's accuracy argument, drawn in two and three dimensions; proper scoring rules (Brier, log, spherical) and the improper linear rule, four synthetic forecasters, calibration and Murphy's decomposition, and their uses from meteorology to superforecasting and cross-entropy; conditionalization, the base rate, Lewis's diachronic book, old evidence, and Jeffrey's rule; the problem of the priors, washing out and Cromwell's rule, subjective and objective Bayesianism, Jaynes's maximum entropy; Bertrand's chords (the Wall's thirteenth brick), van Fraassen's cube factory and Jaynes's invariance reply; the interpretations of probability, the Principal Principle, de Finetti's representation theorem and the big bad bug; Ellsberg's urns, credal sets, dilation and Elga's objection; the lottery and the preface, the lottery triad as a Price List, Leitgeb's stable belief, and naked statistical evidence; Sleeping Beauty, simulated, with its bets and the double halfer; observation selection, SSA and SIA on toy universes, the Doomsday argument, the presumptuous philosopher and fine-tuning; and Bayesian networks, the cost of exact inference, logical omniscience and Bayesian brains.
The worked model results are computed by the Reasoner's credence laboratory (explainer/philosophy/reasoner/credence.py):
the Dutch-book LP over any finite set of worlds; Euclidean projection onto the simplex and the dominance check; four
scoring rules, best reports and synthetic forecasters with calibration bins; Lewis's diachronic book and Jeffrey's
rule; the maximum-entropy die; three chord ensembles simulated 100,000 times each and the cube factory; dilation over a
credal set; the lottery, the preface and Leitgeb's stable sets; Sleeping Beauty simulated 100,000 times; and the
Doomsday argument under SSA and SIA. It is tested in tests/philosophy/test_credence.py and cached by
compute.py.
Chapter notes
| # | Scene | What it establishes | Computed on screen |
|---|---|---|---|
| 0 | Hook |
belief comes in degrees; Ramsey (1926); the plan. | — |
| 1 | Ramsey |
betting quotients (Ramsey 1926, de Finetti 1937); Kolmogorov's axioms (1933); credences as points; the simplex. | — |
| 2 | Dutch |
the bookie; the LP; the Dutch book theorem and its converse (Kemeny, Lehman 1955), by a separating hyperplane; five objections. | a 20-cent book against (0.6, 0.6); a 10-cent book against four credences, and none after repair |
| 3 | Accuracy |
the Brier score; Joyce (1998); dominance in 2D and 3D; the theorem (Predd et al. 2009) and its fine print. | projections and their Brier scores in every world |
| 4 | Scoring |
proper and strictly proper rules; absolute error is improper; forecasters; calibration; Murphy (1973); uses. | expected-penalty curves at p = 0.7; (0,0,0) beats (⅓,⅓,⅓) under absolute error; Brier and log scores of four forecasters; calibration bins |
| 5 | Update |
conditionalization; base-rate neglect; Lewis's diachronic book (Teller 1973); old evidence; Jeffrey's rule (1965). | 0.4 → 0.64; 9.2% after a positive test; −0.1 in every world; 0.56 → 0.42 |
| 6 | Priors |
the problem of the priors; washing out and Cromwell's rule; subjective and objective Bayesians; Jaynes (1957). | three priors updated on 1,000 flips; the maximum-entropy die with mean 4.5 |
| 7 | Bertrand |
indifference; Bertrand's chords (1889); why each answer holds; the cube factory; Jaynes (1973); the Wall's thirteenth brick. | 100,000 chords per method: 0.333, 0.502, 0.248; ½, ¼, ⅛ |
| 8 | Chance |
five interpretations; the Principal Principle (Lewis 1980); learning a chance; de Finetti's representation theorem; the big bad bug. | credence in a bent coin and in heads over twelve flips |
| 9 | Imprecise |
Ellsberg (1961); credal sets; dilation (Seidenfeld and Wasserman 1993); Elga (2010); uses. | P(H | M) = P(G) across the credal set: ½ dilates to [0, 1] |
| 10 | Lottery |
the Lockean thesis; Kyburg (1961); Makinson (1965); Price List: the lottery triad; Leitgeb (2017); statistical evidence. | 0.999 per ticket, 0 for all; 0.99³⁰⁰ ≈ 0.049; the nested stable sets |
| 11 | Beauty |
the week; halfers and thirders (Elga 2000, Lewis 2001); bets; "today is Monday"; centred worlds. | 100,000 runs: 0.500 heads per experiment, 0.333 per waking; break-even prices ⅓ and ½ |
| 12 | Anthropic |
observation selection; SSA and SIA on toy universes; Doomsday (Carter, Leslie); the presumptuous philosopher; fine-tuning. | 0.990 on the toys; 0.999 under SSA, 0.001 then 0.5 under SIA |
| 13 | Machines |
Bayesian networks (Pearl 1988); exact inference by enumeration and its cost (Cooper 1990; Dagum and Luby 1993); logical omniscience; Bayesian brains. | P(rain | wet) = 0.358; joint tables of 2ⁿ entries |
| 14 | Outro |
recap; the Reasoner's module; the Wall; problems; payoffs; references. | — |
Companion material in this repository
The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
- From all-or-nothing to degrees: Ramsey's "Truth and Probability" (1926); de Finetti (1937).
- Kolmogorov's axioms; credences as points on the simplex (
Simplex). - The Dutch book theorem: incoherent credences can be exploited by a sure-loss book. The proof is a separating hyperplane drawn on the simplex. Built: an LP finds the book for any incoherent credence.
- Accuracy: the Brier score; Joyce's accuracy-dominance argument (1998). Projecting an incoherent point onto the simplex dominates it in every world (Predd et al. 2009), drawn in 2D and 3D.
- Proper scoring rules: Brier, logarithmic, spherical; the characterization (Savage, Schervish). Industry: forecasting, calibration, superforecasters (Tetlock), Metaculus; we compute Brier and log scores of synthetic forecasters.
- Conditionalization and the diachronic Dutch book (Lewis/Teller); Jeffrey conditionalization.
- The problem of the priors: subjective vs objective Bayesianism; MaxEnt (Jaynes).
- The principle of indifference and Bertrand's paradox: three "random chords" give 1/2, 1/3 and 1/4, all simulated; van Fraassen's cube factory; Jaynes's invariance answer and its limits.
- Chance and credence: Lewis's Principal Principle (Part 24 returns with the "big bad bug").
- Imprecise credences: credal sets; dilation, computed; the arguments for and against (Elga 2010).
- The lottery and preface paradoxes; the Lockean thesis; Leitgeb's stability theory of belief (2017), with stable sets computed.
- Self-locating belief: Sleeping Beauty (Elga 2000; Lewis 2001). Simulated, with the long-run frequencies, the bets each answer wins, and the double-halfer view.
- Anthropic reasoning: SSA vs SIA; the Doomsday argument; the presumptuous philosopher; fine-tuning and observation selection (Bostrom), all computed on toy universes.
- Bayesian brains and Bayesian machines: what the formal framework promises and what it can't compute (complexity of exact inference).
- Recap and Problems.
Built: reasoner.credence (coherence checking, the Dutch-book LP, Brier projection, scoring rules, conditioning,
credal sets, Sleeping Beauty and anthropic simulators).
Wall: Bertrand's paradox (indifference is not well-defined); the lottery paradox (no simple bridge from credence to
belief).
Price List: the lottery triad (rational belief is closed under conjunction; high credence suffices for belief;
don't believe what you know to be false).
Visuals: the 3-simplex in 3D with incoherent points and their projections; Bertrand's three chord ensembles;
Sleeping Beauty's branching week.
References: Titelbaum; Pettigrew; Joyce 1998 (Phil Sci); Hájek (SEP), "Interpretations of Probability"; Leitgeb,
The Stability of Belief; Bostrom, Anthropic Bias.
中文讲义
本讲的中文部分(与英文版对应)。
习题与解答
-
一个荷兰赌。 \(A\) 与 \(B\) 互不相容; \(c(A) = 0.3\), \(c(B) = 0.4\), \(c(A \lor B) = 0.8\)。 构造一个荷兰赌。
解答
\(c(A) + c(B) = 0.7\),但\(c(A \lor B) = 0.8\)。以0.8卖给她一张\(A \lor B\)的票,再分别以0.3和0.4从她那里买下\(A\)票和\(B\)票。若\(A\): 她在第一张票上得\(1 - 0.8\),在卖出的\(A\)票上赔1,又已收到0.7:净得\(-0.1\)。若\(B\):同样是\(-0.1\)。若两者都不发生:\(-0.8 + 0.7 = -0.1\)。 稳输一角。
-
对数评分。 证明对数评分是严格恰当的: 对 \(q\) 最小化 \(-p \ln q - (1 - p)\ln(1 - q)\)。
解答
\(f(q) = -p \ln q - (1 - p)\ln(1 - q)\)。\(f'(q) = -p/q + (1 - p)/(1 - q) = 0\)恰当\(q = p\),且\(f''(q) = p/q^2 + (1 - p)/(1 - q)^2 > 0\), 所以\(q = p\)是唯一的最小点:这条规则是严格恰当的。
-
更罕见的病。 患病率 0.1%, 灵敏度 99%, 假阳性 1%: 求 \(P(\text{患病} \mid +)\)。
解答
\(P(\text{患病} \mid +) = 0.001 \times 0.99 / (0.001 \times 0.99 + 0.999 \times 0.01) = 0.00099 / 0.01098 \approx 9.0\%\)。 用自然频数说:十万人中,100人患病,其中99人呈阳性;99,900名健康者中,999人呈阳性。
-
反过来用杰弗里的布。 杰弗里的布: 如果那一瞥之后 \(P(\text{蓝}) = 0.2\), 什么样的 \(P(\text{紫})\) 使 \(P(\text{售出}) = 0.5\)?
解答
设\(P(\text{蓝}) = 0.2\)、\(P(\text{绿}) = 0.8 - v\),则\(P(\text{售出}) = 0.4(0.8 - v) + 0.4(0.2) + 0.8v = 0.4 + 0.4v\)。 令它等于0.5,得\(v = P(\text{紫}) = 0.25\),\(P(\text{绿}) = 0.55\)。
-
再来一条弦。 对随机半径法得到的弦, 弦长于半径的机会是多少?
解答
随机半径法得到的、离圆心距离为\(d\)的弦长为\(2\sqrt{1 - d^2}\),\(d\)在\([0, 1]\)上均匀分布。它长于1恰当\(d < \sqrt{3}/2\), 所以概率是\(\sqrt{3}/2 \approx 0.866\)。
-
(论述题)二分之一派还是三分之一派?
解答
好的回答要说明自己保留哪条原则(没有新证据就不改变;在中心化的可能性之间无差别;对自我定位证据作条件化), 指出其他答案放弃了什么,并直面第11章里自己的代价:三分之一派在没有关于硬币的新消息时改变信念度,二分之一派对一次公平的未来抛掷给出三分之二, 或者双重二分之一派放弃条件化。
Build the film
python -m videos.philosophy.philosophy13.compute # the part's numbers, into .cache/philosophy13
python tools/build.py philosophy13 # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py philosophy13 Hook # one chapter, silent, with a contact sheet
Scenes: videos/philosophy/philosophy13. Setup: see the course page. Source of these notes: the README and the scenes' narration.
Build it
python -m videos.philosophy.philosophy13.compute # every computed item (a few seconds; .cache/philosophy13)
python tools/build.py philosophy13 -q l # 480p preview
python tools/build.py philosophy13 # 1080p30 -> renders/philosophy13.mp4
python tools/qa_scene.py philosophy13 Bertrand # one chapter, silent, with a contact sheet