What does Critical Fractiles for Pre-Season Buying conclude, in numbers, about “Classical Sources Examined: Bai Gui's "Take What Others Discard" and Cantillon's "Buy at a Certain Price, Sell at an Uncertain One"”?

Answer: Chapter 7 examines Bai Gui's "what others cast off I take up" in the Records of the Grand Historian and Cantillon's account of the undertaker's risk in his Essai; the model shows that when free entry stops, the marginal shop loses money in a season with probability 0.4385.

Scope of the numbers: Its goods, stores and demand parameters are illustrative; all calculations are generated by its programs; the book is not individual business advice. Chapter 1 derives the critical fractile from marginal arithmetic; under illustrative parameters the optimal order equals the mean only at a margin of exactly 0.3750, and ordering the mean for an eight-tenths-margin item loses 6.96 % of expected profit.

中文版

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.4385

shopsq/shopE[profit]/shopsdP(loss)street profit
1730.524815.3141860.059224815.3
2365.310385.970680.096420771.8
3242.95574.447060.149116723.3
4182.23179.835270.209712719.3
5145.61744.028240.28138720.0
6121.5784.623500.36214707.8
7104.4115.920190.4385811.6
891.0-416.717660.5222-3333.4
Show the full program
# Chapter 7. p72: Cantillon's undertakers - free entry of newsvendors.
# A street's season demand D ~ Normal(600, 180). With n shops each gets
# D / n times an idiosyncratic factor with mean 1 and sd 0.25; the
# shop's demand distribution is simulated, not assumed normal.
# Each shop buys its own newsvendor quantity (price 100, cost 40,
# outlet 15, CF 0.7059) and pays a fixed season cost of 4000.
# Expected shop profit and the share of shop-seasons that lose money
# are estimated from 40000 fixed-seed seasons. Values illustrative.
import math
import random
from statistics import NormalDist, fmean, stdev

Z = NormalDist()
P, C, V, F, REPS = 100.0, 40.0, 15.0, 4000.0, 40000
CF = (P - C) / (P - V)

print("shops  q/shop  E[profit]/shop  sd     P(loss)  street profit")
for n in range(1, 9):
    rng = random.Random(20261112 + n)
    draws = []
    for _ in range(REPS):
        d = max(0.0, rng.gauss(600.0, 180.0))
        draws.append(max(0.0, d / n * rng.gauss(1.0, 0.25)))
    mu, sd = fmean(draws), stdev(draws)
    q = mu + sd * Z.inv_cdf(CF)
    prof = [P * min(q, x) + V * (q - min(q, x)) - C * q - F for x in draws]
    ep = math.fsum(prof) / REPS
    loss = len([x for x in prof if x < 0.0]) / REPS
    print("{:5d}  {:6.1f}  {:14.1f}  {:5.0f}  {:.4f}   {:13.1f}".format(
        n, q, ep, stdev(prof), loss, ep * n))

Single source and citation

Fan, Y. (2026). Newsvendor Critical Fractiles for Pre-Season Buying, Dirichlet Size-Curve Priors and Dynamic-Programming End-of-Season Markdowns (Version 1.0.0), Chapter 7: Classical Sources Examined: Bai Gui's "Take What Others Discard" and Cantillon's "Buy at a Certain Price, Sell at an Uncertain One". 5D Library. DOI pending

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

BibTeX
@book{fan2026211,
  author    = {Fan, Yafu},
  title     = {Newsvendor Critical Fractiles for Pre-Season Buying, Dirichlet Size-Curve Priors and Dynamic-Programming End-of-Season Markdowns},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book