ΨPsychology, Built

Act V · Thinking

Part 26 of 62

Judgment and Choice

Psych 101 and the majorstarts at this level62 min of film17 chaptersprerequisites: none

Why do the same people buy insurance and lottery tickets?

A disease threatens six hundred people. Described as lives saved, most people choose the sure programme; described as deaths, most choose the gamble, though the outcomes are identical. Bernoulli's utility explains insurance but not lottery tickets, and Allais's paradox breaks the independence axiom. Kahneman and Tversky's prospect theory measures outcomes from a reference point, with a kink at zero, and bends probabilities into an inverse S; its two curves compute the fourfold pattern, and on 1,928 open choice problems it beats expected value out of sample, though loss aversion is near one at small stakes. Heuristics err systematically, while frequencies and simple rules often do well; the hot-hand fallacy turns out to be in the statistic; hyperbolic discounting reverses plans; experience underweights rare events; and values come partly from what we have sampled.

What you need. Part 14's illusions, Part 17's reward learning and Part 25's accumulators. Expected values, Bayes's rule, logarithms and least squares.

Hook
the disease problem, 1981
Ideas, models and mathematics
expected utility and its violations, prospect theory derived, heuristics and biases, fast and frugal heuristics, discounting, dual-process accounts and their critics
Psyche gains
a prospect-theory chooser; a heuristics toolbox
On you
the classic problems, with the published splits

What you will be able to do

Psych 101 and the major

  • Explain framing, the Allais paradox and the fourfold pattern with prospect theory's two curves.
  • Describe availability, representativeness and anchoring, and solve a base-rate problem with natural frequencies.
  • Explain hyperbolic discounting and why it reverses preferences.

Graduate

  • Compute certainty equivalents under cumulative prospect theory.
  • Fit and cross-validate choice models on open data.
  • Compute the bias of the hot-hand statistic.

Research

  • Show that expected utility's indifference lines are parallel in the probability triangle.
  • Explain why prospect theory needed its cumulative form, and judge the evidence on loss aversion.

Practice

  • Design a default or a framing of choices, and say what would show it worked.
  • Communicate a risk in absolute frequencies.

Contents

Each chapter has a home level. Choose a track to see what to read and watch: Psych 101 and the major 43 min · Graduate 46 min · Research 62 min · Practice 46 min.

  1. 0Six hundred livesPsych 101 and the major4 min
  2. 1The standard: expected value and utilityPsych 101 and the major4 min
  3. 2The violationsPsych 101 and the major4 min
  4. 3Prospect theoryPsych 101 and the major4 min
  5. 4The fourfold patternPsych 101 and the major3 min
  6. 5Thirteen thousand gamblesResearch4 min
  7. 6Heuristics and biasesPsych 101 and the major4 min
  8. 7The reply: frequencies and fast, frugal rulesPsych 101 and the major6 min
  9. 8The hot handPsych 101 and the major3 min
  10. 9Choice over timePsych 101 and the major3 min
  11. 10Decisions from experienceResearch3 min
  12. 11Two systems?Research3 min
  13. 12Where values come fromResearch2 min
  14. 13The LedgerPsych 101 and the major3 min
  15. 14In practice: defaults, pensions and riskPractice3 min
  16. 15Frontier: theories found by machinesResearch3 min
  17. Recap, problems, and the road aheadAll tracks4 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. A dashed box stands for a number the film computes when it is rendered (hover over it to see what is computed); the README's figures for each chapter, where it lists them, follow the chapter's text.

Six hundred livesPsych 101 and the major4 min

Let's start on you. Imagine that the country is preparing for an unusual disease, expected to kill six hundred people. Two programmes to fight it have been proposed. If programme A is adopted, two hundred people will be saved. If programme B is adopted, there's a one-third chance that all six hundred will be saved, and a two-thirds chance that no one will be saved. Which do you favour? Decide now, before reading on.

Now a second version. Same disease, same six hundred. If programme C is adopted, four hundred people will die. If programme D is adopted, there's a one-third chance that nobody will die, and a two-thirds chance that six hundred will die. Which do you favour now?

If you're like most people, you chose differently the second time. But look at what the programmes do. Two hundred saved out of six hundred is four hundred dead. A and C are the same programme, and so are B and D: a one-third chance that everyone lives. In 1981 Amos Tversky and Daniel Kahneman put the first version to people: percent chose the sure thing. They put the second to others: percent chose the gamble. Saving lives, people avoid risk. Losing them, they seek it. The outcomes never changed, only the words.

The question behind that reversal is old. In 1738 Daniel Bernoulli described a coin game whose expected prize is infinite, and for which nobody will pay more than a few coins. His answer was that what matters isn't money but its value to you, which grows ever more slowly. In 1953 Maurice Allais put a pair of choices to the leading economists of the day that no one who maximizes expected utility could make, and many of them made them. In 1979 two psychologists, Daniel Kahneman and Amos Tversky, published prospect theory in Econometrica: values measured from a reference point, with a kink at zero, and probabilities bent out of shape. In 2002 Kahneman shared the economics Nobel prize; Tversky had died in 1996. And through it all, critics led by Gerd Gigerenzer asked whether the so-called biases are errors at all.

So why do the same people buy insurance and lottery tickets? We'll start with the standard that choices are measured against, and the first famous violation of it. Then prospect theory, its two curves, and the pattern of risk attitudes they compute, which answers today's question. Then we'll fit the theory to thirteen thousand gambles of open data and test it on problems it hasn't seen. Then the heuristics that produce biases, and the reply that they're often smart. And then the hot hand, choices over time and from experience, and where values come from in the first place.

This is Part 26 of Psychology, Built, the ninth part of Act Five, on thinking: judgment and choice. We'll set out expected value and utility and watch Allais break them. We'll build prospect theory's two curves and compute the fourfold pattern of risk. We'll fit the theory to almost two thousand open choice problems and cross-validate it. We'll meet the heuristics, the frequencies that tame them, and a simple rule that beats regression. We'll compute the bias hidden in the hot-hand studies, and the reversals of a mind that discounts the future hyperbolically. And we'll finish with choices learned from experience, the idea of two systems, and where values come from.

What it does: The disease problem on you in both frames; the splits; Bernoulli to the Nobel; the questions; objectives

1The standard: expected value and utilityPsych 101 and the major4 min

The first standard for a choice under risk is about as old as probability itself. Take a gamble that pays a hundred with probability point three, and nothing otherwise. Its expected value is the sum of each outcome times its chance: thirty. Offered a sure twenty-five instead, the rule says take the gamble. The rule comes from 1654, when Blaise Pascal and Pierre de Fermat worked out by letter how to split the stakes of a game interrupted before its end. Over many plays, the average prize tends to the expected value, so a gambler who plays often should maximize it. But everyone who buys insurance pays more, on average, than they get back. If they're not simply wrong, the rule needs amending.

Here is the problem that forced the amendment. Toss a coin until it lands heads. If heads comes first on toss k, you win two to the k ducats: two, four, eight, and so on. A head on the first toss has probability one half and pays two; on the second, one quarter and pays four. Every toss adds exactly one ducat to the expected prize, so if the game may go on for ever, its expected value is infinite. Yet nobody will pay more than a few ducats to play. And they're not obviously wrong. Here are a hundred thousand plays, the median of a hundred and one such runs: the average prize creeps up like the logarithm of the number of plays, reaching about ducats, not infinity. The infinite expectation comes from prizes so rare that you'll never see them.

Daniel Bernoulli's answer, in 1738: what matters is not the money but its utility to you, and a thousand ducats mean less to a rich man than to a poor one. So utility is a concave curve: each extra ducat adds less than the last. He chose the logarithm. Concavity explains risk aversion. A fifty-fifty gamble between two amounts has an average utility on the straight chord between them, which lies below the curve, so a sure amount less than the expected value is worth just as much. The gap is the premium you'd pay to be rid of the risk, which is what an insurance company sells. And it tames the St Petersburg game. With logarithmic utility, someone with ten ducats should pay about to play, and a millionaire about . Finite prices, rising slowly with wealth.

In 1944 John von Neumann and Oskar Morgenstern turned Bernoulli's idea into a theorem. Suppose your preferences are complete: of any two options you prefer one or are indifferent. Transitive: if you prefer A to B and B to C, you prefer A to C. And continuous: if A beats B and B beats C, some mixture of A and C is exactly as good as B. And add the fourth, the one that matters most today: independence. If you prefer A to B, you should still prefer A when both are mixed, in the same proportion, with the same third option C. The common part shouldn't matter. Then there is a utility function, and you choose as if maximizing expected utility. Leonard Savage extended the result in 1954 to probabilities that are your own beliefs. Whether a rational chooser must obey these axioms is a question for philosophy, taken up in Part 33 of Philosophy, Built. Our question is whether people do.

What it does: Expected value; St Petersburg; Bernoulli's concave utility; the four axioms

2The violationsPsych 101 and the major4 min

In 1953 Maurice Allais posed a pair of choices that breaks the independence axiom. Here is the version Kahneman and Tversky asked in Israeli pounds in 1979. Problem one: A gives two thousand five hundred with probability point three three, two thousand four hundred with point six six, and nothing with point zero one. B gives two thousand four hundred for sure. percent of people chose B. Problem two: C gives two thousand five hundred with point three three, otherwise nothing; D gives two thousand four hundred with point three four. percent chose C. Now look closely. Problem two is problem one with a point six six chance of two thousand four hundred removed from both options. That's exactly the common part that the independence axiom says can't matter. So anyone who prefers B to A must prefer D to C, and most people do the opposite. Kahneman and Tversky called it the certainty effect: a sure thing is weighted more than its probability says it should be.

