5D Library › Multimodal Calendrical Tensor Fusion, Modulo-90 Harmonic Dials and Cross-System Resonance Diagnostics · 中文

Chapter 6. The Limits of Combining: Condorcet, a Gaussian Copula and the Base Rate of “Resonance”

Condorcet’s jury theorem

If KK judges are each right with a probability a little above one half, and independent, the majority is right with a probability that tends to 1 as KK grows: this is Condorcet’s jury theorem (Condorcet, Marquis de 1785). Its key premise is independence; when judges are correlated, the majority’s gain shrinks sharply (Ladha 1992).

The program lets each system give the right yes/no answer with probability 0.6 (an assumption for illustration, not a finding of this book), introduces a correlation ρ\rho through a one-factor Gaussian copula (Nelsen 2006), and simulates the majority’s accuracy for KK systems. The variance of an average of KK equally correlated signals, relative to one signal, is Var(X‾)σ2=ρ+1−ρK,\frac{\mathrm{Var}(\bar X)}{\sigma^2} = \rho + \frac{1-\rho}{K} , which can fall only to ρ\rho as KK grows, never to zero.

Calculation

# Chapter 6. [p11] Condorcet's jury theorem with correlated systems.
# K systems each give the right yes/no answer with probability p = 0.6
# (an assumption for illustration, not a finding). Correlation enters
# through a Gaussian copula: system i is right when Z_i < q, with
# q = Phi^-1(p) and corr(Z_i, Z_j) = rho (one common factor). The
# majority's accuracy for K = 1, 3, 5, 9 and rho = 0, 0.3, 0.6, by
# simulation (100,000 draws, seed 70), and the variance floor of an
# average of K equally correlated signals: rho + (1 - rho) / K.
import math
import random
from statistics import NormalDist

P = 0.6
Q = NormalDist().inv_cdf(P)

def majority(k, rho, rng, n=100000):
    a, b = math.sqrt(rho), math.sqrt(1 - rho)
    good = 0
    for _ in range(n):
        f = rng.gauss(0, 1)
        right = sum(a * f + b * rng.gauss(0, 1) < Q for _ in range(k))
        good += right * 2 > k
    return good / n

if __name__ == "__main__":
    rng = random.Random(70)
    print("    rho    K=1     K=3     K=5     K=9   variance ratio K=9")
    for rho in (0.0, 0.3, 0.6):
        acc = [majority(k, rho, rng) for k in (1, 3, 5, 9)]
        print("   {:4.1f} {:7.4f} {:7.4f} {:7.4f} {:7.4f} {:12.3f}".format(
            rho, *acc, rho + (1 - rho) / 9))
    print("\nReading: independent systems that are each a little better")
    print("than chance add up fast; correlated ones barely add up. At")
    print("rho = 0.6 nine systems are hardly better than one.")
#     rho    K=1     K=3     K=5     K=9   variance ratio K=9
#     0.0  0.6014  0.6464  0.6814  0.7348        0.111
#     0.3  0.6001  0.6275  0.6404  0.6537        0.378
#     0.6  0.5962  0.6144  0.6203  0.6231        0.644
#
# Reading: independent systems that are each a little better
# than chance add up fast; correlated ones barely add up. At
# rho = 0.6 nine systems are hardly better than one.
Majority accuracy and the number of systems (each system right with probability 0.6).

Independent, 9 systems raise the majority’s accuracy from 0.6014 to 0.7348; with correlation 0.3 only to 0.6537; with 0.6 only to 0.6231, nine systems hardly better than one. The variance ratios at K=9K = 9 are 0.111, 0.378 and 0.644. Chapter 5 showed that correlation among the systems depends on the question asked; for questions tied to the season the gain from combining may be small.

Double resonance and orthogonal divergence

The “double resonance” of the author’s outline means that an Eastern annual flying-star cycle and Western solar-arc directions point at the same life domain in the same year. The program gives the Eastern system a base rate of 1/12 of “firing” for a domain (the annual ji entering that palace) and the Western system a base rate of 0.35, and introduces correlation through a Gaussian copula.

Calculation

# Chapter 6. [p12] Two systems in one yearly window: co-resonance and
# orthogonal divergence under a Gaussian copula. System E (an eastern
# annual cycle) fires for a given life domain with base rate a = 1/12;
# system W (western solar-arc directions) fires with base rate b =
# 0.35. Latent normals with correlation rho decide firing. For rho = 0,
# 0.3 and 0.6: P(both fire), P(exactly one fires) and P(W fires | E
# fires), from 400,000 draws (seed 70).
import math
import random
from statistics import NormalDist

A, B = 1 / 12, 0.35
QA, QB = NormalDist().inv_cdf(A), NormalDist().inv_cdf(B)

def joint(rho, rng, n=400000):
    both = one = e = 0
    s = math.sqrt(1 - rho * rho)
    for _ in range(n):
        x = rng.gauss(0, 1)
        y = rho * x + s * rng.gauss(0, 1)
        fe, fw = x < QA, y < QB
        both += fe and fw
        one += fe != fw
        e += fe
    return both / n, one / n, both / e

