What does Compliant Referral Commissions conclude, in numbers, about “Closing the Loop: a Compliance Review Sheet, the Commission Slope Calculator and Pre-Registered Tests”?
Answer: Chapter 8 gives the compliance review sheet, the Commission Slope Calculator and pre-registered tests needing 284 to 1135 sellers per group. Marked boxes separate published evidence, runnable Python calculations (17 programs), classical sources and the author's hypotheses.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; the book is not individual legal, tax or financial advice, and regulations are given only in gist, subject to human review of the text in force before publication. Marked boxes separate published evidence, runnable Python calculations (17 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: 1135, 284
| z values: 1.9600 and 0.8416 | ||
| test 1: sellers per group for a change in real margin | ||
| sd | effect | n per group |
| 8.5 | 1.0 | 1135 |
| 8.5 | 1.5 | 505 |
| 8.5 | 2.0 | 284 |
| test 2: referrals per arm for fake share at order vs after window | ||
| p1 | p2 | n per arm |
| 0.05 | 0.02 | 588 |
| 0.05 | 0.03 | 1506 |
Show the full program
# Chapter 8. p82: sample sizes for the pre-registered tests.
# Test 1 (means): sellers whose plan drops an override (b2 -> 0) for
# compliance against comparable sellers whose plan does not change;
# outcome is the change in monthly real end-consumer margin; sd of the
# change 8.5 thousand yuan (about 6 * sqrt 2); smallest effect worth
# finding 1.0, 1.5 or 2.0. Test 2 (proportions): share of fake
# referrals when the bonus is paid at order (0.05) against after the
# return window (0.02 or 0.03). Two-sided alpha 0.05, power 0.8.
# Values are planning assumptions, not data.
import math
from statistics import NormalDist
Z = NormalDist()
ZA, ZB = Z.inv_cdf(0.975), Z.inv_cdf(0.80)
print("z values: {:.4f} and {:.4f}".format(ZA, ZB))
print("test 1: sellers per group for a change in real margin")
print(" sd effect n per group")
for d in (1.0, 1.5, 2.0):
n = 2.0 * (ZA + ZB) ** 2 * 8.5 ** 2 / d ** 2
print("{:4.1f} {:7.1f} {:12d}".format(8.5, d, math.ceil(n)))
print("test 2: referrals per arm for fake share at order vs after window")
print(" p1 p2 n per arm")
for p1, p2 in ((0.05, 0.02), (0.05, 0.03)):
pb = (p1 + p2) / 2.0
num = (ZA * math.sqrt(2.0 * pb * (1.0 - pb))
+ ZB * math.sqrt(p1 * (1.0 - p1) + p2 * (1.0 - p2))) ** 2
print("{:5.2f} {:5.2f} {:10d}".format(p1, p2,
math.ceil(num / (p1 - p2) ** 2)))Single source and citation
Fan, Y. (2026). Incentive-Compatible Compliant Referral Programmes: Commission Slopes in a Principal-Agent Model, a Second-Tier Slope of Zero and Maximal Referrals within Anti-Pyramid Limits (Version 1.0.0), Chapter 8: Closing the Loop: a Compliance Review Sheet, the Commission Slope Calculator and Pre-Registered Tests. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-279 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026279,
author = {Fan, Yafu},
title = {Incentive-Compatible Compliant Referral Programmes: Commission Slopes in a Principal-Agent Model, a Second-Tier Slope of Zero and Maximal Referrals within Anti-Pyramid Limits},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Linear Contracts: Cost, Risk and Noise Set the Optimal Commission Slope
- Chapter 2 · Multitasking: a Second-Tier Slope Pushes Effort from Selling to Recruiting
- Chapter 3 · Referral Trees: Expected Size in a Branching Process and Saturation in a Finite Market
- Chapter 4 · Maximising Referrals: a Bonus Paid Once, Only for a Real Purchase
- Chapter 5 · The Compliance Boundary: Constrained Optimisation and a Screen for Commission Plans
- Chapter 6 · Estimating the Parameters and a Robust Slope: When Unsure, Err Low
- Chapter 7 · Classical Sources: the Two Handles of the Han Feizi and Mackay's Crowds