There's a picture that makes the paradox visible. With three outcomes, nothing, two thousand four hundred and two thousand five hundred, any lottery is fixed by two numbers: the chance of the worst and the chance of the best. So every lottery is a point in this triangle, an idea of Jacob Marschak's that Mark Machina made famous. The bottom-left corner is two thousand four hundred for sure. For anyone who maximizes expected utility, the indifference curves are straight, parallel lines, whatever the utility function. The slope depends on the utility; the parallelism doesn't. That is the independence axiom, drawn. Here are the four options. Going from B to A is exactly the same step as going from D to C: one more chance in a hundred of nothing, thirty-three more of the top prize. A step that crosses parallel lines the same way at both places is either an improvement at both or a loss at both. Choosing B and C is impossible. What people show instead is curves that fan out: steep near certainty, where any risk is resisted, and flatter in the interior. Prospect theory, with the values Tversky and Kahneman published in 1992, computes exactly the popular pair: B, then C.

A second violation goes deeper, because it threatens the idea that a preference is a single ranking at all. Take two bets with similar expected values. The P-bet has a high chance of a small win; the dollar-bet a small chance of a large one. Asked to choose between them, most people take the P-bet. Asked what price they'd sell each for, most put the higher price on the dollar-bet. Sarah Lichtenstein and Paul Slovic reported this in 1971. In 1979 two economists, David Grether and Charles Plott, set out to show it was an artefact, with real money and careful incentives, and found it just the same. No single ranking of the two bets produces both answers. What you prefer depends on how you're asked. And prospect theory doesn't explain this one. The usual account, from Tversky, Slovic and Kahneman in 1990, is compatibility: naming a price draws attention to the money, and choosing draws it to the chances.

What it does: Allais's problems; the probability triangle; preference reversals

3Prospect theoryPsych 101 and the major4 min

Kahneman and Tversky's first step was to flip the signs. Offered four thousand with probability point eight, or three thousand for sure, percent of their respondents took the sure three thousand. Offered a point eight chance of losing four thousand, or a sure loss of three thousand, percent took the gamble. The same choice, reflected through zero, reverses the preference: risk aversion for gains, risk seeking for losses. And it shows what people respond to: not their final wealth, which Bernoulli's utility is defined on, but changes from a reference point, usually where they stand now. The disease problem moved that reference point with words, from everyone dead to everyone alive. The theory they built on these observations appeared in Econometrica in 1979.

The first of prospect theory's two curves is the value function. It is defined on gains and losses from the reference point, not on wealth. It shows diminishing sensitivity both ways: concave for gains, so the first hundred won matters more than the next hundred, and convex for losses, for the same reason. Convexity for losses is what makes people gamble to avoid a sure loss. And it has a kink at zero. Losses loom larger than gains. In the parameters Tversky and Kahneman estimated in 1992, the loss branch is times as steep, so losing a hundred weighs times as much as winning a hundred. Offer a fifty-fifty bet to lose a hundred, and with those values the win would have to reach about before the bet is worth taking. Asked directly, most people want somewhere around twice the stake.

The second curve is about probability. Prospect theory doesn't weight outcomes by their probabilities, but by decision weights that are a bent function of them. Small probabilities are overweighted. A one percent chance of a gain gets a weight of about , more than five times its size. That is the lottery ticket. Moderate and large probabilities are underweighted, and the step from ninety-nine percent to certainty is enormous. That is the certainty effect from Allais's problem. The result is an inverse S, flatter in the middle and steepest at the ends. Like the value function, it shows diminishing sensitivity, here away from the reference points of impossible and certain. Drazen Prelec derived a different inverse S from axioms in 1998; in data, the two shapes are hard to tell apart.

There's a technical problem in the 1979 version, and the fix is worth seeing. If each probability is weighted on its own, then splitting one outcome into two nearly equal ones raises its total weight, and a lottery can come out worth more than another that's better in every way. In 1992 Tversky and Kahneman weighted cumulative probabilities instead. Rank the outcomes. A gain's decision weight is how much it raises the weighted chance of doing at least that well; a loss's, how much it raises the weighted chance of doing at least that badly. These weights never violate dominance, and they still overweight the extremes: the best and the worst outcomes, when they're rare. John Quiggin had proposed the same rank-dependent idea in 1982, without the kink at zero. And the 1992 paper gave the parameters we've been using, medians of certainty equivalents that graduate students gave for dozens of gambles: point eight eight for the curvature, two point two five for loss aversion, and point six one and point six nine for the weights.

What it does: Reflection; the value function; the weighting function; the cumulative form

4The fourfold patternPsych 101 and the major3 min

Put the two curves together and they compute a pattern. On the left, for each chance p of winning a hundred, the sure amount that prospect theory, with the 1992 values, rates as just as good: the certainty equivalent. The dashed line is the expected value. For small chances the certainty equivalent lies above the expected value: a ten percent chance of a hundred is worth about , not ten. That's risk seeking. For large chances it lies below: ninety-five percent of a hundred is worth only about . That's risk aversion. On the right, losses, and everything flips. A small chance of losing a hundred feels as bad as a sure loss of about at five percent, more than its expected five: risk aversion, the kind that buys insurance. A large chance of losing it is preferred to a sure loss of : risk seeking.

Here are the four cells, with prospect theory's certainty equivalents for five and ninety-five percent chances of a hundred. A small chance of a gain: worth more than its expected value, so people seek risk. Lottery tickets. A large chance of a gain: worth less, so people avoid risk, and accept a settlement below the expected value of a strong lawsuit. A small chance of a loss: feared more than its expectation, so people avoid risk and pay for insurance. A large chance of a loss: people seek risk, gambling to escape a sure loss, as a trader doubles down or a defendant goes to trial. Tversky and Kahneman's own medians in 1992 showed the same four signs. So that's the answer to today's question. In 1948 Milton Friedman and Leonard Savage needed a utility curve with a strange wiggle to explain why one person buys both insurance and lottery tickets. Prospect theory needs no wiggle: the overweighting of small probabilities does it, for gains and losses alike.

One more classic, which the same two curves also handle. Offered four thousand with probability point eight or three thousand for sure, percent took the sure thing. Offered four thousand at point two or three thousand at point two five, percent took the four thousand. The second pair is the first with every chance divided by four. For expected utility only the ratio of the chances matters, so the choice shouldn't flip. For prospect theory it does: the certainty effect protects the sure three thousand, and once both are long shots, the bigger prize wins. Computed with the 1992 values, the theory makes both of the popular choices.

What it does: Certainty equivalents computed; the four cells; the common-ratio effect

5Thirteen thousand gamblesResearch4 min

Kahneman and Tversky built prospect theory on a few dozen problems. Here is a test on many more. In 2021 Joshua Peterson, David Bourgin, Mayank Agrawal, Daniel Reichman and Tom Griffiths published choices thirteen k: choice problems, each answered by about sixteen people online. The problems follow the format of the choice prediction competitions that Ido Erev and colleagues ran: option A has two outcomes, option B a sure part and a lottery, some probabilities are hidden, and most problems were played with feedback after each choice. For a theory of described risk the cleanest test is the problems shown with full descriptions and no feedback, so those are what we'll use. Here's one. What we predict is the share of people choosing B, problem by problem.

Four models. Each turns the values of A and B into a predicted share choosing B through a logistic rule, and each is fitted by least squares, the way the choice prediction competitions score. We score them on problems held out of the fit, ten times over, so a model can't win by memorizing. Expected value alone explains about percent of the variation between problems; a concave utility, about . A value curve with a kink at zero but no probability weighting adds almost nothing. Add the weighting function, and it rises to percent, with the same gain out of sample. The bent probabilities are doing the work. The fitted values are close to the 1992 ones in curvature and in the weighting of gains, but loss aversion is only , barely above one.

Here's what that difference looks like. Each dot is a problem: the share of people who chose B, against the share a model predicts. On the left, expected value. Its predictions bunch in the middle, and many problems that people decided almost unanimously look like coin flips to it. On the right, prospect theory. The cloud tightens along the diagonal. It's far from perfect, and the misses aren't random: Peterson and colleagues found that a neural network trained on these data could do better still, and then worked out what it had learned, which we'll come back to at the frontier.

And here are the curves the data chose. On the left the value function, scaled so that a gain of a hundred is worth one. In grey, the 1992 version; in purple, the one fitted to these choices. The curvature is similar, but the loss branch is nearly a mirror image of the gain branch. Loss aversion here is . On the right, the weighting of gains: an inverse S again, a little milder than in 1992. Fit the same model to the problems played with feedback, where people saw what each choice paid, and the weights straighten, especially for losses, and loss aversion drops below one, to . So this is the first appearance of a theme for the rest of the part: some of prospect theory replicates at scale, the bent probabilities above all, and some depends on the stakes and on how choices are made. Here the stakes are small, and losses barely loom.

What it does: choices13k; four models cross-validated; predicted against observed; the fitted curves

6Heuristics and biasesPsych 101 and the major4 min

Prospect theory is about choosing once the chances are known. A second programme, begun earlier, asked how people judge chances in the first place. In 1974 Tversky and Kahneman published three rules of thumb in Science. Availability: judging how common something is by how easily examples come to mind. Are there more English words that start with K, or that have K as the third letter? Most people say first, because words are easier to recall by their first letter; in fact K is more common third. Representativeness: judging how likely something is by how much it resembles a type. A shy, tidy man with a passion for detail sounds like a librarian, but there are many more farmers than librarians. And anchoring: starting from a number that happens to be at hand, and adjusting too little. Each rule usually works. Its errors are systematic, and that's what makes them useful: like the visual illusions of Part 14, they reveal the rule.

The anchoring experiment is the strangest of the three. A wheel of fortune, marked from nought to a hundred, but rigged to stop at ten or at sixty-five. After it stopped, people were asked whether the percentage of African countries in the United Nations was higher or lower than that number, and then for their estimate. Those who saw ten gave a median estimate of twenty-five percent; those who saw sixty-five, forty-five. A number everyone knew to be random moved the answer by twenty points. Anchors have since been shown to move prices, damages awarded by juries, and the estimates of experts, and the effect turned up again, large, when the Many Labs project ran anchoring problems in thirty-six samples in 2014.

