关于「实践:一家买手店的一年与一份检验方案」,《买手定价、费率阶跃与配件加购》给出的定量结论是什么?

结论:第八章把这些合成一年的经营与一份检验方案。书中以标注框区分已发表的证据、可运行的 Python 计算(16 段程序)、原典与作者的假说。

数据口径:书中的客户、价格、抽成、运费、退税率与汇率波动率均为示意模型;全部计算由书中程序生成;本书不是财务、税务、海关、法律或投资建议,不描述任何特定金流服务的条款。 第八章把这些合成一年的经营与一份检验方案。

English version

对照数据表

下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库

policynet/monthsdin zone
naive, no drawer8581713288896
envelope, no drawer8602113266696
envelope, drawer 0.25 x 18921753388496
envelope, drawer 0.45 x 29752823705196
envelope gain over naive: 2040 a month
drawer 0.45 x 2 over naive, no drawer: 0.1365
mean monthly sd: 34122
查看完整验算程序
# Chapter 8. p15: One year of a buyer shop, month by month. Each month
# 300 bags are sold, drawn from the catalogue of p02 (400 bags, median
# cost 9800, yen moving 0.6% a day) and priced that morning by the
# naive rule or by the envelope of p01. A checkout drawer adds
# accessories at 7% of the bag price (net 0.425 of their price): one
# item at attach 0.25, or two items at attach 0.45. Twelve months; we
# print the mean monthly net and its spread. Seed 110.
import math
import random

T, M, G, S1, S2 = 13000.0, 0.20, 0.028, 350.0, 560.0
C1, C2 = T * (1 - G - M) - S1, T * (1 - M) - S2

def quote(c, env):
    p1 = (c + S1) / (1 - G - M)
    if p1 < T:
        return p1
    if env and c <= C2:
        return T
    return (c + S2) / (1 - M)

def net(p, c):
    if p < T:
        return p * (1 - G) - c - S1
    return p - c - S2

def year(env, attach, items, seed):
    rng = random.Random(seed)
    base = [rng.lognormvariate(math.log(9800.0), 0.35) for _ in range(400)]
    fx, months, dz = 1.0, [], 0
    for _ in range(12):
        tot = []
        for _ in range(30):
            fx *= math.exp(rng.gauss(0.0, 0.006))
            for _ in range(10):
                c = rng.choice(base) * fx
                p = quote(c, env)
                dz += C1 <= c <= C2
                tot.append(net(p, c))
                tot.append(attach * items * 0.07 * p * 0.425)
        months.append(math.fsum(tot))
    mean = math.fsum(months) / 12
    sd = math.sqrt(math.fsum((x - mean) ** 2 for x in months) / 11)
    return mean, sd, dz

if __name__ == "__main__":
    res = []
    print("     {:25s}  {:>9s}  {:>6s}  {:>8s}".format(
        "policy", "net/month", "sd", "in zone"))
    for name, env, a, k in (("naive, no drawer", False, 0.0, 0),
                            ("envelope, no drawer", True, 0.0, 0),
                            ("envelope, drawer 0.25 x 1", True, 0.25, 1),
                            ("envelope, drawer 0.45 x 2", True, 0.45, 2)):
        m, s, dz = year(env, a, k, 110)
        res.append((m, s))
        print("     {:25s}  {:9.0f}  {:6.0f}  {:8d}".format(name, m, s, dz))
    print("   envelope gain over naive: {:.0f} a month".format(
        res[1][0] - res[0][0]))
    print("   drawer 0.45 x 2 over naive, no drawer: {:.4f}".format(
        res[3][0] / res[0][0] - 1))
    print("   mean monthly sd: {:.0f}".format(
        math.fsum(x[1] for x in res) / len(res)))

唯一数据源与引用

范雅福(Fan, Y.). (2026). 《跨境买手动态定价、阶跃费率支付路由与配件连带加购经济学》第 8 章「实践:一家买手店的一年与一份检验方案」(版本 1.0.0). 5D Library. DOI 待发布

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

BibTeX
@book{fan2026110,
  author    = {Fan, Yafu},
  title     = {Cross-Border Buyer Dynamic Pricing, Fee-Threshold Payment Routing and Accessory Attach Economics},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

本书其他章节结论