5D Library › Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology · 中文

Chapter 5. Landmark Error and the Barnum Effect

A few pixels of error

Reading a proportion from a photo starts with placing landmarks. Let the ratio be R=a/bR = a/b with aa = 120 pixels and bb = 200 pixels (R=0.6R = 0.6), and let each of four landmarks carry an independent error of standard deviation σ\sigma pixels in each coordinate. To first order (the delta method) the relative standard deviation of RR is 2σ2/a2+2σ2/b2\sqrt{2\sigma^2/a^2 + 2\sigma^2/b^2}. If a reading treats “RR between 0.58 and 0.62” as ideal, how often will two annotators of the same photo disagree?

Calculation

# Chapter 5. p09: Landmark error and how often a reading flips.
# A ratio R = a / b of two distances on a photo, a = 120 px and
# b = 200 px (R = 0.6). Each of the four landmarks is placed with an
# independent normal error of sigma px in each coordinate. To first
# order (delta method) the error of a distance along its own line has
# sd sigma sqrt(2), so the relative sd of R is
#     sqrt(2 sigma^2 / a^2 + 2 sigma^2 / b^2).
# A reading calls a face "ideal" if R lies in [0.58, 0.62]. For a face
# whose true R is 0.600 (centre of the band) or 0.615 (near its edge),
# we estimate how often two independent annotations of the same photo
# disagree on that call. 100,000 simulated pairs, fixed seed.
import math
import random

A, B = 120.0, 200.0

def measured(rng, sigma, ra):
    a = A * ra / 0.6
    pts = [(0.0, 0.0), (a, 0.0), (0.0, 50.0), (B, 50.0)]
    q = [(x + rng.gauss(0, sigma), y + rng.gauss(0, sigma)) for x, y in pts]
    da = math.dist(q[0], q[1])
    db = math.dist(q[2], q[3])
    return da / db

if __name__ == "__main__":
    rng = random.Random(9)
    print("   sigma px   delta-method sd of R   simulated sd of R")
    for s in (1.0, 2.0, 4.0):
        sd = 0.6 * math.sqrt(2 * s * s / A ** 2 + 2 * s * s / B ** 2)
        xs = [measured(rng, s, 0.6) for _ in range(20000)]
        m = sum(xs) / len(xs)
        sim = math.sqrt(sum((x - m) ** 2 for x in xs) / (len(xs) - 1))
        print("   {:8.1f} {:22.4f} {:19.4f}".format(s, sd, sim))
    print("\n   two annotations disagree on 'ideal' (band 0.58 to 0.62):")
    print("   sigma px   true R 0.600   true R 0.615")
    for s in (1.0, 2.0, 4.0):
        row = []
        for ra in (0.600, 0.615):
            dis = 0
            for _ in range(50000):
                r1 = measured(rng, s, ra)
                r2 = measured(rng, s, ra)
                dis += (0.58 <= r1 <= 0.62) != (0.58 <= r2 <= 0.62)
            row.append(dis / 50000)
        print("   {:8.1f} {:14.4f} {:14.4f}".format(s, *row))
    print("\nReading: one pixel of placement error already makes two")
    print("annotators disagree on four faces in ten near the edge of the")
    print("band; at two pixels they disagree on a third of the faces in")
    print("its very middle. A reading that turns on such a band reports")
    print("the annotator's hand as much as the face.")
#    sigma px   delta-method sd of R   simulated sd of R
#         1.0                 0.0082              0.0082
#         2.0                 0.0165              0.0165
#         4.0                 0.0330              0.0330
#
#    two annotations disagree on 'ideal' (band 0.58 to 0.62):
#    sigma px   true R 0.600   true R 0.615
#         1.0         0.0316         0.3984
#         2.0         0.3513         0.4790
#         4.0         0.4992         0.4871
#
# Reading: one pixel of placement error already makes two
# annotators disagree on four faces in ten near the edge of the
# band; at two pixels they disagree on a third of the faces in
# its very middle. A reading that turns on such a band reports
# the annotator's hand as much as the face.

The delta method matches the simulation exactly: at σ\sigma of 1, 2 and 4 pixels the standard deviation of RR is 0.0082, 0.0165 and 0.0330. For a face whose true RR is at the centre of the band (0.600), one pixel of error causes disagreement in only 0.0316 of cases, but two pixels in 0.3513; for a face near the edge (0.615), one pixel already gives 0.3984, close to a coin toss. A reading that turns on such a band reports the annotator’s hand as much as the face.

