关于「对数正态收入:从均值与中位数还原整条分布」,《下沉城市定价与套餐锚点》给出的定量结论是什么?
结论:第二章讲对数正态收入,并说明顶端的帕累托尾部会使两参数拟合把高收入人口比例从 0.0351 高估到 0.0463。
数据口径:书中的城市档位、收入、价格水平、成本与需求参数均为示意,不引用任何具体的官方统计数值;全部计算由书中程序生成;本书是非个人化经营建议,书中小工具给出的每一个价格都须由经营者人工放行并先过定价试算器,价格按城市公开标示,锚点只用真实现行价格。 第一章在四档示意城市上量化命题:第四档城市的平均收入是一线的 0.402,余钱在第 95 百分位却是 0.532;它的最优价 508 元是一线的 0.592,按比例打折到 345 元会少赚 0.077,错在定低。
对照数据表
下表数字由本章 Python 程序原样打印,可重新运行复现。 程序只用 Python 标准库与结论吻合的打印值: 0.0351, 0.0463
| alpha | sigma_fit | q | sample | lognormal | fit/sample |
|---|---|---|---|---|---|
| 3.0 | 0.605 | 0.80 | 65697 | 64794 | 0.986 |
| 3.0 | 0.605 | 0.95 | 100302 | 105349 | 1.050 |
| 3.0 | 0.605 | 0.99 | 153833 | 159123 | 1.034 |
| share >= 120,000: sample 0.0259 | lognormal 0.0314 | ||||
| 2.2 | 0.671 | 0.80 | 66300 | 68284 | 1.030 |
| 2.2 | 0.671 | 0.95 | 107244 | 117029 | 1.091 |
| 2.2 | 0.671 | 0.99 | 184296 | 184845 | 1.003 |
| share >= 120,000: sample 0.0351 | lognormal 0.0463 |
查看完整验算程序
# Chapter 2. p22: what a lognormal fit misses when the top is Pareto.
# Illustrative "true" tier: with probability 0.9 a lognormal body
# (median 36,000, sigma 0.55); with probability 0.1 a Pareto tail with
# minimum 60,000 and index ALPHA. 200,000 draws, fixed seed. A lognormal
# is then fitted from the sample mean and median only (as one would from
# a published mean and median), and its upper quantiles are compared
# with the sample's. Parameters are illustrative.
import math
import random
from statistics import NormalDist, median
N01 = NormalDist()
rng = random.Random(20261113)
N = 200000
def draw(alpha):
out = []
for _ in range(N):
if rng.random() < 0.9:
out.append(36000.0 * math.exp(0.55 * rng.gauss(0.0, 1.0)))
else:
out.append(60000.0 * (1.0 - rng.random()) ** (-1.0 / alpha))
out.sort()
return out
print("alpha sigma_fit q sample lognormal fit/sample")
for alpha in (3.0, 2.2):
xs = draw(alpha)
mean = math.fsum(xs) / N
med = median(xs)
s = math.sqrt(2.0 * math.log(mean / med))
for q in (0.80, 0.95, 0.99):
emp = xs[int(q * N)]
fit = med * math.exp(s * N01.inv_cdf(q))
print("%.1f %.3f %.2f %7.0f %7.0f %.3f"
% (alpha, s, q, emp, fit, fit / emp))
above = len([x for x in xs if x >= 120000]) / N
fit_above = 1.0 - N01.cdf(math.log(120000 / med) / s)
print(" share >= 120,000: sample %.4f lognormal %.4f"
% (above, fit_above))唯一数据源与引用
范雅福(Fan, Y.). (2026). 《跨省购买力平价与下沉城市定价、收入分布恩格尔系数校准与多层级城市套餐锚点母典》第 2 章「对数正态收入:从均值与中位数还原整条分布」(版本 1.0.0). 5D Library. DOI 待发布
DOI 待发布 · 专著页正式发布后上线(本站暂无专著页) · 5DL-B-275 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026275,
author = {Fan, Yafu},
title = {Purchasing-Power Parity across Provinces and Pricing for Lower-Tier Cities: Income Distributions, Engel-Coefficient Calibration and Multi-Tier Package Anchors},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}