Representativeness has its most famous demonstration in Linda. Linda is thirty-one, single, outspoken and very bright. She majored in philosophy, and as a student was deeply concerned with discrimination and social justice. Which is more probable: that Linda is a bank teller, or that she is a bank teller and active in the feminist movement? However well the second fits, it can't be more probable. Feminist bank tellers are a subset of bank tellers, so the chance of both is never more than the chance of one. In Tversky and Kahneman's 1983 paper, eighty-five percent of a hundred and forty-two students chose the conjunction. The description resembles a feminist much more than a bank teller, and resemblance stood in for probability.

The last bias of this chapter is the neglect of base rates. A cab was involved in a hit-and-run at night. Eighty-five percent of the city's cabs are Green and fifteen percent are Blue. A witness says the cab was Blue, and tested in the same conditions, witnesses are right eighty percent of the time. What's the chance it was Blue? Picture a hundred cabs: fifteen Blue and eighty-five Green. The witness calls of the Blue ones Blue, and also of the Green ones. So of the cabs called Blue, only are: a chance of . The median answer Tversky and Kahneman received was , the witness's accuracy, as if the base rate didn't exist. Rephrase it so that eighty-five percent of accidents involve Green cabs, a base rate with a causal story, and people use it far more. How the information is given turns out to matter a great deal, which is where the critics come in.

What it does: Availability, representativeness, anchoring; Linda; the cab problem

7The reply: frequencies and fast, frugal rulesPsych 101 and the major6 min

The most influential critic was Gerd Gigerenzer, and his first point was about format. Here is a screening problem in probabilities. One percent of women screened have breast cancer. A mammogram detects eighty percent of cancers, and nine point six percent of healthy women also test positive. A woman tests positive. What's the chance she has cancer? Many people, doctors included, answer far too high, often near eighty percent. Now the same numbers as natural frequencies, the counts you'd see if you watched a thousand women. Ten have cancer, and eight of them test positive. Of the nine hundred and ninety without, about ninety-five also test positive. So of the hundred and three positives, eight have cancer: about percent. The arithmetic does itself. In 1995 Gigerenzer and Ulrich Hoffrage gave people problems like this in both formats, and the share of correct Bayesian answers roughly tripled with frequencies. The mind, Gigerenzer argued, evolved to count events, not to multiply single-case probabilities.

His second point was more radical: that simple rules aren't a poor substitute for rational calculation, and can beat it. Which of two German cities has more people? Take-the-best answers like this. Order the cues you know, such as whether a city is a capital or has a team in the top football league, by their validity: how often each, when it tells the cities apart, points the right way. Then look them up in order. The first cue that discriminates decides, and everything else is ignored. No weights, no adding up. Gigerenzer and Daniel Goldstein called it fast and frugal, in 1996, and showed it could match strategies that weigh every cue.

Can ignoring information really pay? Psyche can test it. We build a world of a hundred and twenty objects with six yes-or-no cues and a noisy criterion, learn from some of the objects, and judge pairs of the others: out of sample, as in the 1999 study by Jean Czerlinski, Gigerenzer and Goldstein across twenty real datasets. Three strategies: take-the-best, least-squares regression on all six cues, and tallying, which just counts the cues on each side. In a world where each cue matters about twice as much as the next, take-the-best beats regression by about points when there are only eight objects to learn from. Regression, with its seven parameters, fits the noise. With more data it catches up and pulls ahead. In a world where all the cues count equally, tallying comes into its own as data grows, but with very little data take-the-best still wins. This is what Gigerenzer calls ecological rationality: a rule is neither good nor bad in itself, but good or bad in an environment. Ignoring information trades a little bias for a lot less variance, the same trade a statistician makes with a simpler model.

His third point was about the bias that seemed most robust of all. Ask people questions with two possible answers, and how sure they are of each, from fifty to a hundred percent. Sarah Lichtenstein, Baruch Fischhoff and Lawrence Phillips, reviewing the studies in 1982, plotted the proportion right against the confidence people stated. A perfectly calibrated judge sits on the diagonal. People sat below it: when they said ninety percent, they were right much less often. Gigerenzer, with Ulrich Hoffrage and Heinz Kleinbölting, replied in 1991 that the questions had not been drawn at random. Experimenters chose questions that seemed interesting, and those are often the ones where the usual cue points the wrong way. Psyche makes the argument exact. Its judge answers with a cue and states the cue's validity as its confidence, so on the world's questions it is calibrated by construction. Now keep every question on which the cue misleads, but only three in five of those on which it is right, as an experimenter hunting for questions that catch people out might. The same judge, unchanged, is now sure percent of the time on average and right only . When questions were drawn at random from a domain, by Gigerenzer's group and by Peter Juslin in 1994, much of the overconfidence went away. But not all of it. When people give an interval they are ninety percent sure contains a number, the intervals are far too narrow, as Joshua Klayman and colleagues found in 1999. So part of a famous bias was a property of the questions, and part of it is a property of us. Telling the two apart is the whole job.

What it does: Natural frequencies; take-the-best; out of sample in two worlds

8The hot handPsych 101 and the major3 min

Basketball players and fans believe in the hot hand: after a few hits in a row, a shooter is more likely to hit the next. In 1985 Thomas Gilovich, Robert Vallone and Amos Tversky tested it, on the Philadelphia 76ers' field goals, on free throws, and in a controlled experiment in which players from Cornell's teams took a hundred shots each. The test was simple: is a player's hit rate after a streak of hits higher than after a streak of misses? It wasn't. The hot hand, they concluded, was a cognitive illusion, people seeing patterns in randomness, a cousin of representativeness. For thirty years it was the standard example. Then two economists noticed something about the test itself.

Here's what Joshua Miller and Adam Sanjurjo noticed. Flip a fair coin four times, and write down all sixteen possible sequences. For each one, look at the flips that come right after a head, and work out what share of them are heads. In H H H H it's all of them; in H T H T, none. Two sequences have no flip after a head at all, so they're dropped. Now average the share over the fourteen that remain, each equally likely. It comes to . Not one half. The coin has no memory, yet the expected share of heads after a head, computed this way within each sequence, is well below one half. The reason is a selection effect: within a short sequence, every head that follows a head uses up one of a fixed number of heads, and averaging the shares sequence by sequence lets that count.

The bias shrinks as sequences get longer, but slowly. Here's the exact expectation for sequences of three to twenty flips: always below one half. In the Cornell experiment each player took a hundred shots, and the test looked at shots after streaks of three hits. For a shooter with no hot hand at all, a fifty percent shooter, the expected hit rate after three hits, computed within each player's sequence, is about , not point five. So the original finding, no difference between the rate after hits and after misses, is not evidence against a hot hand. Measured against the right baseline, it's evidence for one, of several percentage points. Miller and Sanjurjo published the correction in 2018, and with it the Cornell data show a hot hand; so do later studies of free throws and of three-point shooting contests. Whether fans overestimate its size is another question. But the lesson stands: a bias can live in the analyst's statistic as well as in the fan.

What it does: The 1985 study; all sixteen sequences of four flips; the bias and the hot hand restored

9Choice over timePsych 101 and the major3 min

Choices are spread in time as well as in risk. Money now or more money later, cake now or health later. The standard model discounts the future exponentially: each week of delay shrinks a reward by the same fraction, wherever that week falls. It has a special property. It's the only discounting that never changes its mind: if you prefer the larger, later reward when both are far away, you still prefer it when the smaller one is at hand. Animals, and people, discount differently. George Ainslie and James Mazur found that pigeons and people discount hyperbolically: steeply near the present, shallowly far away. Asked how much money they'd need later to give up a sum now, people demand far higher rates of interest over short delays than over long ones.

Here's what hyperbolic discounting does. dollars at some date, or dollars four weeks after it. Plot both rewards' value today against how far away the sooner one is. When both are far off, the extra four weeks barely register, and the larger reward is worth more. So today you plan to wait. But as the date approaches the curves cross, at weeks here, and the same person, with the same preferences, now takes the smaller, sooner reward. A plan made for later falls apart when later becomes now. Kris Kirby and Richard Herrnstein showed such reversals in 1995 with real money and real waiting. An exponential discounter can't do this. Its curves never cross; with these numbers it takes the sooner reward at every distance, and never regrets it.

Economists adopted a simpler form of the same idea. In the beta-delta model, from Edmund Phelps and Robert Pollak in 1968 and David Laibson in 1997, anything not immediate is cut at once by a factor beta, and after that discounted exponentially. Beta below one is present bias. The self who plans for next month is patient; the self who has to act today is not, and the two disagree. The model also says what a person who knows this should do: bind the future self, as Ulysses had himself tied to the mast. Commitment savings accounts, deadlines and pre-paid gym memberships are all ways of doing it, with mixed success, as Part 55 will show.

What it does: Exponential and hyperbolic discounting; a reversal computed; beta and delta

10Decisions from experienceResearch3 min

Every problem so far was described: the outcomes and their chances were written down. Most of life isn't like that. In 2004 Ralph Hertwig, Greg Barron, Elke Weber and Ido Erev gave people two buttons with no descriptions. They could click each as often as they liked, for free, to see what it paid, and then chose one to play for real. Suppose button A always pays three, and button B pays thirty-two one time in ten and nothing otherwise. Seven clicks on B may well show nothing but zeros. Described, the rare thirty-two is overweighted, as the fourfold pattern says. Learned from experience, it's often never seen at all, and choices behave as if rare events were underweighted.

