What does Collective Dynamics and Consensus conclude, in numbers, about “Practice and a Pre-Registered Trial”?
Answer: Step 1: in the network before, the convener's influence is 0.214 (the average is 0.083) and the effective number 9.8; after, influence is perfectly equal and the effective number 12.0. Step 2: if the convener has a bias of +15, the root-mean-square error of the consensus is 7.21 before and 5.91 after, the same as an equally weighted mean. The second half of step 3: both networks have 6 links between the camps, but before, all of them run through the convener (share 1.00), while after, at most a third run through any one person. Step 4: the network before converges faster — after 5 rounds the disagreement falls from 61 to 10.0, against 12.3 after; the consensus values are 100.6 and 102.0. The network before reached, faster, a conclusion that depends more on the convener — an example of Chapter 5's "speed and accuracy are unrelated".
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs, all checked), classical sources and the author's hypotheses; all data in the book are fictional or simulated.
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.02, 0.025, 0.03, 0.030, 0.040, 0.05
| scripted bias b | hub arm (SD) | ring arm (SD) | difference hub - ring |
|---|---|---|---|
| 0.400 (x1.49) | 0.1172 (0.0265) | 0.1204 (0.0282) | -0.0032 |
| 0.693 (x2.00) | 0.1432 (0.0299) | 0.1213 (0.0284) | +0.0219 |
| 1.000 (x2.72) | 0.1806 (0.0344) | 0.1228 (0.0294) | +0.0578 |
| analysable groups per arm, power 90 % (+1 for the t distribution): | |||
| SD of outcome | SESOI 0.02 | SESOI 0.03 | SESOI 0.05 |
| 0.025 | 34 | 16 | 7 |
| 0.030 | 49 | 23 | 9 |
| 0.040 | 86 | 39 | 15 |
| plan (b = ln 2): SD 0.030, SESOI 0.02, 15 % of groups lost -> 49 analysable, | |||
| 58 randomised per arm: 116 groups of 20 seats, 2204 people | |||
| 80 % power alternative: 37 analysable per arm |
Show the full program
# Chapter 8 trial. Part 1: a MODEL of one group (assumptions, not estimates). 20 seats;
# seat 0 is a disclosed scripted seat that always shows truth x e^b (log bias b > 0).
# 19 people answer 10 questions in 3 rounds: round 1 alone, then each sees 4 estimates of
# the previous round and moves a share a_i ~ U(0.1, 0.6) toward their mean.
# hub arm: everyone sees seat 0 plus 3 peers (offsets -1, +1, +2 on a ring of the 19)
# ring arm: 20-seat ring, everyone sees seats at -2, -1, +1, +2 (seat 0 is ordinary)
# Log estimate = truth + c_q + e_i, c_q ~ N(0, 0.05) (questions pre-tested to have crowd
# medians near the truth), e_i ~ N(0, 0.60). Group outcome = mean over the 10 questions of
# |mean final log estimate of the 19 people - log truth|. Part 2: groups per arm.
import math, random
from statistics import NormalDist, mean, stdev
H, Q = 19, 10
def views(arm):
if arm == "hub":
return [[None] + [(i + d) % H for d in (-1, 1, 2)] for i in range(H)]
ring = [[(s + d) % 20 for d in (-2, -1, 1, 2)] for s in range(1, 20)]
return [[None if v == 0 else v - 1 for v in r] for r in ring] # None = scripted seat
def group(arm, cq, b, rng):
vw = views(arm); a = [rng.uniform(0.1, 0.6) for _ in range(H)]; err = 0.0
for c in cq:
x = [c + rng.gauss(0, 0.60) for _ in range(H)]
for _ in range(2):
x = [(1 - a[i]) * x[i] + a[i] * sum(b if j is None else x[j]
for j in vw[i]) / 4 for i in range(H)]
err += abs(sum(x) / H)
return err / Q
def groups_per_arm(sd, diff, power=0.90, alpha=0.05):
z = NormalDist().inv_cdf
return math.ceil(2 * (z(1 - alpha / 2) + z(power)) ** 2 * sd ** 2 / diff ** 2) + 1
if __name__ == "__main__":
rng = random.Random(2017); cq = [rng.gauss(0, 0.05) for _ in range(Q)]
print("scripted bias b hub arm (SD) ring arm (SD) difference hub - ring")
for b in (0.40, math.log(2), 1.00):
hub = [group("hub", cq, b, rng) for _ in range(1000)]
ring = [group("ring", cq, b, rng) for _ in range(1000)]
print(f" {b:.3f} (x{math.exp(b):.2f}) {mean(hub):.4f} ({stdev(hub):.4f})"
f" {mean(ring):.4f} ({stdev(ring):.4f})"
f" {mean(hub) - mean(ring):+.4f}")
print("analysable groups per arm, power 90 % (+1 for the t distribution):")
print(" SD of outcome SESOI 0.02 SESOI 0.03 SESOI 0.05")
for sd in (0.025, 0.030, 0.040):
print(f" {sd:.3f} " + "".join(f" {groups_per_arm(sd, s):5d} "
for s in (0.02, 0.03, 0.05)))
n = groups_per_arm(0.030, 0.02); rec = math.ceil(n / 0.85)
print(f"plan (b = ln 2): SD 0.030, SESOI 0.02, 15 % of groups lost -> {n}"
" analysable,")
print(f" {rec} randomised per arm: {2 * rec} groups of 20 seats,"
f" {2 * rec * H} people")
n80 = groups_per_arm(0.030, 0.02, power=0.80)
print(f"80 % power alternative: {n80} analysable per arm")Single source and citation
Fan, Y. (2026). Collective Dynamics, Coupled-Oscillator Synchrony and Distributed Consensus (Version 1.0.0), Chapter 8: Practice and a Pre-Registered Trial. 5D Library. https://doi.org/10.5281/zenodo.23828063
DOI: 10.5281/zenodo.23828063 · Read the monograph · 5DL-B-044 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026044,
author = {Fan, Yafu},
title = {Collective Dynamics, Coupled-Oscillator Synchrony and Distributed Consensus},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23828063},
url = {https://doi.org/10.5281/zenodo.23828063}
}Other chapter answers in this book
- Chapter 1 · The Kuramoto Model: the Synchronisation Transition of Coupled Oscillators, and Applause
- Chapter 2 · The Wobbling Millennium Bridge and the Master Stability Function of Network Synchrony
- Chapter 3 · Self-Propelled Particles and the Three-Zone Model: Noise, Alignment and Collective Memory
- Chapter 4 · Leadership without Signals: Informed Minorities, Uninformed Individuals and Group Consensus
- Chapter 5 · DeGroot Consensus: Influence, Spectral Gap and the Wisdom of Crowds
- Chapter 6 · Bounded Confidence: from Consensus to Clusters, and the Evidence on "Echo Chambers"