What does Choice Architecture and Pricing Interfaces conclude, in numbers, about “Reading the Classics: Weight and Lightness in the *Guanzi* and the Policies of Jiran”?
Answer: With no persistence in harvest shocks (\(\rho = 0\)), without a granary the mean price is 54.0 with standard deviation 22.8, and of 4,000 years 399 fall below 30 and 490 rise above 80; the granary brings the years above 80 down to 0 and those below 30 to 168 (its storage cap stops it absorbing all of a glut), lowers the price standard deviation to 16.9, and makes a cumulative profit of 1,744.2 — buying low and selling high is itself "the ruler gains the profit". With persistent shocks (\(\rho = 0.5\)), runs of bad harvests exhaust the stock, and in 38 years the price breaks through 80, exactly the 38 years in which the stock ran out: the credibility of a band policy rests on stocks, not just on ordinances.
Scope of the numbers: Marked boxes separate published evidence, runnable Python calculations (16 programs), classical sources and the author's models and hypotheses; all data in the book are fictional or simulated.
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: 0.5, 16.9, 168, 1744.2, 22.8, 30
| harvest persistence rho | 0.0 |
| no granary : mean price | 54.0, sd 22.8, years < 30: 399, > 80: 490 of 4000 |
| granary 30-80 : mean price | 52.0, sd 16.9, years < 30: 168, > 80: 0 of 4000 |
| granary net cash +1744.2, years it ran out while price > 80 | 0 |
| harvest persistence rho | 0.5 |
| no granary : mean price | 55.2, sd 26.7, years < 30: 553, > 80: 611 of 4000 |
| granary 30-80 : mean price | 52.4, sd 19.3, years < 30: 296, > 80: 38 of 4000 |
| granary net cash +2408.7, years it ran out while price > 80 | 38 |
| 'dear at the top turns cheap': mean change next year when this year is in the top | |
| decile of prices (no granary) | |
| rho 0.0 | -48.3 (top-decile price >= 83.9) |
| rho 0.5 | -33.2 (top-decile price >= 90.3) |
| rho 0.9 | -26.1 (top-decile price >= 155.4) |
| random walk in z (2,000 paths of 40 years): mean log change after p > | 120: |
| +0.004 (21,968 cases) |
Show the full program
# THE AUTHOR'S MODEL, an arithmetic reading of two classical passages (an analogy only).
# Guanzi "Guo xu": goods that are plentiful are cheap, scarce dear; dispersed light,
# concentrated heavy. Shiji "Huozhi liezhuan", Jiran: grain at 20 hurts farmers, at 90
# hurts traders; keep it between 30 and 80. A fictitious grain market: harvest
# H_t = exp(z_t), z_t = rho z_{t-1} + 0.2 e_t; inverse demand p = 50 * Q^(-2) (price
# elasticity 0.5). A granary buys at the floor 30 and sells at the ceiling 80 while its
# stock lasts; quantities that reach the market are Q = H - purchases + sales.
import math, random, statistics
def market(rho, years=4000, band=True, cap=1.5, seed=73):
rng = random.Random(seed); z, stock, cash, prices, out = 0.0, 0.5, 0.0, [], 0
for _ in range(years):
z = rho * z + 0.2 * rng.gauss(0, 1); H = math.exp(z); Q = H
p = 50 * Q ** -2
if band and p < 30: # buy until p = 30
buy = min(H - math.sqrt(50 / 30), cap - stock)
stock += buy; Q = H - buy; cash -= buy * 50 * Q ** -2
elif band and p > 80: # sell until p = 80
sell = min(math.sqrt(50 / 80) - H, stock)
stock -= sell; Q = H + sell; cash += sell * 50 * Q ** -2
out += Q < math.sqrt(50 / 80) - 1e-12
prices.append(50 * Q ** -2)
return prices, cash, out
for rho in (0.0, 0.5):
print(f"harvest persistence rho = {rho}")
for lab, band in (("no granary", False), ("granary 30-80", True)):
P, cash, out = market(rho, band=band)
lo, hi = sum(p < 29.999 for p in P), sum(p > 80.001 for p in P)
print(f" {lab:14s}: mean price {statistics.fmean(P):5.1f},"
f" sd {statistics.stdev(P):5.1f},"
f" years < 30: {lo:4d}, > 80: {hi:4d} of {len(P)}")
if band:
print(f" {'':14s} granary net cash {cash:+.1f}, years it ran out while"
f" price > 80: {out}")
print("'dear at the top turns cheap': mean change next year when this year is in the top")
print(" decile of prices (no granary)")
for rho in (0.0, 0.5, 0.9):
P = market(rho, band=False)[0]
cut = sorted(P)[int(0.9 * len(P))]
d = [P[t + 1] - P[t] for t in range(len(P) - 1) if P[t] >= cut]
print(f" rho {rho}: {statistics.fmean(d):+6.1f} (top-decile price >= {cut:.1f})")
rng = random.Random(1); dd = []
for _ in range(2000): # a random walk: no reversion
z = [0.0]
for _ in range(40):
z.append(z[-1] + 0.2 * rng.gauss(0, 1))
p = [50 * math.exp(-2 * x) for x in z]
dd += [math.log(p[t + 1] / p[t]) for t in range(40) if p[t] >= 120]
print(" random walk in z (2,000 paths of 40 years): mean log change after p >= 120:")
print(f" {statistics.fmean(dd):+.3f} ({len(dd):,} cases)")Single source and citation
Fan, Y. (2026). Choice Architecture, Cumulative Prospect Theory and Computational Behavioural Economics of Pricing Interfaces (Version 1.0.0), Chapter 7: Reading the Classics: Weight and Lightness in the *Guanzi* and the Policies of Jiran. 5D Library. https://doi.org/10.5281/zenodo.23836260
DOI: 10.5281/zenodo.23836260 · Read the monograph · 5DL-B-047 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026047,
author = {Fan, Yafu},
title = {Choice Architecture, Cumulative Prospect Theory and Computational Behavioural Economics of Pricing Interfaces},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
doi = {10.5281/zenodo.23836260},
url = {https://doi.org/10.5281/zenodo.23836260}
}Other chapter answers in this book
- Chapter 1 · How Many Options: Choice Overload and the Size of Nudge Effects
- Chapter 2 · Struck-Through and Reference Prices: Transaction Utility, Credibility and Price-Indication Rules
- Chapter 3 · Cumulative Prospect Theory: Value Functions, Probability Weights and Rank Dependence
- Chapter 4 · Loss Aversion and Framing: From Individual Choice to a "Conversion Gap"
- Chapter 5 · Decoys and Compromises: Regularity in Discrete-Choice Models and Its Violation
- Chapter 6 · Time: Quasi-Hyperbolic Discounting, Procrastination and the Friction of Forms
- Chapter 8 · Practice and Pre-Registered Testing