What does Regression Discontinuity at Membership Tiers conclude, in numbers, about “Sources East and West: Rank for Count in the Book of Lord Shang and the Scholarship Discontinuity of 1960”?

Answer: Under rule A there are 666 units at a count of 24 and 675 at 25, a ratio of 1.014; the distribution is smooth. Under rule B the number at 25 jumps to 2656 while only 65 remain at 24, a ratio of 40.862; every count from 20 to 24 has been hollowed out, and 1981 units in all have been pushed onto the threshold.

Scope of the numbers: Parameters are illustrative; all calculations are generated by the book's programs. This is general analysis, not individualised business advice, and the book neither recommends nor supplies misleading threshold copy designed to provoke top-ups.

中文版

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: 1.014, 1981, 20, 24, 25, 2656

countrule A (linear)rule B (quota at 25)
19675675
20706501
21677386
22610218
23667175
2466665
256752656
26644644
27722722
28632632
mass at Q / mass at Q - 1: A 1.014, B 40.862
units pushed to the quota: 1981 of 20000
Show the full program
# Chapter 7. p71: a quota on a counted score invites piling at the quota.
# Abstract model of a rank-for-count rule in the spirit of the Book of
# Lord Shang (illustrative numbers, no historical data): each of 20000
# units has a baseline count S ~ Poisson(m), m ~ Uniform(10, 40). Rule
# A pays a fixed reward per counted unit (a linear schedule). Rule B
# adds a quota Q = 25 for the unit leader's promotion: a unit whose
# baseline lies k = 1 to 5 short of Q makes up the gap with probability
# 0.9 - 0.15 (k - 1). We print the counts around Q under both rules, the
# ratio of mass at Q to mass at Q - 1, and how many units were pushed.
# Seed 20261171 for both rules (same baselines).
import math
import random

Q, N = 25, 20000


def poisson(rng, m):
    # Knuth's product method, adequate for m <= 40
    lim, k, p = math.exp(-m), 0, 1.0
    while True:
        p = p * rng.random()
        if p <= lim:
            return k
        k = k + 1


def counts(quota):
    rng = random.Random(20261171)
    out, pushed = [], 0
    for _ in range(N):
        s = poisson(rng, rng.uniform(10.0, 40.0))
        r = rng.random()
        k = Q - s
        if quota and 1 <= k <= 5 and r < 0.9 - 0.15 * (k - 1):
            s = Q
            pushed = pushed + 1
        out.append(s)
    return out, pushed


if __name__ == "__main__":
    a, _ = counts(False)
    b, pushed = counts(True)
    print("count   rule A (linear)   rule B (quota at {})".format(Q))
    for s in range(Q - 6, Q + 4):
        print("{:5d}   {:15d}   {:19d}".format(
            s, a.count(s), b.count(s)))
    print("mass at Q / mass at Q - 1: A {:.3f}, B {:.3f}".format(
        a.count(Q) / a.count(Q - 1), b.count(Q) / b.count(Q - 1)))
    print("units pushed to the quota: {} of {}".format(pushed, N))

Single source and citation

Fan, Y. (2026). Regression-Discontinuity Designs at Membership-Tier Thresholds: Local Causal Identification on Either Side of a Spend-Based Upgrade Line (Version 1.0.0), Chapter 7: Sources East and West: Rank for Count in the Book of Lord Shang and the Scholarship Discontinuity of 1960. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-303 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026303,
  author    = {Fan, Yafu},
  title     = {Regression-Discontinuity Designs at Membership-Tier Thresholds: Local Causal Identification on Either Side of a Spend-Based Upgrade Line},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book