What does Ice, Aroma and Blind Tests in Frozen Fatty Pulp conclude, in numbers, about “The Arithmetic of the Triangle Test: Critical Numbers, d′ and Minimum Sample Size”?
Answer: Chapter 5 gives exact critical values for the triangle test and the Thurstonian model: at a sensory distance d′ of one the proportion correct is only 0.4180, and detecting it with eighty per cent power takes 202 assessors.
Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs; the book is not medical or nutritional advice, claims no health benefit for any food, and its pricing formula is not personalised financial or business advice. Marked boxes separate published evidence, runnable Python calculations (21 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: 0.4180, 202
| target | Pc | first n 0.80 | safe n 0.80 | first n 0.90 |
| d' 1.0 | 0.4180 | 202 | 220 | 283 |
| d' 1.5 | 0.5065 | 53 | 57 | 71 |
| d' 2.0 | 0.6048 | 23 | 23 | 30 |
| pd 0.20 | 0.4667 | 87 | 94 | 117 |
| pd 0.30 | 0.5333 | 40 | 42 | 53 |
| saw-tooth at d' 1.5 (Pc 0.5065): | ||||
| n60 0.842 n61 0.870 n62 0.839 n63 0.867 n64 0.836 n65 0.864 | ||||
Show the full program
# Chapter 5. p53: exact power and minimum sample size of the triangle
# test, and the saw-tooth that makes "the smallest n" ambiguous.
# Test: reject when X >= x_c(n), alpha = 0.05 (as in p51 and ISO 4120).
# Power at a true Pc from the Thurstonian model (p52) or from the
# guessing model Pc = 1/3 + 2/3 pd. "first n" is the smallest n with
# power >= target; "safe n" the smallest n from which power never drops
# below the target again (checked up to n = 700).
import math
ALPHA, NMAX = 0.05, 700
def pmf_from(n, x, p):
"""binomial probabilities for k from x up to n"""
out = [math.comb(n, x) * p ** x * (1.0 - p) ** (n - x)]
for k in range(x, n):
out.append(out[-1] * (n - k) / (k + 1) * p / (1.0 - p))
return out
CRIT = {}
for n in range(3, NMAX + 1):
probs = pmf_from(n, 0, 1.0 / 3.0)
acc, x = 0.0, n + 1
while x > 0 and acc + probs[x - 1] <= ALPHA:
acc += probs[x - 1]
x -= 1
CRIT[n] = x
def power(n, pc):
return math.fsum(pmf_from(n, CRIT[n], pc))
CACHE = {}
def sizes(pc, target):
if pc not in CACHE:
CACHE[pc] = {n: power(n, pc) for n in range(3, NMAX + 1)}
pw = CACHE[pc]
first = min(n for n in pw if pw[n] >= target)
safe = NMAX
while safe > 3 and pw[safe - 1] >= target:
safe -= 1
return first, safe
CASES = (("d' 1.0", 0.4180), ("d' 1.5", 0.5065), ("d' 2.0", 0.6048),
("pd 0.20", 1 / 3 + 2 / 3 * 0.20), ("pd 0.30", 1 / 3 + 0.2))
print("target Pc first n 0.80 safe n 0.80 first n 0.90")
for name, pc in CASES:
f8, s8 = sizes(pc, 0.80)
f9, _ = sizes(pc, 0.90)
print("{:8s} {:6.4f} {:10d} {:10d} {:11d}"
.format(name, pc, f8, s8, f9))
print("saw-tooth at d' 1.5 (Pc 0.5065):")
print(" " + " ".join("n{} {:.3f}".format(n, power(n, 0.5065))
for n in range(60, 66)))Single source and citation
Fan, Y. (2026). Ostwald Ripening in Liquid-Nitrogen-Frozen High-Fat Fruit Pulp, Volatile Thiol Release Kinetics and Triangle-Test Sensory Statistics (Version 1.0.0), Chapter 5: The Arithmetic of the Triangle Test: Critical Numbers, d′ and Minimum Sample Size. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-169 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026169,
author = {Fan, Yafu},
title = {Ostwald Ripening in Liquid-Nitrogen-Frozen High-Fat Fruit Pulp, Volatile Thiol Release Kinetics and Triangle-Test Sensory Statistics},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Supercooling and Nucleation: Why Liquid-Nitrogen Immersion Makes Small Ice Crystals
- Chapter 2 · Ostwald Ripening: How the Cube Law Erases the Head Start of Fast Freezing
- Chapter 3 · Cold-Chain Breaks and the Glassy State: Arrhenius Amplification and the Standstill below Tg′
- Chapter 4 · Where the Thiols Go: Henry Partitioning, Fat Retention and First-Order Release on Thawing
- Chapter 6 · Designing Blind Tests of Frozen against Fresh: Replication, Position Bias and the Burden of Proof for "Tastes the Same"
- Chapter 7 · Reading the Sources: Ji Han's Nanfang Caomu Zhuang, Bai Juyi's Preface to a Lychee Painting and Bacon's Snow-Stuffed Hen
- Chapter 8 · Practice and Falsification: a Pricing Calculator, a Buyer's Checklist and a Pre-Registered Protocol