Part of the reason is simple arithmetic. The chance that n draws all miss an outcome of probability p is one minus p, to the power n. With seven draws, an outcome that happens one time in ten is missed percent of the time. And people in these studies typically sample little, a handful of draws from each option, so the rare outcome is very often simply absent from what they know.

Psyche can show the gap. Four problems in the style of the 2004 study. For each, the purple bar is the chance of choosing the risky option from a description, by prospect theory with the 1992 values; the amber bar, the chance after seven draws from each option, choosing whichever sample looked better. Where the rare outcome is good, as in thirty-two one time in ten, the description makes the gamble attractive and experience does not. Where the rare outcome is bad, a loss of thirty-two one time in ten, it's the other way round: from experience, people take the risk they'd avoid on paper. A 2018 meta-analysis by Dirk Wulff, Max Mergenthaler-Canseco and Hertwig found the gap reliable across many studies, though smaller when people sample more.

The thirteen thousand problems offer a check of their own, and it's only half a success. problems were played first from the description alone and later with feedback after each choice. Take those where one option is a sure amount and the other has an outcome with a chance of one in ten or less. When the rare outcome is the worst one, the risky option gained about points once people saw what their choices paid, as underweighting from experience predicts. When the rare outcome is the best one, the risky option should have lost ground, and it didn't: it moved from to percent. In this design the description stays on the screen while the feedback arrives, a much weaker test than learning from experience alone. So: a gap in one direction here, and none in the other.

What it does: Sampling paradigm; rare events never seen; the gap in Psyche; feedback in choices13k

11Two systems?Research3 min

One more on you. A bat and a ball cost a dollar ten in total. The bat costs a dollar more than the ball. How much does the ball cost?

If ten cents came to mind, you're in large company. But then the bat would cost a dollar ten, and the two together a dollar twenty. The ball costs five cents. Shane Frederick made this the first item of his Cognitive Reflection Test in 2005, and found the intuitive answer common even among students at highly selective universities. Getting it right means noticing the first answer, and checking it.

The bat and the ball is the poster child of a popular idea. Two kinds of thinking: System 1, fast, automatic, effortless and associative, which produces the answer that comes; and System 2, slow, deliberate and effortful, which checks it, when it runs. Keith Stanovich and Richard West named them in 2000, and Kahneman's book Thinking, Fast and Slow made them famous in 2011. In the most developed version, from Jonathan Evans and Stanovich, System 1 proposes a default and System 2 sometimes intervenes. There's evidence for the pattern: time pressure and a load on working memory push answers toward the intuitive one, and some people check more than others. And there are critics. The features said to go together, fast with automatic with associative, often come apart. And a single process that starts near a quick default may produce the same signatures. Gideon Keren and Yaacov Schul made the case in 2009, and Arie Kruglanski and Gigerenzer in 2011.

Psyche can make the critics' point concrete. Take the diffusion model from the last part, a single accumulator. Start it a quarter of the way up, near the bound for the intuitive answer, and let the evidence drift, on average, toward the checked answer. Now sort its responses by time. In the fastest fifth, percent of answers are the intuitive one. In the slowest fifth, percent are the checked one. Fast answers intuitive, slow answers reflective, and anything that hurries the process favours intuition: the classic signature of two systems, produced by one. That doesn't settle the question; it shows that this signature alone can't. Whether the mind has two systems, or one with a quick default, is still argued over.

What it does: The bat and the ball; System 1 and System 2; one accumulator with a biased start

12Where values come fromResearch2 min

Prospect theory describes the value curve; it doesn't say where its shape comes from. In 2006 Neil Stewart, Nick Chater and Gordon Brown proposed an answer called decision by sampling. The mind has no internal scale for money, only comparisons. The value of an amount is its rank among amounts you've met and remember. Amounts in life are right-skewed: many small ones, few large. Rank among a right-skewed sample, and each extra dollar moves you up less and less. A concave curve, with no utility function assumed. They looked at bank accounts, and found debits much more frequent, and typically smaller, than credits. So a given loss outranks the same gain among the amounts you'd compare it to. In this illustrative account, losing a hundred dollars ranks at among debits, and gaining it at among credits: a loss looms about times as large. Loss aversion, from the statistics of the world.

If values are ranks, they should move when the context does. Allen Parducci's range-frequency theory, from 1965, says just that about judgements in general: a value is judged by where it sits in the range of what's been seen, and in its rank among them. In 2015 Lukasz Walasek and Stewart offered people fifty-fifty gambles. When the possible gains ranged twice as widely as the losses, the usual loss aversion appeared. When the ranges were reversed, it disappeared, and on some measures reversed. So the curve that prospect theory draws is partly a summary of the context, not a fixed property of the person. There's a deeper version of this idea: a system with limited precision should spend it where values are common. It's the same logic as the efficient coding in the eye, in Part 13, and it returns in Part 58.

What it does: Decision by sampling; range and frequency; efficient coding

13The LedgerPsych 101 and the major3 min

Six rows today. The first: described as lives saved, people choose the sure programme; described as deaths, the gamble. The original: Tversky and Kahneman, 1981. The record: Anton Kuhberger's meta-analysis in 1998, and the Many Labs project's thirty-six samples in 2014. One of the most reliable results in the field, though its size depends on the wording. Replicated.

The second: an arbitrary number pulls an estimate toward it. The original: the wheel of fortune, 1974. The record: Karen Jacowitz and Kahneman in 1995, Many Labs in 2014, and Zacharias Maniadis, Fabio Tufano and John List, also in 2014, who found anchors from incidental numbers much weaker. Robust when the anchor is posed as a comparison; weaker when it's merely in the air. Replicated.

The third: the Allais pattern. The original, as we saw it: Kahneman and Tversky, 1979, with seventy-two respondents. The record: Steffen Huck and Wieland Muller's large representative sample in 2012, and Kai Ruggeri and colleagues' replication of the 1979 problems in nineteen countries in 2020. Robust with large, hypothetical prizes, as in the original; weaker, and dependent on the design, with small real stakes. Replicated.

The fourth: the conjunction fallacy. The original: Linda, 1983. The record: Klaus Fiedler's frequency version in 1988; Hertwig and Gigerenzer in 1999, who found that many people read probable as plausible; and an adversarial collaboration between Barbara Mellers, Hertwig and Kahneman in 2001, in which frequencies reduced the effect without removing it. The error replicates. What it means is still argued. Replicated.

The fifth: losses weigh about twice as much as gains. The original: prospect theory, 1979. The record: the coefficient of two point two five in 1992; Walasek and Stewart's ranges in 2015; David Gal and Derek Rucker's critique in 2018; a reply by Kellen Mrkva and colleagues in 2020, finding it robust and larger for larger stakes; and this part's own fit, one point one three on small stakes. Real for larger stakes; weak, absent or reversed at small ones and in some contexts. Contested.

And the sixth: the hot-hand fallacy. The original: Gilovich, Vallone and Tversky, 1985. The record: Miller and Sanjurjo, 2018, who corrected the statistic and found a hot hand in the original data. The finding as taught was an artefact of the test; whether fans overestimate the hot hand is a separate question. Story and record.

The tally. Unlike much of social psychology from the same decades, most of this replicates: framing, anchoring, the Allais pattern and Linda all come back, sample after sample. What's contested is size and meaning: how much losses really loom, and what the errors say about rationality. And one textbook fallacy turned out to be in the analysis, not the fans.

What it does: Framing; anchoring; Allais; Linda; loss aversion; the hot hand

14In practice: defaults, pensions and riskPractice3 min

The ideas of this part have left the laboratory. The most powerful is the default. In 2003 Eric Johnson and Daniel Goldstein compared European countries' consent to organ donation. In Germany, where you must opt in, about twelve percent had consented. In neighbouring Austria, where you must opt out, nearly everyone counted as a donor. Defaults work through inertia, through the recommendation they seem to imply, and through the reference point they set: once a default is yours, leaving it feels like a loss. A caution: consent isn't donation. Families and hospitals decide too, and actual donation rates differ far less than these bars. Framing works in labels as well. Irwin Levin and Gary Gaeth found in 1988 that beef described as seventy-five percent lean was rated better, even after tasting, than the same beef described as twenty-five percent fat.

Pensions are where present bias and loss aversion cost the most. In 2004 Richard Thaler and Shlomo Benartzi reported a plan called Save More Tomorrow. Employees committed now to save more later, out of future pay rises. It turns three biases to advantage. The cost falls on a future self, whom a present-biased person is happy to commit. Take-home pay never falls, so there's no loss to feel. And inertia keeps people in. In the first company to use it, the saving rate of those who joined rose from three and a half percent to over thirteen percent across four pay rises. These are the participants, who chose to join, not a randomized comparison. Automatic enrolment in pensions, the same idea as a default, is now law in several countries; Part 55 looks at how such policies are evaluated.

Last, risk communication, where framing can do harm. A drug that halves your risk, or a risk that doubles: the same change can be from two in a thousand to one in a thousand, or from one in seven thousand to two. Relative risks without their baselines mislead patients and doctors alike. In 1995 British doctors were warned that some contraceptive pills doubled the risk of a rare kind of blood clot. The baseline was tiny, but the doubling made the headlines, many women stopped taking the pill, and unwanted pregnancies and abortions rose the next year. The tools from this part help: natural frequencies and pictures of a hundred or a thousand people, like the screening tree from chapter seven. Medical guidelines now ask for absolute risks, in frequencies, with the same denominator throughout, which Gerd Gigerenzer and colleagues have campaigned for since the 1990s.

What it does: Organ donation defaults; Save More Tomorrow; relative and absolute risk

15Frontier: theories found by machinesResearch3 min

