What does First-Move Probes and Hidden Market Truth conclude, in numbers, about “Expected Information Gain: Put the Probe Where It Teaches the Most”?
Answer: Chapter 3 compares probe prices by Lindley information: the most informative price is 45, the most lucrative 35.
Scope of the numbers: Parameters are illustrative, calculations come from the book's programs, and all data are synthetic. This is general business analysis, not personalised legal, tax or investment advice; it promises no income.
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: 35, 45
| prior entropy 3.462 bits, prior mean theta 46.02 | ||
| price | EIG n=40 (bits) | revenue per visitor |
| 15 | 0.801 | 14.54 |
| 20 | 1.128 | 18.78 |
| 25 | 1.468 | 22.22 |
| 30 | 1.783 | 24.47 |
| 35 | 2.035 | 25.26 |
| 40 | 2.196 | 24.55 |
| 45 | 2.253 | 22.57 |
| 50 | 2.207 | 19.68 |
| 55 | 2.072 | 16.34 |
| 60 | 1.868 | 12.91 |
| 65 | 1.619 | 9.68 |
| 70 | 1.350 | 6.85 |
| 75 | 1.080 | 4.50 |
| 80 | 0.826 | 2.72 |
| 85 | 0.600 | 1.49 |
| best probe price 45 with 2.253 bits | ||
| n = | 10: EIG at 45 = 1.419 bits | |
| n = | 40: EIG at 45 = 2.253 bits | |
| n = 160: EIG at 45 = 3.024 bits |
Show the full program
# Chapter 3. p31: expected information gain of a probe price (Lindley).
# Illustrative. The unknown is the median willingness to pay theta of a
# segment, on a grid from 20 to 80 units in steps of 5, with a prior near
# 40 (log-normal shape, spread 0.35). A visitor shown price p buys
# with chance 1 / (1 + exp((p - theta) / 6)). A probe shows one real,
# purchasable price to n visitors and counts buyers k ~ Binomial(n, .).
# EIG(p) = mutual information between theta and k, in bits.
import math
THETAS = list(range(20, 81, 5))
S = 6.0
def prior():
w = [math.exp(-(math.log(t) - math.log(40.0)) ** 2 / (2 * 0.35 ** 2))
for t in THETAS]
tot = math.fsum(w)
return [x / tot for x in w]
def p_buy(p, t):
return 1.0 / (1.0 + math.exp((p - t) / S))
def eig(pri, p, n):
like = []
for t in THETAS:
q = p_buy(p, t)
like.append([math.comb(n, k) * q ** k * (1 - q) ** (n - k)
for k in range(n + 1)])
marg = [math.fsum(pri[i] * like[i][k] for i in range(len(THETAS)))
for k in range(n + 1)]
terms = []
for i in range(len(THETAS)):
for k in range(n + 1):
if like[i][k] > 0 and marg[k] > 0:
terms.append(pri[i] * like[i][k]
* math.log2(like[i][k] / marg[k]))
return math.fsum(terms)
def entropy(pr):
return -math.fsum(x * math.log2(x) for x in pr if x > 0)
if __name__ == "__main__":
pri = prior()
mean = math.fsum(t * w for t, w in zip(THETAS, pri))
print("prior entropy {:.3f} bits, prior mean theta {:.2f}".format(
entropy(pri), mean))
print(" price EIG n=40 (bits) revenue per visitor")
best = None
for p in range(15, 86, 5):
g = eig(pri, p, 40)
rev = p * math.fsum(w * p_buy(p, t) for t, w in zip(THETAS, pri))
print(" {:>3} {:.3f} {:>6.2f}".format(p, g, rev))
if best is None or g > best[1]:
best = (p, g)
print("best probe price {} with {:.3f} bits".format(*best))
for n in (10, 40, 160):
print(" n = {:>3}: EIG at {} = {:.3f} bits".format(
n, best[0], eig(pri, best[0], n)))Single source and citation
Fan, Y. (2026). High-Agency Active Inference, Intentional Perturbation Probes and Hidden Market-Truth Exploration (Version 1.0.0), Chapter 3: Expected Information Gain: Put the Probe Where It Teaches the Most. 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-395 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026395,
author = {Fan, Yafu},
title = {High-Agency Active Inference, Intentional Perturbation Probes and Hidden Market-Truth Exploration},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · The Bias Floor of Confounding: Why a Longer Passive Log Is Wrong with More Confidence
- Chapter 2 · Identifiability: What the Back Door, the Instrument and the Published Threshold Each Require
- Chapter 4 · Exploration and Exploitation: The Regret Ledger of Thompson Sampling and Fixed Habits
- Chapter 5 · Commitment Strength Made Operational: Probes per Week, Delay to the First Probe and the Stopping Rule
- Chapter 6 · Bringing Willingness to Pay into View, and a Counterpart's Floor: BDM, Hypothetical Bias and Inference from Public Information
- Chapter 7 · The Classics Examined: Lu You, Wang Yangming, Bacon and Bernard on Doing and on Provoked Observation
- Chapter 8 · Field Tools and Checker Specifications: The First-Move Probe Ledger, Pre-Registered Tests and the Plan for Refutation