关于「预算题的项目反应模型:五个阶梯答案能把预算锁多紧」,《最少题数的信息论》给出的定量结论是什么?

结论:五个阶梯答案给出的是一个后验分布,而不是一个数。三个「是」两个「否」时,期望估计 3,733,区间从 2,214 到 6,313,后验标准差已接近贝叶斯信息下界;落在阶梯两端的客户,区间要宽得多。价格阶梯是天然的题组,共享偏移让真实误差高出报告值,标准差为 1.2 时高出 1.857 倍,覆盖率跌破一半,而系统自己毫无察觉。下一章讨论另一条路:不再固定问哪五档,而是让每一道题的价格跟着前面的回答移动。

数据口径:书中的价格、预算、题库与判别力参数均为示意;全部计算由书中程序生成;本书是非个人化经营建议;涉及出生时刻的部分只讨论估计理论与问卷设计,不评价任何体系的预测效度,本书不做任何个人占断。 第四章的模拟中,自适应五题的误差 0.3866 优于固定八题的 0.3969,按精度停止平均只需 4.33 题;信道容量给出任何问法都绕不过的题数下界。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 2214, 3733, 6313

yes EAP post SD bound SD80% interval (money units)
0907 0.5005 0.4898 473 to 1,686
11,562 0.4390 0.4299 889 to 2,704
22,450 0.4137 0.4048 1,437 to 4,131
33,733 0.4108 0.4015 2,214 to 6,313
45,789 0.4319 0.4184 3,356 to 10,121
59,805 0.4949 0.4834 5,337 to 18,739
prior 80% interval1,076 to 8,364
查看完整验算程序
# Chapter 3. p31: what five ladder answers tell you - grid posterior
# (EAP) of the budget for each monotone answer pattern. Exact grid.
# 先验:ln 预算 ~ N(ln 3000, 0.8^2)(示意)。题目同 p12,a = 2.5。
# 网格 801 点,后验均值 EAP、后验标准差,与贝叶斯信息下界
# 1 / sqrt(先验信息 + 测验信息) 对比;80% 区间换回货币单位。
import math
from statistics import NormalDist

A, MU, SD = 2.5, math.log(3000), 0.8
LADDER = (1000, 2000, 3000, 5000, 8000)
GRID = [MU - 4 * SD + 8 * SD * i / 800 for i in range(801)]
PRIOR = [NormalDist(MU, SD).pdf(t) for t in GRID]


def p_yes(theta, price):
    return 1.0 / (1.0 + math.exp(-A * (theta - math.log(price))))


def posterior(answers):
    w = []
    for t, pr in zip(GRID, PRIOR):
        lik = pr
        for x, y in zip(LADDER, answers):
            p = p_yes(t, x)
            lik *= p if y else 1.0 - p
        w.append(lik)
    z = math.fsum(w)
    return [v / z for v in w]


def quantile(post, q):
    for i, t in enumerate(GRID):
        if math.fsum(post[:i + 1]) >= q:
            return t
    return GRID[-1]


def money(x):
    return "{:,}".format(int(round(x)))


print("yes  EAP    post SD  bound SD  80% interval (money units)")
for k in range(6):
    ans = [1] * k + [0] * (5 - k)
    post = posterior(ans)
    m = math.fsum(t * v for t, v in zip(GRID, post))
    sd = math.sqrt(math.fsum((t - m) ** 2 * v for t, v in zip(GRID, post)))
    tif = math.fsum(A * A * p_yes(m, x) * (1 - p_yes(m, x))
                    for x in LADDER)
    bound = 1.0 / math.sqrt(1.0 / SD ** 2 + tif)
    lo, hi = math.exp(quantile(post, 0.1)), math.exp(quantile(post, 0.9))
    print("%d    %-6s %.4f   %.4f    %6s to %6s"
          % (k, money(math.exp(m)), sd, bound, money(lo), money(hi)))
print("prior 80%% interval: %s to %s"
      % (money(math.exp(MU - 1.2816 * SD)),
         money(math.exp(MU + 1.2816 * SD))))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《费希尔信息矩阵、克拉美罗方差下界与预算及出生时刻探询最少题数母典》第 3 章「预算题的项目反应模型:五个阶梯答案能把预算锁多紧」(版本 1.0.0). 5D Library. DOI 待发布

DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-235 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026235,
  author    = {Fan, Yafu},
  title     = {Fisher Information Matrices and the Cramér-Rao Bound: the Fewest Questions Needed to Estimate a Budget or a Birth Time},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论