Where does the field go after prospect theory? One answer is a new way of building theories. Collect choices at a scale no laboratory could, as choices thirteen k did. Fit the classic theories, and also neural networks with no theory built in. Find the problems where the networks win, and work out why. Then write down a better theory. In our fit, prospect theory left about percent of the variation between problems unexplained. Peterson and colleagues found that the best models let the weighting of probabilities itself depend on the problem, as if people switch rules with context. Ido Erev's choice prediction competitions reached a similar conclusion by a different route. The machine doesn't replace the theory. It points to where the theory is wrong, and people write the next one.

A second answer reconciles the two camps of this part. Falk Lieder and Tom Griffiths call it resource-rational analysis: ask what the best use of a limited mind would be, counting the cost of thinking. Take anchoring. Suppose an estimate starts at the anchor, points from the truth, and each step of adjustment removes percent of the distance that's left, at a cost in time. The expected cost is the squared error plus the time. When time is cheap, the best plan stops after steps, still points from the truth; when it's dear, after , points away. A bias toward the anchor is the optimal outcome. So a bias can be the signature of a sensible trade, and the theory predicts when it should grow: under time pressure, or with distraction. Lieder and colleagues found anchoring behaves that way.

The last frontier is the person. Is risk preference one trait, as personality traits are? In 2017 Renato Frey, Andreas Pedroni, Rui Mata, Jorg Rieskamp and Hertwig measured about fifteen hundred adults on dozens of measures. Asked how willing they were to take risks, in general and in domains like driving or money, people gave answers that were reliable over time and shared a general factor, much like a personality trait. Measured by behaviour, with lotteries, balloon pumping and gambling games, risk preference was less reliable, and the tasks barely agreed with each other or with the questionnaires. It's the measurement problem from Part 3 returning: a parameter fitted to someone's choices is a claim about that person only if it's stable in that person. Part 33, on personality, takes it up.

What it does: Machine-learned theories; resource-rational anchoring; risk preference as a trait

Recap, problems, and the road aheadAll tracks4 min

Part twenty-six in ten lines. In the disease problem, the same outcomes framed as lives or as deaths reverse the choice. The standard is expected value, Bernoulli's utility and four axioms, and independence is the one people break. In the probability triangle, Allais's choices cross parallel lines in opposite directions. Prospect theory replaces the standard with a kinked value curve and an inverse-S weighting of probabilities, and from that one pair of curves comes the fourfold pattern: lottery tickets and insurance. On almost two thousand open problems, prospect theory explains about percent out of sample, with loss aversion of only at small stakes. Heuristics err systematically, while frequencies and simple rules often do well. The hot-hand fallacy was in the statistic. Hyperbolic discounting reverses plans, and beta and delta give present bias a name. And experience underweights rare events, while values come partly from what we've sampled.

Kant's wager. The first objection, that mathematics can't apply to the mind, met a theory of choice with two curves, derived, computed, and fitted out of sample to almost two thousand open problems. The second, that the mind can't be experimented on, met the purest experiment in this part: the same outcomes in two descriptions, which moves the mind's reference point and nothing else. And the third, that looking inward disturbs what you look at, met choices rather than reports. Where words mattered, as with Linda, the meaning of the words became the question, and that point is still argued, so it gets amber.

Where this comes back. What you experience, as against what only guides you, is the next part, on consciousness. Whether risk preference is a trait belongs to personality, Part 33. Framing and persuasion between people are Part 34. Fitting choice models properly is Part 48. Defaults and nudges, and how to evaluate them, are Part 55. And value as an efficient code is Part 58.

Seven problems, with full solutions in this part's README. One proves that expected utility's lines in the triangle are parallel. One asks what the value curve alone does with the disease problem. One shows why the 1979 theory needed its cumulative fix. One counts the coin flips of the hot-hand bias by hand. One derives the hyperbolic reversal point. One refits the open data with Prelec's weighting function. And the last, with the star, asks you to design an experiment that separates the description-experience gap from small samples. Pause here if you'd like to try them.

The books and papers behind this part are listed here and in the README. Kahneman's Thinking, Fast and Slow is the classic account from one side, to be read with its own published errata, and Gigerenzer's Simple Heuristics That Make Us Smart from the other. Peter Wakker's book is the mathematics of prospect theory in full.

Today the mind chose between risks, and between now and later. Next time, it notices, or fails to. In 1974 Lawrence Weiskrantz tested a man whose visual cortex had been damaged on one side. He insisted he saw nothing there. Asked to guess anyway, he pointed to objects in that blind half almost perfectly. What is the difference between information the brain uses and information you experience? It's Part 27: consciousness.

Where it goes next. Consciousness is Part 27, risk preference as a trait Part 33, influence between people Part 34, fitting choice models Part 48, defaults and nudges Part 55, and value as efficient code Part 58.

Key results

The part's results in one place, for revision.

Expected utility\(\displaystyle \mathrm{EU} = \sum_i p_i\,u(x_i)\)
Value function\(\displaystyle v(x) = x^{\alpha} \ (x \ge 0), \quad\allowbreak -\lambda(-x)^{\beta} \ (x < 0)\)
Weighting function\(\displaystyle w(p) = \frac{p^{\gamma}}{(p^{\gamma} + (1-p)^{\gamma})^{1/\gamma}}\)
Decision weight\(\displaystyle \pi_i = w\big(P(X \ge x_i)\big) - w\big(P(X > x_i)\big)\)
Bayes's rule\(\displaystyle P(H \mid D) = \frac{P(D \mid H)P(H)}{P(D \mid H)P(H) + P(D \mid \neg H)P(\neg H)}\)
Hyperbolic discounting\(\displaystyle V = \frac{A}{1 + kD}\)

Try it

Lab 26 · Judgment and choice

Compute prospect theory's verdicts on Allais's problems and the disease problem; fit it to 1,928 open choice problems and test it on problems held out; pit a one-cue rule against regression; and count the bias hidden in the hot-hand test.

Figure produced by Lab 26: Judgment and choice
Produced by the lab below, seed 0, in 5.7 s.
python -m videos.psychology.labs 26 needs numpy, scipy, matplotlib · download lab26.py · source on GitHub
Allais with the 1992 values: problem 1, problem 2      B, C
EU(sqrt): A - B and C - D (always equal)               -0.1565, -0.1565
EU(log): A - B and C - D (always equal)                -0.0644, -0.0644
disease problem: choice when saved, when dying         sure, risky
certainty equivalents of 100 at 5%, 95%                10.0, 76.9
certainty equivalents of -100 at 5%, 95%               -8.3, -83.1
described problems; variance of the B rate             1928; 0.0431
prospect theory fitted: alpha, lambda, gamma, delta    0.75, 1.13, 0.78, 0.57
5-fold cross-validated MSE: mean, EV, prospect theory  0.0431, 0.0269, 0.0162
accuracy with 8, 15, 40, 80 objects: take-the-best     0.741, 0.773, 0.808, 0.807
the same: regression                                   0.706, 0.773, 0.812, 0.816
expected share of heads after a head, 4 flips (17/42)  0.4048
100 shots, after three hits (simulated)                0.459

Prospect theory makes the popular Allais and framing choices; on open data it beats expected value out of sample, with loss aversion near one at these stakes; a one-cue rule beats regression when data are scarce; and the hot-hand test was biased toward finding nothing.
The code (88 lines; it asserts its own result)
"""Lab 26: prospect theory computed (Allais, the disease problem, the fourfold pattern) and fitted to choices13k
against expected value out of sample; take-the-best against regression; the hot-hand bias by exact enumeration."""

import numpy as np

from videos.coursekit import labs
from explainer.psychology import opendata
from explainer.psychology.psyche import choice as C

TITLE = "Judgment and choice"
GOAL = ("Compute prospect theory's verdicts on Allais's problems and the disease problem; fit it to 1,928 open "
        "choice problems and test it on problems held out; pit a one-cue rule against regression; and count the "
        "bias hidden in the hot-hand test.")
TASKS = [
    "Refit choices13k with Prelec's weighting function (C.w_prelec) in place of C.w_tk, separately for gains and "
    "losses. Does it predict held-out problems better, and what happens to loss aversion?",
    "Lower the noise in the non-compensatory world from 3 to 1. Up to how many training objects does take-the-best "
    "still beat regression?",
    "Compute the expected hit rate after streaks of one, two and three hits for a 50% shooter taking 100 shots. How "
    "large a hot hand could a finding of 'no difference' hide?",
]


