What does Diamond Magic Sizes and the Lab-Grown Slide conclude, in numbers, about “Closing the Loop: a Jewellery Quoting Tool, Twin-Track Copy and a Pre-Registered Test”?
Answer: Chapter 8 offers a jewellery quoting tool, twin-track copy rules and a pre-registered test plan whose shop trial needs 356 customers per arm. Marked boxes separate published evidence, the author's hypotheses and classical sources, and the book contains 20 programs.
Scope of the numbers: Chapter 3 uses a model of the cutter to show how a step leaves a hole and a pile in the weight distribution, with 0.650 of the 1.00 ct class pushed up in the illustrative model, and compares left-digit attention with focal-size conformity. Marked boxes separate published evidence, the author's hypotheses and classical sources, and the book contains 20 programs.
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: 356
(a) customers per arm for 0.30 vs 0.40: 356
(b) stones per side for a 5 % step: 95
(c) monthly observations to detect -0.05 a year: 33
span 2.8 years, slope se 0.0176
refutation thresholds, fixed before data:
step at 1.00 below 0.02 with upper 95% bound below 0.05
lab-grown log-price slope above -0.05 a year over 3 yearsShow the full program
# Chapter 8. p82: Sample sizes for the pre-registered tests.
# (a) Shop A/B test: share of customers who accept the 0.9x offer,
# 0.30 (control: the list leads with 1.00 ct) vs 0.40 (treatment).
# (b) Magic-size step: n stones per side to detect a 5 % step with
# residual sd 0.12 (p23), alpha 0.05 two-sided, power 0.80.
# (c) Lab-grown price trend: how many monthly price observations (same
# specification) give a slope standard error small enough to tell
# a decline of 0.05 a year in log price from zero, residual sd
# 0.08 a month. All rates are illustrative design targets.
import math
from statistics import NormalDist
Z = NormalDist()
za, zb = Z.inv_cdf(0.975), Z.inv_cdf(0.80)
p0, p1 = 0.30, 0.40
pb = (p0 + p1) / 2.0
n_ab = ((za * math.sqrt(2 * pb * (1 - pb))
+ zb * math.sqrt(p0 * (1 - p0) + p1 * (1 - p1))) ** 2
/ (p1 - p0) ** 2)
print("(a) customers per arm for 0.30 vs 0.40: {}".format(math.ceil(n_ab)))
d, s = math.log(1.05), 0.12
print("(b) stones per side for a 5 % step: {}".format(
math.ceil(2 * (za + zb) ** 2 * s * s / (d * d))))
target = 0.05
for m in range(6, 200):
ts = [i / 12.0 for i in range(m)]
tb = math.fsum(ts) / m
sxx = math.fsum((t - tb) ** 2 for t in ts)
se = 0.08 / math.sqrt(sxx)
if target / se >= za + zb:
print("(c) monthly observations to detect -0.05 a year: {}"
.format(m))
print(" span {:.1f} years, slope se {:.4f}".format(m / 12.0, se))
break
print("refutation thresholds, fixed before data:")
print(" step at 1.00 below 0.02 with upper 95% bound below 0.05")
print(" lab-grown log-price slope above -0.05 a year over 3 years")Single source and citation
Fan, Y. (2026). Diamond Magic-Size Price Jumps, the Lab-Grown Learning-Curve Slide and Supply-Cartel Signalling (Version 1.0.0), Chapter 8: Closing the Loop: a Jewellery Quoting Tool, Twin-Track Copy and a Pre-Registered Test. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-209 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026209,
author = {Fan, Yafu},
title = {Diamond Magic-Size Price Jumps, the Lab-Grown Learning-Curve Slide and Supply-Cartel Signalling},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Magic Sizes: an Invisible Hundredth of a Carat and a Price Step
- Chapter 2 · Piecewise Power Laws and Breakpoint Scans: Finding the Steps in a Price List
- Chapter 3 · The Cutter's Arithmetic: Bunching, Holes and Left-Digit Attention
- Chapter 4 · The Lab-Grown Learning Curve: How Fast Prices Fall and Where the Floor Is
- Chapter 5 · The Value Ledger: Consumer Good or Asset?
- Chapter 6 · Cartels, Cournot and Noisy Price Signals
- Chapter 7 · Sources East and West: Cao Zhao's Gegu yaolun and Tavernier's Six Voyages