if __name__ == "__main__":
    rng = random.Random(70)
    print("   independent product a x b = {:.4f}".format(A * B))
    print("    rho   P(both)  P(exactly one)  P(W | E)  lift")
    for rho in (0.0, 0.3, 0.6):
        both, one, cond = joint(rho, rng)
        print("   {:4.1f} {:9.4f} {:15.4f} {:9.4f} {:5.2f}".format(
            rho, both, one, cond, both / (A * B)))
    print("\nReading: 'double resonance' is the rarer event only because")
    print("E is rare; when E fires, W agrees a third of the time even if")
    print("the two are independent. Divergence, not agreement, is the")
    print("normal state, and it carries no information either.")
#    independent product a x b = 0.0292
#     rho   P(both)  P(exactly one)  P(W | E)  lift
#     0.0    0.0294          0.3751    0.3504  1.01
#     0.3    0.0469          0.3403    0.5673  1.61
#     0.6    0.0669          0.2999    0.8064  2.29
#
# Reading: 'double resonance' is the rarer event only because
# E is rare; when E fires, W agrees a third of the time even if
# the two are independent. Divergence, not agreement, is the
# normal state, and it carries no information either.

Independent, both fire with probability 0.0294, the product of the two base rates; “exactly one fires” (orthogonal divergence) has probability 0.3751, far more common than resonance. The conditional probability deserves attention: even if the two systems are entirely independent, in a year when the Eastern one fires the Western one also fires with probability 0.3504. With correlation 0.3 the conditional probability rises to 0.5673, and resonance is 1.61 times as likely as under independence. “Resonance” looks rare only because the Eastern base rate is low; once the Eastern system fires, the Western one very often chimes in.

Chance agreement over a life

Stretch the time to 40 adult years: the Eastern system marks one domain each year, the Western system kk domains, with no connection between them.

Calculation

# Chapter 6. [p13] How often do two unrelated systems "agree" over a
# life? Over 40 adult years, an eastern system marks one life domain
# of 12 each year (the palace an annual ji flies into); a western
# system marks k domains each year (houses touched by major solar-arc
# contacts). With no connection between them, the number of years in
# which the eastern domain is among the western ones is binomial with
# p = k / 12. Also: if the person names one year with a major event,
# the chance that both systems agree that year. Exact binomial sums.
from math import comb

YEARS = 40

def at_least(n, k, p):
    return sum(comb(n, j) * p ** j * (1 - p) ** (n - j)
               for j in range(k, n + 1))

if __name__ == "__main__":
    print("    k   p = k/12   mean agreeing years   P(>= 8 years)"
          "   P(>= 12 years)")
    for k in (1, 2, 3, 4, 6):
        p = k / 12
        print("   {:2d} {:9.4f} {:20.2f} {:15.4f} {:16.4f}".format(
            k, p, YEARS * p, at_least(YEARS, 8, p),
            at_least(YEARS, 12, p)))
    print("   event year agreement by chance, k = 3: {:.4f}".format(3 / 12))
    print("\nReading: with a western system marking a quarter of all")
    print("domains each year, the two agree in about ten years of forty")
    print("by chance alone. A list of 'resonance years' that matched")
    print("life events would need to beat this baseline to mean anything.")
#     k   p = k/12   mean agreeing years   P(>= 8 years)   P(>= 12 years)
#     1    0.0833                 3.33          0.0159           0.0001
#     2    0.1667                 6.67          0.3466           0.0261
#     3    0.2500                10.00          0.8180           0.2849
#     4    0.3333                13.33          0.9789           0.7265
#     6    0.5000                20.00          1.0000           0.9968
#    event year agreement by chance, k = 3: 0.2500
#
# Reading: with a western system marking a quarter of all
# domains each year, the two agree in about ten years of forty
# by chance alone. A list of 'resonance years' that matched
# life events would need to beat this baseline to mean anything.

When the Western system marks 3 domains a year (a quarter), the two “agree” in 10.00 years on average; the chance of agreeing in at least 8 years is 0.8180, in at least 12 years 0.2849. If the person names the year of one major event, the chance that the two agree in that year by accident is 0.2500. Any report that compares “resonance years” with life events must be measured against this base rate.

Hypothesis · not established

The author’s interpretation (not yet tested): the ceiling on the value of combining systems is set by their correlation; while it is unmeasured, “several systems say so” should not be taken as stronger evidence than one system. The hit rate of “resonance years” must be compared with this chapter’s base rate of chance agreement. What would show this wrong: if, in the pre-registered test of Chapter 8, the years with the highest resonance score are associated with sealed major-event years well above chance, combining does provide information beyond the single systems.

Summary

Condorcet’s gain depends on independence: with correlation 0.6, nine systems are hardly better than one. Under independence the probability of “double resonance” is just the product of the base rates, and once the rarer system fires, the other very often chimes in. Over 40 years of life, two unconnected systems agree by chance in 10.00 years on average.

References

Condorcet, Marquis de. 1785. Essai Sur l’application de l’analyse à La Probabilité Des décisions Rendues à La Pluralité Des Voix. Imprimerie Royale.
Ladha, Krishna K. 1992. “The Condorcet Jury Theorem, Free Speech, and Correlated Votes.” American Journal of Political Science 36 (3): 617–34.
Nelsen, Roger B. 2006. An Introduction to Copulas. 2nd ed. Springer.

Fan, Y. (2026). Multimodal Calendrical Tensor Fusion, Modulo-90 Harmonic Dials and Cross-System Resonance Diagnostics: Climate-Balance Vectors, Flying-Transformation Matrices and Solar-Arc Midpoint Trees [多模态历法张量融合、模九十谐波拨盘与跨系统共振诊断] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090189 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).