def run(seed=0):
    out = labs.Lab()

    # 1. prospect theory computed
    A = C.lottery((0.33, 2500), (0.66, 2400), (0.01, 0))
    B = C.lottery((1.0, 2400))
    Cc = C.lottery((0.33, 2500), (0.67, 0))
    D = C.lottery((0.34, 2400), (0.66, 0))
    v = {k: C.cpt(L) for k, L in zip("ABCD", (A, B, Cc, D))}
    out.row("Allais with the 1992 values: problem 1, problem 2",
            f"{'B' if v['B'] > v['A'] else 'A'}, {'C' if v['C'] > v['D'] else 'D'}")
    for u, name in ((np.sqrt, "sqrt"), (np.log1p, "log")):
        out.row(f"EU({name}): A - B and C - D (always equal)",
                f"{C.eu(A, u) - C.eu(B, u):.4f}, {C.eu(Cc, u) - C.eu(D, u):.4f}")
    assert v["B"] > v["A"] and v["C"] > v["D"]
    fr = C.framing()
    out.row("disease problem: choice when saved, when dying", f"{fr['saved_choice']}, {fr['die_choice']}")
    ff = C.fourfold(probs=(0.05, 0.95))
    out.row("certainty equivalents of 100 at 5%, 95%", f"{ff['gain_ce'][0]:.1f}, {ff['gain_ce'][1]:.1f}")
    out.row("certainty equivalents of -100 at 5%, 95%", f"{ff['loss_ce'][0]:.1f}, {ff['loss_ce'][1]:.1f}")

    # 2. choices13k
    d = opendata.choices13k()
    sel = np.where(~d["amb"] & ~d["feedback"])[0]
    Ap = C.pad([d["A"][i] for i in sel])
    Bp = C.pad([d["B"][i] for i in sel])
    y = d["b_rate"][sel]
    fit = C.fit_model("cpt", Ap, Bp, y)
    p = fit["params"]
    out.row("described problems; variance of the B rate", f"{len(sel)}; {y.var():.4f}")
    out.row("prospect theory fitted: alpha, lambda, gamma, delta",
            f"{p['alpha']:.2f}, {p['lam']:.2f}, {p['gamma']:.2f}, {p['delta']:.2f}")
    cv = C.cv_models(Ap, Bp, y, models=("ev", "cpt"), k=5, seed=seed)
    assert cv["cpt"] < cv["ev"] < cv["mean"]
    out.row("5-fold cross-validated MSE: mean, EV, prospect theory",
            f"{cv['mean']:.4f}, {cv['ev']:.4f}, {cv['cpt']:.4f}")

    # 3. take-the-best
    r = C.heuristics_cv((8, 4, 2, 1, 0.5, 0.25), (8, 15, 40, 80), reps=60, noise=3.0, seed=seed)
    out.row("accuracy with 8, 15, 40, 80 objects: take-the-best",
            ", ".join(f"{x:.3f}" for x in r["ttb"]))
    out.row("the same: regression", ", ".join(f"{x:.3f}" for x in r["regression"]))

    # 4. the hot hand
    ns = np.arange(3, 17)
    bias = np.array([C.streak_exact(int(n), 1)["expected"] for n in ns])
    assert abs(C.streak_exact(4, 1)["expected"] - 17 / 42) < 1e-12
    out.row("expected share of heads after a head, 4 flips (17/42)", f"{C.streak_exact(4, 1)['expected']:.4f}")
    out.row("100 shots, after three hits (simulated)",
            f"{C.streak_sim(100, 3, reps=50_000, seed=seed)['expected']:.3f}")

    out.note = ("Prospect theory makes the popular Allais and framing choices; on open data it beats expected value "
                "out of sample, with loss aversion near one at these stakes; a one-cue rule beats regression when "
                "data are scarce; and the hot-hand test was biased toward finding nothing.")

    fig, ax = labs.figure(2, size=(11, 4.2))
    pr = C.predict("cpt", fit["theta"], Ap, Bp)
    ax[0].scatter(pr[::3], y[::3], s=6, color=labs.BLUE, alpha=0.6)
    ax[0].plot([0, 1], [0, 1], ls="--", color="#888888")
    ax[0].set(title="choices13k: prospect theory", xlabel="predicted share choosing B", ylabel="observed")
    ax[1].plot(ns, bias, marker="o", color=labs.GOLD)
    ax[1].axhline(0.5, ls="--", color="#888888")
    ax[1].set(title="The streak statistic's bias", xlabel="flips", ylabel="expected share after a head")
    out.fig = fig
    return out

Now change it

  1. Refit choices13k with Prelec's weighting function (C.w_prelec) in place of C.w_tk, separately for gains and losses. Does it predict held-out problems better, and what happens to loss aversion?
  2. Lower the noise in the non-compensatory world from 3 to 1. Up to how many training objects does take-the-best still beat regression?
  3. Compute the expected hit rate after streaks of one, two and three hits for a 50% shooter taking 100 shots. How large a hot hand could a finding of 'no difference' hide?

Problems, with solutions

