What does Regression to the Mean and the Cover Jinx conclude, in numbers, about “Sources East and West: the Huainanzi's Old Man Who Lost His Horse and Galton's 1886 "Regression towards Mediocrity"”?
Answer: Chapter 7 reads the Huainanzi's tale of the lost horse alongside Galton's 1886 paper and computes the bias of the "blessing after blessing" share in short records, 0.4048 for four entries.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (22 programs), classical sources and the author's hypotheses.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 0.4048
| (A) P(four turns alternate strictly) | |
| switch prob 0.5 | 0.1250 |
| switch prob 0.6 | 0.2160 |
| switch prob 0.8 | 0.5120 |
| (B) mean share of gain-after-gain, fair independent turns | |
| n | 4: 0.4048 (14 sequences counted) |
| n | 6: 0.4161 (62 sequences counted) |
| n | 10: 0.4454 (1022 sequences counted) |
| n | 16: 0.4667 (65534 sequences counted) |
| n | 4 exactly: 17/42 |
| (C) turns needed to detect q | 0.6 vs 0.5: 153 |
Show the full program
# Chapter 7. p71: The old man's horse as a test of serial independence.
# The tale has four turns: loss, gain, loss, gain. (A) If each turn is an
# independent fair coin, how likely is a strictly alternating run of four;
# and if loss and gain truly "beget each other" with switch probability q?
# (B) The streak-selection bias of Miller and Sanjurjo (2018): in short
# independent sequences, the average share of gains that follow a gain is
# below 1/2. Exact enumeration of all 2^n sequences. (C) How many
# recorded turns are needed to tell q = 0.6 from 0.5 (one-sided 0.05,
# power 0.8). Exact arithmetic; q illustrative.
# 塞翁失马:四次转折的交替概率、连串选择偏差与检验所需样本量。
import itertools
import math
from fractions import Fraction
def alternate_prob(q):
return 2 * Fraction(1, 2) * q ** 3
def streak_share(n):
vals = []
for seq in itertools.product((0, 1), repeat=n):
follow = [seq[i + 1] for i in range(n - 1) if seq[i] == 1]
if follow:
vals.append(Fraction(follow.count(1), len(follow)))
return Fraction(math.fsum(float(v) for v in vals)) / len(vals), vals
if __name__ == "__main__":
print("(A) P(four turns alternate strictly)")
for q in (Fraction(1, 2), Fraction(3, 5), Fraction(4, 5)):
p = alternate_prob(q)
print(" switch prob {:.1f}: {:.4f}".format(float(q), float(p)))
print("(B) mean share of gain-after-gain, fair independent turns")
for n in (4, 6, 10, 16):
m, vals = streak_share(n)
print(" n = {:>2}: {:.4f} ({} sequences counted)"
.format(n, float(m), len(vals)))
exact4 = Fraction(0)
_, v4 = streak_share(4)
for v in v4:
exact4 += v
print(" n = 4 exactly: {}".format(exact4 / len(v4)))
z_a, z_b = 1.6449, 0.8416
n = ((z_a * 0.5 + z_b * math.sqrt(0.6 * 0.4)) / 0.1) ** 2
print("(C) turns needed to detect q = 0.6 vs 0.5: {}".format(
math.ceil(n)))Single source and citation
Fan, Y. (2026). Regression to the Mean and the Cover Jinx: Posterior Calibration of Fortune Reports and Serial Independence in the Tale of the Lost Horse (Version 1.0.0), Chapter 7: Sources East and West: the Huainanzi's Old Man Who Lost His Horse and Galton's 1886 "Regression towards Mediocrity". 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-202 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026202,
author = {Fan, Yafu},
title = {Regression to the Mean and the Cover Jinx: Posterior Calibration of Fortune Reports and Serial Independence in the Tale of the Lost Horse},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · A Conditional Expectation with Slope Below One: Why Top Stores Slip the Next Year
- Chapter 2 · The Flight Instructor's Illusion: Why Criticism Looks More Effective than Praise
- Chapter 3 · Splitting Variance into Skill and Luck: Repeated Measures, Intraclass Correlation and Reliability
- Chapter 4 · Shrinkage Estimation: James and Stein, Efron and Morris's Eighteen Batters, and Shrinkage Ranking
- Chapter 5 · The Cover Jinx: Select at the Peak and You Will See a Fall
- Chapter 6 · Posterior Calibration of Fortune Reports: Buying at the Low Point, Barnum Statements and the Brier Score
- Chapter 8 · Closing the Loop: Annual Reviews by Shrinkage Ranking, Copy without Causal Overstatement, and a Pre-registered Plan