5D Library › 姓名笔画、生命灵数与手机号码的同余映射和分布论 · English

第八章 四步核查与一项预注册的配对检验

相信一个数字命理软件之前的四个问题

本章把全书变成四个问题,可以向任何生命灵数、姓名或手机号码软件——包括作者自己的——提出。它们不是决策建议。

一、它用的是哪一种算法? 大师数保留与否、年月日先化简还是一次相加(第一章);简体还是康熙笔画(第四、五章);0 与 5 怎样处理(第六章)。这些选择会让同一个输入得到不同的数。软件应当写明,并能用已知的例子核对。

二、每一个标签的基率是多少? 一个「2 号人」或一个「吉号」在人群中占多少(第二、五、六章)?只有知道了基率,才能判断一条断语说中一个人有多大意义 (Kahneman and Tversky 1973)。

三、标签对约定有多敏感? 换一种笔画约定,总格的吉凶对将近一半的名字改变;号码加一,模 80 的吉凶有过半的机会改变(第五、六章)。软件应当报告换一种合理约定后结果的变化。

四、它说中的是谁? 第 63 本说明,被认为准确不等于区分了人。福勒在 1949 年让学生给一份对所有人都相同的「个人」描述打分,平均准确度仍然很高 (Forer 1949)。要衡量一份解读是否属于它的主人,需要盲法的配对检验,而不是准确度评分 (Carlson 1985; Dean and Kelly 2003)。

一项预注册的配对检验

假说 · 尚未验证

研究方案。 一种生命灵数的算法(第一章的 A、B、C 或 D 之一)与一套描述文字在招募前公开登记,此后不再改动。每位参与者提供出生日期;研究者把各个生命灵数的描述去掉编号、随机排序后交给参与者,请他挑出最像自己的一段。主要结局:挑中自己生命灵数描述的比例。检验:单侧精确二项检验,α=0.05\alpha = 0.05,与偶然水平比较。判定:达到临界命中数,才算支持「描述含有关于其主人的信息」。由与作者无经济关系、不知道参与者生命灵数的独立分析者执行,结果不论正负都发表。

偶然水平是这个检验最容易出错的地方。设人群中生命灵数为 kk 的比例为 pkp_k,参与者挑中描述 kk 的比例为 qkq_k,则在描述毫无信息时,命中率是 ∑kpkqk\sum_k p_k q_k。若 pp 是均匀的,不论人们偏爱哪段描述,这个和都等于九分之一;若 pp 不均匀,而人们又偏爱某些描述(例如听起来更讨人喜欢的那几段),偶然水平就不再是九分之一。

推导

# 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.")
#    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.

用纯数字根(算法 D)与九段描述时,偶然命中率恰为 0.1111,与参与者的偏好无关。用保留大师数的算法 A 与十二段描述时,基率不均匀;在程序中举例的偏好下(十二个 qkq_k 列在输出中,和为 1.00),偶然命中率是 0.0945,而不是十二分之一的 0.0833。若误把 0.0833 当作偶然水平,一个毫无信息的描述集也会显得「高于偶然」。所以方案应当登记纯数字根,或者用打乱参与者与日期配对的置换检验来估计偶然水平,而不是假定它。

以纯数字根、九段描述、单侧 0.05、把握度 0.90 计算,要发现 0.16 对九分之一的命中率,需要 419 名参与者,至少命中 58 人。

注

这个检验检验什么,不检验什么。 它检验的是:一个人的生命灵数描述,是否比别人的描述更像他自己。它不检验生命灵数能否预测任何事件。即使结果是否定的,它也不说明使用者从这些描述中得到的感受不真实;它只说明那种感受不依赖于描述是不是自己的。

小结

相信一个数字命理软件之前,应当问四个问题:用的是哪种算法,标签的基率是多少,标签对约定有多敏感,以及它说中的是谁。一项预注册的配对检验可以回答最后一个问题;它的偶然水平在基率均匀时是九分之一,在保留大师数时必须用置换来估计。要在单侧 0.05 下以 0.90 的把握度发现 0.16 的命中率,需要 419 名参与者。

参考文献

Carlson, Shawn. 1985. “A Double-Blind Test of Astrology.” Nature 318: 419–25.
Dean, Geoffrey, and Ivan W. Kelly. 2003. “Is Astrology Relevant to Consciousness and Psi?” Journal of Consciousness Studies 10 (6–7): 175–98.
Forer, Bertram R. 1949. “The Fallacy of Personal Validation: A Classroom Demonstration of Gullibility.” Journal of Abnormal and Social Psychology 44 (1): 118–23.
Kahneman, Daniel, and Amos Tversky. 1973. “On the Psychology of Prediction.” Psychological Review 80 (4): 237–51.

Fan, Y. (2026). Modular Numerology, Character-Stroke Hashes and Residue-Class Distributions: Digital-Root Arithmetic, Kangxi Radical Restorations, Modulo-80 Grid Mappings and Empirical Base-Rate Concentration [姓名笔画、生命灵数与手机号码的同余映射和分布论] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090178 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).