What does Three-Light Cut Points conclude, in numbers, about “A Six-Cell Loss Matrix: Bayes Risk in Three Zones and Two Cut Points”?
Answer: A guess at 0.50 of the true value, 25.0 yuan, loses an extra 17.5 yuan per hundred conversations, 7.3 % of the optimal loss; a guess at 2.00 times, 100.0 yuan, loses an extra 23.0 yuan, or 9.6 %. A guess off by about a third costs roughly two per cent: 35.0 yuan adds 5.2 yuan and 70.0 yuan adds 5.4 yuan. Only a fourfold error makes the loss substantial: a guess of 12.5 yuan adds 73.4 yuan, or 30.7 %, and a guess of 200.0 yuan adds 89.9 yuan, or 37.6 %.
Scope of the numbers: Private customer service has a third action, a bot draft checked by a person, so it needs a six-cell loss matrix with two cut points; under illustrative parameters red lights below a chance of being right of 0.4000 and green from 0.9500. Parameters are illustrative, all conversations are fictional, and all numbers come from the book's programs, which read and write no file and connect to no customer-service system.
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.50, 100.0, 12.5, 17.5, 2.00, 200.0
| LW_hat | factor | p_lo | p_hi | cost/100 | regret | regret % |
| 12.5 | 0.25 | 0.0000 | 0.8000 | 312.5 | 73.4 | 30.7 |
| 25.0 | 0.50 | 0.0000 | 0.9000 | 256.6 | 17.5 | 7.3 |
| 35.0 | 0.70 | 0.1429 | 0.9286 | 244.3 | 5.2 | 2.2 |
| 50.0 | 1.00 | 0.4000 | 0.9500 | 239.1 | 0.0 | 0.0 |
| 70.0 | 1.40 | 0.5714 | 0.9643 | 244.5 | 5.4 | 2.3 |
| 100.0 | 2.00 | 0.7000 | 0.9750 | 262.1 | 23.0 | 9.6 |
| 200.0 | 4.00 | 0.8500 | 0.9875 | 329.0 | 89.9 | 37.6 |
Show the full program
# Chapter 2. p23: what if the owner misjudges the price of a wrong answer?
# Model (illustrative): the loss matrix of p21 (CA = 2, M = 0.8, CR = 8)
# with a true wrong-answer loss LW = 50. The owner sets both cuts from
# a guess LW_hat; the cost is then scored with the true LW. Regret is
# the extra yuan per 100 chats over the cuts set with the true value.
import math
LW, CA, M, CR = 50.0, 2.0, 0.8, 8.0
MU, SD = 3.0, 1.6
def nodes(n=4001):
zs = [MU + SD * (-8.0 + 16.0 * i / (n - 1)) for i in range(n)]
ws = [math.exp(-0.5 * ((z - MU) / SD) ** 2) for z in zs]
tot = math.fsum(ws)
return [(1.0 / (1.0 + math.exp(-z)), w / tot) for z, w in zip(zs, ws)]
PW = nodes()
def cuts(lw):
p_hi = 1 - CA / (M * lw)
p_lo = max(0.0, 1 - (CR - CA) / ((1 - M) * lw))
return p_lo, p_hi
def true_cost(lw_hat):
lo, hi = cuts(lw_hat)
terms = []
for p, w in PW:
if p >= hi:
r = (1 - p) * LW
elif p >= lo:
r = CA + (1 - p) * (1 - M) * LW
else:
r = CR
terms.append(w * r)
return 100 * math.fsum(terms)
base = true_cost(LW)
print("LW_hat factor p_lo p_hi cost/100 regret regret %")
for lw_hat in (12.5, 25.0, 35.0, 50.0, 70.0, 100.0, 200.0):
lo, hi = cuts(lw_hat)
c = true_cost(lw_hat)
print("%6.1f %6.2f %6.4f %6.4f %8.1f %6.1f %8.1f"
% (lw_hat, lw_hat / LW, lo, hi, c, c - base,
100 * (c - base) / base))Single source and citation
Fan, Y. (2026). Three Lights for Handing Over between Bot and Human in Private Customer Service: Misclassification Loss Matrices, Chow's Reject Rule and Optimal Cut Points on Calibrated Confidence (Version 1.0.0), Chapter 2: A Six-Cell Loss Matrix: Bayes Risk in Three Zones and Two Cut Points. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-266 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026266,
author = {Fan, Yafu},
title = {Three Lights for Handing Over between Bot and Human in Private Customer Service: Misclassification Loss Matrices, Chow's Reject Rule and Optimal Cut Points on Calibrated Confidence},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Blind Spot of Accuracy: Chow's Reject Rule and the Cost Ratio
- Chapter 3 · Cost Curves: Why the More Accurate Bot Can Cost More
- Chapter 4 · Confidence Is Not Probability: Isotonic Calibration and the Price of Few Labels
- Chapter 5 · Big Sales and Drift: Bayesian Correction for Prior Shift and the Sampling Error of Cut Points
- Chapter 6 · Red Lights Beyond Price: Stop Means Stop, Vulnerable Customers Go to Staff, and the Staffing Cap
- Chapter 7 · Setting the Doubtful Aside, and Bayes: Two Classical Texts on Being Unsure
- Chapter 8 · The Monthly Recalculation Loop, the Distilled Tool and a Falsification Plan