Try each problem before opening its solution.

  1. Parallel lines. Show that every expected-utility indifference line in the probability triangle has slope \((u_2 - u_1)/(u_3 - u_2)\), and so that B over A forces D over C in Allais's problems.

    Solution

    With outcomes x1 < x2 < x3, EU = p1 u1 + p3 u3 + (1 − p1 − p3) u2, so along an indifference line (u1 − u2) dp1 + (u3 − u2) dp3 = 0, and dp3/dp1 = (u2 − u1)/(u3 − u2): a constant. The step from B to A is (+0.01, +0.33), the same as from D to C, and EU(A) − EU(B) = 0.01 (u1 − u2) + 0.33 (u3 − u2) = EU(C) − EU(D). So the two differences have the same sign: B over A forces D over C.

  2. The value curve alone. With \(v(x) = x^{0.88}\) and no probability weighting, which programme does the disease problem's gain frame choose? What does the weighting function add?

    Solution

    Saved frame: 200^0.88 = 105.9 against (1/3) 600^0.88 = 92.8, so the sure programme. Death frame: −λ 400^0.88 = −194.9 λ against (2/3)(−λ 600^0.88) = −185.6 λ, so the gamble, for any λ. Curvature alone produces the framing effect. The weighting function widens the gaps (105.9 against 93.6; −438.5 against −353.1 with λ = 2.25), because w(1/3) and w(2/3) are below 1/3 and 2/3.

  3. Why the cumulative form. Show that the 1979 form \(\sum w(p_i)\,v(x_i)\) can prefer a lottery to one that dominates it, and that the cumulative weights cannot.

    Solution

    Take 100 with probability 0.05. Split it into 100 with 0.025 and 99.9 with 0.025: a lottery dominated by the first. The 1979 form gives it weight 2 w(0.025) = 0.183 instead of w(0.05) = 0.132 (with γ = 0.61), so it can be valued higher. Cumulative weights for the split are w(0.025) and w(0.05) − w(0.025), summing to w(0.05), and moving probability to a better outcome can only raise P(X ≥ x) and so the value: no violation of dominance.

  4. Seventeen forty-seconds. For four fair flips, list the fourteen sequences with a flip after a head and verify that the average share of heads after a head is \(17/42\).

    Solution

    The shares after a head in the fourteen defined sequences are: HHHH 1, HHHT 2/3, HHTH 1/2, HHTT 1/2, HTHH 1/2, HTHT 0, HTTH 0, HTTT 0, THHH 1, THHT 1/2, THTH 0, THTT 0, TTHH 1, TTHT 0. They sum to 17/3, and 17/3 ÷ 14 = 17/42 = 0.405.

  5. The reversal point. A hyperbolic discounter with \(k = 0.05\) a week prefers 110 at week \(t + 4\) to 100 at week \(t\) for which \(t\)? Derive the reversal point.

    Solution

    110/(1 + k(t + 4)) > 100/(1 + kt) when 10 kt > 400k − 10, that is t > 40 − 1/k. With k = 0.05, t > 20 weeks: nearer than 20 weeks the sooner 100 is preferred, further away the 110.

  6. Prelec's function on choices13k. With `explainer.psychology.opendata.choices13k': fit prospect theory with Prelec's weighting function instead. Does it predict held-out problems better?

    Solution

    With w(p) = exp(−(−ln p)^a), separately for gains and losses, fitted the same way: α 0.75, λ 0.98, a 0.72 for gains and 0.53 for losses; mean squared error 0.0156 (R² 0.64), 10-fold cross-validated 0.0156 against 0.0162 for the Tversky–Kahneman form. Slightly better, and still a loss-aversion coefficient near one.

  7. ★ Gap or small samples? Design an experiment that would tell the description–experience gap from the effect of small samples alone, and say what each account predicts.

    Solution

    One design (after Rakow and colleagues' yoked studies): give each person in a description group the exact outcome frequencies that a matched person in the experience group saw. If the gap is only sampling error, the yoked descriptions reproduce the experience group's choices; if experience itself changes how rare events are weighted, a gap remains. A second design forces large samples (say 100 draws), so rare events are seen as often as they occur: sampling error then vanishes, and any gap left is about the mode of learning.

Notes and sources

Sources

  • D. Bernoulli, Specimen theoriae novae de mensura sortis (1738), translated as Exposition of a new theory on the measurement of risk, Econometrica 22 (1954) 23-36.
  • J. von Neumann and O. Morgenstern, Theory of Games and Economic Behavior (1944; 2nd ed. 1947); L. J. Savage, The Foundations of Statistics (1954).
  • M. Friedman and L. J. Savage, The utility analysis of choices involving risk, Journal of Political Economy 56 (1948) 279-304.
  • M. Allais, Le comportement de l'homme rationnel devant le risque, Econometrica 21 (1953) 503-546; M. J. Machina, "Expected utility" analysis without the independence axiom, Econometrica 50 (1982) 277-323.
  • S. Lichtenstein and P. Slovic, Reversals of preference between bids and choices in gambling decisions, Journal of Experimental Psychology 89 (1971) 46-55; D. M. Grether and C. R. Plott, Economic theory of choice and the preference reversal phenomenon, American Economic Review 69 (1979) 623-638; A. Tversky, P. Slovic and D. Kahneman, The causes of preference reversal, American Economic Review 80 (1990) 204-217.
  • D. Kahneman and A. Tversky, Prospect theory: an analysis of decision under risk, Econometrica 47 (1979) 263-291; A. Tversky and D. Kahneman, Advances in prospect theory: cumulative representation of uncertainty, Journal of Risk and Uncertainty 5 (1992) 297-323; J. Quiggin, A theory of anticipated utility, Journal of Economic Behavior and Organization 3 (1982) 323-343; D. Prelec, The probability weighting function, Econometrica 66 (1998) 497-527.
  • A. Tversky and D. Kahneman, The framing of decisions and the psychology of choice, Science 211 (1981) 453-458; A. Kuhberger, The influence of framing on risky decisions: a meta-analysis, Organizational Behavior and Human Decision Processes 75 (1998) 23-55.
  • A. Tversky and D. Kahneman, Availability: a heuristic for judging frequency and probability, Cognitive Psychology 5 (1973) 207-232; Judgment under uncertainty: heuristics and biases, Science 185 (1974) 1124-1131; Extensional versus intuitive reasoning: the conjunction fallacy in probability judgment, Psychological Review 90 (1983) 293-315; Evidential impact of base rates, in D. Kahneman, P. Slovic and A. Tversky (eds), Judgment Under Uncertainty (1982).
  • G. Gigerenzer and U. Hoffrage, How to improve Bayesian reasoning without instruction: frequency formats, Psychological Review 102 (1995) 684-704; G. Gigerenzer and D. G. Goldstein, Reasoning the fast and frugal way: models of bounded rationality, Psychological Review 103 (1996) 650-669; G. Gigerenzer, P. M. Todd and the ABC Research Group, Simple Heuristics That Make Us Smart (1999), with J. Czerlinski, G. Gigerenzer and D. G. Goldstein's chapter on how good simple heuristics are.
  • T. Gilovich, R. Vallone and A. Tversky, The hot hand in basketball, Cognitive Psychology 17 (1985) 295-314; J. B. Miller and A. Sanjurjo, Surprised by the hot hand fallacy? A truth in the law of small numbers, Econometrica 86 (2018) 2019-2047.
  • G. Ainslie, Specious reward, Psychological Bulletin 82 (1975) 463-496; J. E. Mazur, An adjusting procedure for studying delayed reinforcement (1987); K. N. Kirby and R. J. Herrnstein, Preference reversals due to myopic discounting of delayed reward, Psychological Science 6 (1995) 83-89; E. S. Phelps and R. A. Pollak, On second-best national saving and game-equilibrium growth, Review of Economic Studies 35 (1968) 185-199; D. Laibson, Golden eggs and hyperbolic discounting, Quarterly Journal of Economics 112 (1997) 443-477.
  • R. Hertwig, G. Barron, E. U. Weber and I. Erev, Decisions from experience and the effect of rare events in risky choice, Psychological Science 15 (2004) 534-539; D. U. Wulff, M. Mergenthaler-Canseco and R. Hertwig, A meta-analytic review of two modes of learning and the description-experience gap, Psychological Bulletin 144 (2018) 140-176.
  • S. Frederick, Cognitive reflection and decision making, Journal of Economic Perspectives 19(4) (2005) 25-42; K. E. Stanovich and R. F. West, Individual differences in reasoning, Behavioral and Brain Sciences 23 (2000) 645-665; J. St B. T. Evans and K. E. Stanovich, Dual-process theories of higher cognition, Perspectives on Psychological Science 8 (2013) 223-241; G. Keren and Y. Schul, Two is not always better than one, Perspectives on Psychological Science 4 (2009) 533-550; A. W. Kruglanski and G. Gigerenzer, Intuitive and deliberate judgments are based on common principles, Psychological Review 118 (2011) 97-109.
  • N. Stewart, N. Chater and G. D. A. Brown, Decision by sampling, Cognitive Psychology 53 (2006) 1-26; A. Parducci, Category judgment: a range-frequency model, Psychological Review 72 (1965) 407-418; L. Walasek and N. Stewart, How to make loss aversion disappear and reverse, Journal of Experimental Psychology: General 144 (2015) 7-11.
  • E. J. Johnson and D. Goldstein, Do defaults save lives?, Science 302 (2003) 1338-1339; I. P. Levin and G. J. Gaeth, How consumers are affected by the framing of attribute information before and after consuming the product, Journal of Consumer Research 15 (1988) 374-378; R. H. Thaler and S. Benartzi, Save More Tomorrow, Journal of Political Economy 112 (2004) S164-S187; G. Gigerenzer et al., Helping doctors and patients make sense of health statistics, Psychological Science in the Public Interest 8 (2007) 53-96; A. Furedi, The public health implications of the 1995 'pill scare', Human Reproduction Update 5 (1999) 621-626.
  • J. C. Peterson, D. D. Bourgin, M. Agrawal, D. Reichman and T. L. Griffiths, Using large-scale experiments and machine learning to discover theories of human decision-making, Science 372 (2021) 1209-1214; I. Erev, E. Ert, O. Plonsky, D. Cohen and O. Cohen, From anomalies to forecasts, Psychological Review 124 (2017) 369-409; F. Lieder and T. L. Griffiths, Resource-rational analysis, Behavioral and Brain Sciences 43 (2020) e1; F. Lieder, T. L. Griffiths, Q. J. M. Huys and N. D. Goodman, The anchoring bias reflects rational use of cognitive resources, Psychonomic Bulletin & Review 25 (2018) 322-349; R. Frey, A. Pedroni, R. Mata, J. Rieskamp and R. Hertwig, Risk preference shares the psychometric structure of major psychological traits, Science Advances 3 (2017) e1701381.
  • The Ledger's further sources (Jacowitz and Kahneman; Klein et al.; Maniadis, Tufano and List; Huck and Müller; Ruggeri et al.; Fiedler; Hertwig and Gigerenzer; Mellers, Hertwig and Kahneman; Gal and Rucker; Mrkva et al.) are listed in its rows.
About this partfrom its README

A disease threatens six hundred people. Described as lives saved, most people choose the sure programme; described as deaths, most choose the gamble, though the outcomes are identical. This part asks why the same people buy insurance and lottery tickets, and follows the answer from Bernoulli's utility through Allais's paradox to prospect theory, then tests that theory on 1,928 open choice problems and takes the critics seriously: frequencies, simple rules, a hot-hand fallacy that was in the statistic, and values that come from the world we sample.

The disease problem on you, in both frames, with Tversky and Kahneman's splits; expected value, the St Petersburg game (a hundred thousand plays) and Bernoulli's logarithm, and the four axioms of expected utility; Allais's problems as Kahneman and Tversky asked them, drawn in the probability triangle, and preference reversals; prospect theory's reflection effect, value function, weighting function and the cumulative form of 1992; the fourfold pattern computed from the 1992 parameters, and the common-ratio effect; four models fitted to choices13k's described problems and cross-validated; availability, anchoring, Linda and the cab problem; natural frequencies and take-the-best against regression out of sample in two simulated worlds; overconfidence and the calibration curve, with the selection reply (Gigerenzer et al., Juslin) made exact on a calibrated judge, and interval overconfidence; the hot-hand bias by exact enumeration; exponential, hyperbolic and beta–delta discounting with a computed reversal; decisions from experience, in Psyche and in choices13k's feedback blocks; the bat and the ball, two systems, and one accumulator that mimics them; and decision by sampling. The practice chapter is defaults, pensions and risk communication; the frontier is theories found by machines, resource-rational anchoring, and whether risk preference is a trait.

What is computed and built
  • explainer/psychology/psyche/choice.py: lotteries, expected value and utility, the St Petersburg game and Bernoulli's price, the probability triangle and expected utility's slope; the value function, the Tversky– Kahneman and Prelec weighting functions, cumulative prospect theory for one lottery or many at once, certainty equivalents and the fourfold pattern, the disease problem; four choice models fitted by least squares and cross-validated; Bayes's rule and natural frequencies; simulated environments, take-the-best, tallying and regression out of sample; the streak statistic exactly and by simulation; exponential, hyperbolic and beta–delta discounting and the reversal point; choices from small samples; decision by sampling. Tested in tests/psychology/test_choice.py.
  • explainer/psychology/opendata.py gains choices13k (CSV and JSON, nothing evaluated).
  • The Battery gains task 9, risky and delayed choices (battery.run("gambles", ...)).
  • The Ledger gains six rows; the Archive one dataset.
  • The course's interactive puts the disease problem and a ladder of sure amounts against gambles to you, and draws your own fourfold pattern.
Chapter notes
# Chapter What it does
0 Six hundred lives The disease problem on you in both frames; the splits; Bernoulli to the Nobel; the questions; objectives
1 The standard: expected value and utility Expected value; St Petersburg; Bernoulli's concave utility; the four axioms
2 The violations Allais's problems; the probability triangle; preference reversals
3 Prospect theory Reflection; the value function; the weighting function; the cumulative form
4 The fourfold pattern Certainty equivalents computed; the four cells; the common-ratio effect
5 Thirteen thousand gambles choices13k; four models cross-validated; predicted against observed; the fitted curves
6 Heuristics and biases Availability, representativeness, anchoring; Linda; the cab problem
7 The reply: frequencies and fast, frugal rules Natural frequencies; take-the-best; out of sample in two worlds
8 The hot hand The 1985 study; all sixteen sequences of four flips; the bias and the hot hand restored
9 Choice over time Exponential and hyperbolic discounting; a reversal computed; beta and delta
10 Decisions from experience Sampling paradigm; rare events never seen; the gap in Psyche; feedback in choices13k
11 Two systems? The bat and the ball; System 1 and System 2; one accumulator with a biased start
12 Where values come from Decision by sampling; range and frequency; efficient coding
13 The Ledger Framing; anchoring; Allais; Linda; loss aversion; the hot hand
14 In practice: defaults, pensions and risk Organ donation defaults; Save More Tomorrow; relative and absolute risk
15 Frontier: theories found by machines Machine-learned theories; resource-rational anchoring; risk preference as a trait
Recap, problems, and the road ahead Ten lines; Kant's three objections; payoffs; problems; references; Part 27
NotesWhere the numbers come from
What Source
The disease problem: 72% of 152 chose the sure programme framed as lives saved; 78% of 155 chose the gamble framed as deaths Tversky and Kahneman (1981)
Prospect theory with the 1992 values: saved frame, sure 105.9 against risky 93.6; death frame, sure −438.5 against risky −353.1 Psyche (choice.framing), item framing
St Petersburg: each toss adds one ducat of expected value; the median of 101 runs of 100,000 plays averages 19.4 ducats; a log-utility player pays 5.0 with wealth 10 and 20.9 with wealth 1,000,000 Psyche (choice.st_petersburg_ev, st_petersburg_ce), item stpete
Allais: 82% chose B and 83% chose C, N = 72; in the triangle A = (0.01, 0.33), B = (0, 0), C = (0.67, 0.33), D = (0.66, 0); the 1992 values choose B and C Kahneman and Tversky (1979), Problems 1 and 2; Psyche (choice.triangle, cpt), item allais
80% took a sure 3,000 over 4,000 at 0.8; 92% took −4,000 at 0.8 over a sure −3,000; 65% took 4,000 at 0.2 over 3,000 at 0.25 (N = 95 each); the 1992 values make all three popular choices Kahneman and Tversky (1979), Problems 3, 3′ and 4; Psyche, item fourfold
Value of ±100: 57.5 and −129.5 (2.25 times); a 50–50 bet against losing 100 needs a win of 274 Psyche (choice.value, cpt), item curves
Certainty equivalents of 100 at 5% and 95%: 10.0 and 76.9; of −100: −8.3 and −83.1 Psyche (choice.fourfold), item fourfold
choices13k: 13,006 problems; 1,928 described, unambiguous and without feedback; variance of the B rate 0.0431 Peterson, Bourgin, Agrawal, Reichman and Griffiths (2021), github.com/jcpeterson/choices13k at commit 821ae7e8, fetched by explainer.psychology.opendata and checked by SHA-256 (no licence stated; not redistributed)
Mean squared error, fitted (10-fold cross-validated): expected value 0.0269 (0.0269), power utility 0.0215 (0.0215), value curve without weighting 0.0213 (0.0213), cumulative prospect theory 0.0161 (0.0162); predicting the mean 0.0431; R² 0.38, 0.50, 0.51, 0.63 Psyche (choice.fit_model, cv_models), item c13k
Fitted to the described problems: α 0.75, λ 1.13, γ 0.78, δ 0.57; to the 9,831 feedback problems: α 0.79, λ 0.83, γ 0.84, δ 0.97 the same, item c13k
1,266 problems seen without and with feedback; risky option against a sure one with an outcome of probability ≤ 0.1: when that outcome is the worst (42 problems), 41% to 46%; when it is the best (105), 56% to 57% choices13k; item c13k
Anchoring: medians 25 and 45 after anchors 10 and 65 Tversky and Kahneman (1974)
Linda: 85% of 142 chose the conjunction Tversky and Kahneman (1983)
The cab problem: 12 of the 29 cabs called Blue are Blue, 0.41; median answer 0.80 Psyche (choice.bayes, natural_frequencies), item bayes; Tversky and Kahneman (1982)
Mammography: 8 of 103 positives have cancer, 7.8%; Bayesian answers about 16% with probabilities and 46% with frequencies Psyche, item bayes; Gigerenzer and Hoffrage (1995)
Take-the-best against regression and tallying, 6 binary cues, 120 objects, 300 worlds a point: in the non-compensatory world (weights 8, 4, …, noise 3) take-the-best leads by 5.4 points with 8 objects and up to 15 objects Psyche (choice.heuristics_cv), item ttb
Calibration: a judge that answers with a cue of validity 0.55 to 0.95 and states that validity; 200,000 questions. Drawn at random: sure 75%, right 75%. Keeping every misleading question and three in five of the rest: sure 74%, right 64% compute.py, item calibration
The hot hand: four flips, expected share of heads after a head 17/42 = 0.405; 100 shots after three hits, 0.460 (200,000 simulated sequences) Psyche (choice.streak_exact, streak_sim), item hothand
Hyperbolic k = 0.05 a week: 100 sooner against 110 four weeks later reverses at 20 weeks; exponential 0.97 a week never reverses Psyche (choice.discount, reversal_delay), item time
A 10% outcome is missed by seven draws 48% of the time; P(risky) described against seven draws: 0.36/0.58, 0.79/0.52, 0.10/0.48, 0.69/0.42 Psyche (choice.p_never_seen, sample_choices, cpt), item experience
One accumulator started near the intuitive answer: fastest fifth 97% intuitive, slowest fifth 79% checked Psyche (Part 25's decide.simulate), item systems
Decision by sampling in an illustrative account (credits median 150, debits median 60, lognormal): losing 100 ranks 0.68, gaining it 0.35, 1.9 times as large Psyche (choice.dbs_value), item sampling
Resource-rational anchoring: anchor 40 points away, each step removes 12%; best stop after 21 steps (cheap time) or 12 (dear), leaving 2.7 or 8.6 points of bias Psyche, item rational
Organ donation consent: Germany (opt in) 12%, Austria (opt out) 99.98% Johnson and Goldstein (2003)
Save More Tomorrow: 3.5% to 13.6% over four pay rises Thaler and Benartzi (2004)
Notes
Finding Original Status
Described as lives saved, most people choose a sure programme; described as deaths, the gamble Tversky and Kahneman 1981 replicated
An arbitrary number considered before an estimate pulls the estimate toward it Tversky and Kahneman 1974 replicated
The Allais pattern: a sure gain preferred, then the preference reversed when a common chance is removed Kahneman and Tversky 1979 replicated
A conjunction judged more probable than one of its parts Tversky and Kahneman 1983 replicated
Losses weigh about twice as much as equal gains Kahneman and Tversky 1979 contested
The hot hand is a cognitive illusion Gilovich, Vallone and Tversky 1985 story and record

Shown without a row, with the reason recorded in explainer/psychology/ledger.py: the history (Pascal and Fermat, Bernoulli, von Neumann and Morgenstern, Savage, Friedman and Savage), theories described (Quiggin, Parducci, two systems), preference reversals with Grether and Plott's replication, take-the-best as a rule tested in simulation, the description–experience gap with its meta-analysis, and the practice and frontier chapters' studies (defaults and Save More Tomorrow are due rows in Part 55, risk preference as a trait in Part 33).

Notes
  • The 1979 and 1992 splits and parameters are quoted from the papers; the Gigerenzer and Hoffrage percentages (16% and 46%) and the Johnson and Goldstein consent rates are from the papers as widely reported and should be rechecked against the originals before the final cut.
  • choices13k's payoffs are in the units of the choice prediction competitions; the film calls the stakes small rather than naming a currency.
  • The decision-by-sampling numbers come from an illustrative simulated account, tagged as Psyche's; Stewart, Chater and Brown used real bank records.

Companion material in this repository

The syllabus's plan for this partfrom SYLLABUS.md, the plan of record
  1. Hook and On you: the disease problem (1981), and five more, answered before the reveal.
  2. The standard: expected value, the St Petersburg game, Bernoulli's utility, the von Neumann–Morgenstern axioms in one slide (link to Philosophy, Built Part 33).
  3. The violations: Allais's paradox, drawn in the probability triangle; preference reversals.
  4. Prospect theory (1979): reference dependence, loss aversion, diminishing sensitivity, probability weighting. The value and weighting functions derived from the choices; the 1992 parameters.
  5. The fourfold pattern of risk attitudes, computed from those two curves. Insurance and lotteries.
  6. Heuristics and biases (1974): availability, representativeness (Linda), anchoring; base-rate neglect.
  7. The reply: frequency formats, ecological rationality, fast and frugal heuristics that beat regression out of sample (Gigerenzer; take-the-best, computed).
  8. Choice over time: exponential discounting and its consistency; hyperbolic discounting and preference reversal; the β–δ model.
  9. Decisions from experience: rare events are underweighted when learned, overweighted when described.
  10. Two systems? The dual-process story, its evidence and its critics.
  11. Where preferences come from: sampling and range–frequency accounts; value as efficient code (Part 58).
  12. What replicated: the 2014 and 2018 Many Labs results for framing, anchoring and sunk cost; prospect theory in nineteen countries (Ruggeri et al. 2020); the dispute over loss aversion.

Psyche: choice: cumulative prospect theory fitted to open choice data; the heuristics toolbox against regression in cross-validation; discounting models; decision by sampling. On you: Battery task 9; the classic problems with the published splits. Ledger: framing (replicated); anchoring (replicated); the Allais pattern (replicated); the conjunction fallacy (replicated; interpretation contested); loss aversion (replicated for large stakes, contested for small); the hot hand "fallacy" (story and record: the original analysis was biased, Miller & Sanjurjo 2018). In practice: pricing, insurance and pension design, medical risk communication, product defaults (Part 55). Frontier: large-scale choice datasets and machine-learned theories (Peterson et al. 2021); resource-rational accounts of biases; whether risk preference is one trait. Reading: Kahneman & Tversky 1979; Tversky & Kahneman 1974, 1981, 1992; Gigerenzer, Todd & the ABC Group 1999; Laibson 1997; Hertwig et al. 2004; Kahneman, Thinking, Fast and Slow (with its own errata); Ruggeri et al. 2020.

Build the film

python -m videos.psychology.psych26.compute        # the part's numbers, into .cache/psych26
python tools/build.py psych26                  # render and assemble the film
EXPLAINER_TTS=silent python tools/qa_scene.py psych26 Hook   # one chapter, silent, with a contact sheet

Scenes: videos/psychology/psych26. Setup: see the course page. Source of these notes: the README and the scenes' narration.

Build it
python -m videos.psychology.psych26.compute            # every number (about a minute; fetches choices13k once)
python tools/qa_scene.py psych26 Thirteen              # one chapter, silent, at 480p, with a contact sheet
EXPLAINER_TTS=silent python tools/build.py psych26 -q l   # the whole part, silent preview
python tools/build.py psych26                          # 1080p30 with narration
python tools/qa_scene.py psych26 Prospect --lang zh    # the Chinese edition of one chapter
python tools/make.py psych26                           # both editions, with the checks a long build needs
python -m videos.psychology.labs 26                    # the lab: prospect theory on open choice data
python tools/check_ledger.py psych26                   # every study shown has its Ledger row, or a reason
python -m pytest tests/psychology                      # Psyche's choice module, the Ledger, the Archive

The Chinese edition is zh_lines.py (the narration, line by line) and the series table videos/psychology/psychology_text_zh.json (the text on screen); the terms are in PSYCHOLOGY_ZH_GUIDE.md.