What does Joining Genealogies and the Perpetual Clan Estate conclude, in numbers, about “Going to the Southern Seas Was Chain Migration: Branching Processes and the Crowding of Ports”?
Answer: Chapter 5 models chain migration to the Southern Seas as a branching process in which villagers crowd into a few ports, cutting the weight of port agreement from a naive 5.17 bits to 2.00.
Scope of the numbers: All data are synthetic or illustrative, all calculations come from its programs, and it is general analysis, not legal, financial or business advice; it compares no lineages or ethnic groups. Marked boxes separate published evidence, runnable Python calculations (20 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: 2.00, 5.17
| ports per village: 100 migrants, 40 ports | ||||
| A | top-port share | top-3 share | u(port) | weight bits |
| 0.1 | 0.364 | 0.679 | 0.2255 | +2.00 |
| 0.5 | 0.170 | 0.382 | 0.0830 | +3.44 |
| 5.0 | 0.087 | 0.210 | 0.0401 | +4.49 |
| 50.0 | 0.065 | 0.174 | 0.0354 | +4.67 |
| naive u = 1/J = 0.0250, weight +5.17 bits |
Show the full program
# Chapter 5. p52: preferential attachment of villages to ports.
# Model: each of V = 30 home villages sends 100 migrants, one at a
# time, to J = 40 destination ports. A migrant from village v picks
# port j with probability proportional to c_vj + A, where c_vj counts
# earlier migrants from v at j (a Polya urn, the rich-get-richer rule
# behind Barabasi and Albert 1999). A = 0.1 to 50 is illustrative; large A
# would mean free choice. For record linkage the port field's u
# probability is the chance that two unrelated men from one village
# share a port: the mean over villages of sum_j s_vj^2. A naive
# matcher would take 1 / J. Fixed seed, synthetic data only.
import math
import random
V, PER, J, M_PORT = 30, 100, 40, 0.90
def village(rng, a):
c = [0] * J
for _ in range(PER):
w = [x + a for x in c]
u = rng.random() * math.fsum(w)
acc, j = 0.0, 0
for j, x in enumerate(w):
acc = math.fsum([acc, x])
if acc >= u:
break
c[j] += 1
return [x / PER for x in c]
if __name__ == "__main__":
rng = random.Random(3346)
print("ports per village: {} migrants, {} ports".format(PER, J))
print(" A top-port share top-3 share u(port) weight bits")
for a in (0.1, 0.5, 5.0, 50.0):
tops, top3, us = [], [], []
for _ in range(V):
s = sorted(village(rng, a), reverse=True)
tops.append(s[0])
top3.append(math.fsum(s[:3]))
us.append(math.fsum(x * x for x in s))
u = math.fsum(us) / V
fmt = " {:>5.1f} {:>14.3f} {:>11.3f} {:>7.4f} {:>+11.2f}"
print(fmt.format(a, math.fsum(tops) / V, math.fsum(top3) / V, u,
math.log2(M_PORT / u)))
print("naive u = 1/J = {:.4f}, weight {:+.2f} bits".format(
1 / J, math.log2(M_PORT * J)))Single source and citation
Fan, Y. (2026). Genealogical DAG Merge Algorithms, Generation-Poem Congruence Coding and the Institutional Economics of the Fan Clan Charitable Estate (Version 1.0.0), Chapter 5: Going to the Southern Seas Was Chain Migration: Branching Processes and the Crowding of Ports. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-334 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026334,
author = {Fan, Yafu},
title = {Genealogical DAG Merge Algorithms, Generation-Poem Congruence Coding and the Institutional Economics of the Fan Clan Charitable Estate},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Same Name, Same Generation: Collisions Are Far Commoner Than They Look
- Chapter 2 · Keeping a Ledger of Likelihood Ratios: Two Thresholds and a Review Zone
- Chapter 3 · A Lineage Is a Directed Acyclic Graph: Topological Sorting and Cycle Detection
- Chapter 4 · The Generation Poem Is a Congruence Code: Dropped Generations, Extra Generations and Collisions Across Cycles
- Chapter 6 · The Perpetual Charitable Estate: Extinction Probabilities, a Ration Ledger and the Risk of Governance
- Chapter 7 · The Classics Examined: Fan Zhongyan's Rules for the Charitable Estate and the Extinction Problem of Galton and Watson
- Chapter 8 · The Quarterly Merge Check-up: Procedure, Distilled Tool and Pre-registered Refutation