What does Modular Numerology conclude, in numbers, about “A Four-Step Check and a Pre-Registered Matching Test”?

Answer: Chapter 8 gives a four-step check and a pre-registered matching test (419 participants). Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's hypotheses.

Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 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: 419

   chance hit rate, nine descriptions, even base rates: 0.1111
   chance hit rate, twelve descriptions under rule A,
   with the example preferences q: 0.0945
   (twelve descriptions and even preferences would give 0.0833)
   example preferences q (numbers 1-9, 11, 22, 33):
     1:0.14 2:0.03 3:0.10 4:0.04 5:0.10 6:0.05
     7:0.10 8:0.10 9:0.08 11:0.16 22:0.06 33:0.04
     sum of q = 1.00
   nine descriptions, hit rate 0.16 against 1/9, one-sided 0.05,
   power 0.90: 419 participants, at least 58 hits
Reading: with plain residues the chance level is exactly 1/9
and a pre-registered test needs a few hundred people. With
master numbers the chance level depends on which descriptions
people like, so it must be estimated by shuffling, not assumed.
Show the full program
# Chapter 8. A pre-registered matching test, and its base-rate trap.
# Each participant reads the standard descriptions of the life path
# numbers, unlabelled and in random order, and picks the one most like
# themselves. A hit is a pick of the participant's own number. The
# chance hit rate is sum_k p_k q_k, where p is the population share of
# number k and q the share of participants who pick description k. If
# p is even, this is 1/9 whatever q is; if p is uneven (master numbers,
# rule A) and q favours some descriptions, chance is no longer 1/9.
# q below is an invented example of a preference for flattering texts.
import datetime as dt
from math import comb

MASTERS = (11, 22, 33)
KEYS = list(range(1, 10)) + [11, 22, 33]
Q = dict(zip(KEYS, (0.14, 0.03, 0.10, 0.04, 0.10, 0.05, 0.10, 0.10,
                    0.08, 0.16, 0.06, 0.04)))

def digit_sum(n):
    return sum(int(c) for c in str(n))

def rule_a(y, m, d):
    n = digit_sum(y) + digit_sum(m) + digit_sum(d)
    while n > 9 and n not in MASTERS:
        n = digit_sum(n)
    return n

def shares(y0=1950, y1=2009):
    c, n = {k: 0 for k in KEYS}, 0
    day, end = dt.date(y0, 1, 1), dt.date(y1, 12, 31)
    while day <= end:
        c[rule_a(day.year, day.month, day.day)] += 1
        n += 1
        day += dt.timedelta(days=1)
    return {k: v / n for k, v in c.items()}

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

def plan(p0, p1, alpha=0.05, power=0.90):
    for n in range(20, 5000):
        k = next(k for k in range(n + 1) if tail(n, k, p0) <= alpha)
        if tail(n, k, p1) >= power:
            return n, k

if __name__ == "__main__":
    p = shares()
    chance_a = sum(p[k] * Q[k] for k in KEYS)
    print("   chance hit rate, nine descriptions, even base rates: {:.4f}"
          .format(1 / 9))
    print("   chance hit rate, twelve descriptions under rule A,")
    print("   with the example preferences q: {:.4f}".format(chance_a))
    print("   (twelve descriptions and even preferences would give {:.4f})"
          .format(sum(p[k] for k in KEYS) / 12))
    print("   example preferences q (numbers 1-9, 11, 22, 33):")
    cells = ["{}:{:.2f}".format(k, Q[k]) for k in KEYS]
    print("     " + " ".join(cells[:6]))
    print("     " + " ".join(cells[6:]))
    print("     sum of q = {:.2f}".format(sum(Q.values())))
    n, k = plan(1 / 9, 0.16)
    print("   nine descriptions, hit rate 0.16 against 1/9, one-sided"
          " 0.05,")
    print("   power 0.90: {} participants, at least {} hits".format(n, k))
    print("\nReading: with plain residues the chance level is exactly 1/9")
    print("and a pre-registered test needs a few hundred people. With")
    print("master numbers the chance level depends on which descriptions")
    print("people like, so it must be estimated by shuffling, not assumed.")

Single source and citation

Fan, Y. (2026). Modular Numerology, Character-Stroke Hashes and Residue-Class Distributions (Version 1.0.0), Chapter 8: A Four-Step Check and a Pre-Registered Matching Test. 5D Library. https://doi.org/10.5281/zenodo.24090178

DOI: 10.5281/zenodo.24090178 · Read the monograph · 5DL-B-065 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026065,
  author    = {Fan, Yafu},
  title     = {Modular Numerology, Character-Stroke Hashes and Residue-Class Distributions},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  doi       = {10.5281/zenodo.24090178},
  url       = {https://doi.org/10.5281/zenodo.24090178}
}

Other chapter answers in this book