The more you measure, the more special everyone is

Forer gave students a personality test and then handed each the same generic description, which the students broadly rated as an accurate portrait of themselves (Forer 1949). Face reading has a more arithmetical version: the more ratios are measured, the more certainly every person “has something special”. The program calls the central 30% of each ratio “ordinary” and the other 70% “notable”, and anything outside the central 90% “rare”, with independent ratios.

Calculation

# Chapter 5. p10: Many ratios, and everybody has something special.
# A face reading measures K proportions. For each, call a face
# "notable" if it falls outside a central band holding 30 % of people
# (so 0.7 of faces are notable on that ratio), and "rare" if it falls
# outside the central 90 % (0.1 of faces). With independent ratios:
#   P(no notable ratio) = 0.3^K;   P(at least one rare) = 1 - 0.9^K;
#   expected notable ratios = 0.7 K.
# Correlated ratios behave like fewer independent ones; we also show
# K_eff = K / 2. A check by simulation for K = 12 (100,000 faces).
import random

if __name__ == "__main__":
    print("   K    nothing notable, 1 in   P(some rare ratio)   mean notable")
    for k in (5, 10, 12, 20, 30):
        print("   {:2d} {:23,.0f} {:20.4f} {:14.1f}".format(
            k, 0.3 ** -k, 1 - 0.9 ** k, 0.7 * k))
    print("\n   with K_eff = K / 2:")
    for k in (10, 20, 30):
        print("   K = {:2d}: P(some rare ratio) {:.4f}".format(
            k, 1 - 0.9 ** (k / 2)))
    rng = random.Random(1949)
    n, rare = 100000, 0
    for _ in range(n):
        rare += any(rng.random() < 0.1 for _ in range(12))
    print("\n   simulation, K = 12: share with a rare ratio {:.4f}".format(
        rare / n))
    print("\nReading: with a dozen measured ratios, almost every face has")
    print("several notable ones and most have at least one rare one. A")
    print("reading that finds 'something special' in each client finds")
    print("what arithmetic guarantees, which is why it feels accurate.")
#    K    nothing notable, 1 in   P(some rare ratio)   mean notable
#     5                     412               0.4095            3.5
#    10                 169,351               0.6513            7.0
#    12               1,881,676               0.7176            8.4
#    20          28,679,719,908               0.8784           14.0
#    30   4,856,935,749,618,867               0.9576           21.0
#
#    with K_eff = K / 2:
#    K = 10: P(some rare ratio) 0.4095
#    K = 20: P(some rare ratio) 0.6513
#    K = 30: P(some rare ratio) 0.7941
#
#    simulation, K = 12: share with a rare ratio 0.7183
#
# Reading: with a dozen measured ratios, almost every face has
# several notable ones and most have at least one rare one. A
# reading that finds 'something special' in each client finds
# what arithmetic guarantees, which is why it feels accurate.

With 12 measured ratios, only one person in 1,881,676 has no notable ratio; the average person has 8.4 notable ratios; 0.7176 have at least one rare ratio (0.7183 in the simulation). With 30 ratios this share is 0.9576. Even if the ratios are correlated so that only half as many are effectively independent, 0.7941 still have a rare ratio among 30. A reading that finds “something special” in every client finds what arithmetic guarantees, which is exactly why it feels accurate.

Hypothesis · not established

Testable consequence. If face readings carry information about the person, then in a blind-pick test clients should pick the reading made from their own photo out of two, at a rate clearly above one half. What would show this wrong: if the hit rate does not differ from one half, the “accuracy” of the readings comes from the Barnum effect, not from the face.

Summary

A few pixels of landmark error are enough to make two annotators disagree widely on whether a face is “ideal”. The more ratios are measured, the more inevitably everyone looks special, which makes any reading easy to experience as accurate.

References

Forer, Bertram R. 1949. “The Fallacy of Personal Validation: A Classroom Demonstration of Gullibility.” Journal of Abnormal and Social Psychology 44 (1): 118–23.

Fan, Y. (2026). Xuankong Flying-Star Permutations, Twenty-Four-Mountain Compass Discretization and Craniofacial Ratio Metrology: Lo-Shu Orbit Cycles, Magnetic Declination Flip Rates and Landmark Measurement Error Propagation [玄空飞星置换代数、二十四山罗盘离散化与骨相比例计量] (Version 1.0.0). 5D Library. https://doi.org/10.5281/zenodo.24090215 · Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).