edgepedia

物质世界与数学 / 数学与统计学 / 统计学与概率论 / Statistical inference, estimation, sampling, and testing / Estimation theory and estimator families / Estimation: overview

综合 · Edgepedia阅读需 8 分钟

收缩估计

阅读英文原文

收缩估计是一种统计技术,它有意将估计值——例如均值向量或一组回归系数——偏向零或另一目标值,以降低方差并减小整体均方误差。最典型的结果是詹姆斯-斯坦因估计量(James–Stein estimator),对于三个或更多正态均值,它在每个真实参数值下的期望总平方误差都小于样本均值。1 这一发现被称为斯坦因悖论(Stein's paradox),它推翻了正态均值的最大似然估计量(MLE)无法被改进的预期,并开启了一类方法,如今包括岭回归、套索(Lasso)和经验贝叶斯估计。2

关键事实值
詹姆斯-斯坦因估计量(单位方差)δJS(X)=(1−(p−2)/∥X∥2)⋅X \delta_{\mathrm{JS}}(X) = (1 - (p-2)/\|X\|^{2}) \cdot X ,在 p≥3 p \geq 3 时优于最大似然估计量1
詹姆斯-斯坦因估计量的风险p−E[(p−2)2/(X⋅X)]<p p - \mathrm{E}[(p-2)^{2}/(X \cdot X)] < p 1
收缩目标处的风险比相对于最大似然估计量为 p/2 p/2 ;原点处的均方误差无论维数如何均为23 • 4
总均值目标将 p−2 p-2 替换为 p−3 p-3 ;优势要求 p≥4 p \geq 4 3
岭估计量β^=(X′X+λI)−1X′y \hat{\beta} = (X'X + \lambda I)^{-1}X'y 5
套索在 ∑∣βj∣ \sum \lvert \beta_j \rvert 小于某常数的约束下最小化残差平方和,将某些系数精确设为06
棒球例子(Efron与Morris)1970年18名球员,每人45次击球;均方误差不到样本均值的一半;每个估计值向均值收缩了78%7 • 8

工作原理

在正态均值问题中,观测到 X∼N(θ,Ip) X \sim N(\theta, I_{p}) 并估计向量 θ \theta 。最大似然估计量就是 X X 本身,它是最小方差无偏估计量,然而斯坦因在1956年证明,在高维情况下,在平方误差损失下它是不可容许的(统计意义上的:另一个估计量处处优于它)。9 詹姆斯-斯坦因估计量将每个分量替换为收缩后的版本,

δJS(X)=(1−p−2∥X∥2)⋅X, \delta_{\mathrm{JS}}(X) = \left(1 - \frac{p-2}{\|X\|^{2}}\right) \cdot X,

以较小的偏差换取更大的方差缩减。其风险可由斯坦因恒等式 E[g(X)(X−μ)]=σ2⋅E[g′(X)] \mathrm{E}[g(X)(X - \mu)] = \sigma^{2} \cdot \mathrm{E}[g'(X)] 推出,得到 E∥δJS−θ∥2=p−E[(p−2)2/(X⋅X)]<p \mathrm{E}\|\delta_{\mathrm{JS}} - \theta\|^{2} = p - \mathrm{E}[(p-2)^{2}/(X \cdot X)] < p 。1 偏差-方差权衡在向目标 μ0 \mu_{0} 的线性收缩 c⋅μ^ c\cdot\hat{\mu} 中清晰可见:其均方误差为 (c−1)2∑(μi−μ0)2+k⋅c2 (c-1)^{2}\sum(\mu_{i} - \mu_{0})^{2} + k \cdot c^{2} ,且在 c=1 c = 1 处导数为正,因此略微减小 c 即可降低均方误差。10 • 4 理想的固定收缩因子为 ζ∗(θ)=d/(d+∥θ∥2) \zeta^{*}(\theta) = d/(d + \|\theta\|^{2}) ,它依赖于未知的 ∥θ∥2 \|\theta\|^{2} ;詹姆斯-斯坦因估计量从数据中估计该因子,与理想(神谕)线性收缩的风险之差不超过加性常数2。4 • 11 使用 p−2 p-2 而非 p p 的修正,是为了考虑估计量与收缩比例之间的抽样误差相关性。12

斯坦因无偏风险估计(SURE)无需新数据即可评估估计量 θ^=Y+g(Y) \hat{\theta} = Y + g(Y) :E∥Y+g(Y)−θ∥2=E[d+2∇⋅g(Y)+∥g(Y)∥2] \mathrm{E}\|Y + g(Y) - \theta\|^{2} = \mathrm{E}[d + 2\nabla \cdot g(Y) + \|g(Y)\|^{2}] 11,或者,对于 δ(X)=X−h(X) \delta(X) = X - h(X) ,有 MSE^(X)=σ2⋅d+∥h(X)∥2−2σ2 tr(Dh(X)) \hat{\mathrm{MSE}}(X) = \sigma^{2} \cdot d + \|h(X)\|^{2} - 2\sigma^{2}\,\mathrm{tr}(Dh(X)) 。4 在线性收缩 θ^=c⋅X \hat{\theta} = c \cdot X 上最小化SURE得到 c∗=1−1/∑X2 c^{*} = 1 - 1/\sum X^{2} ,即詹姆斯-斯坦因估计量(相差一个自由度修正)。13 由于可以这样直接估计均方误差,在正态均值设定下无需交叉验证来选择收缩参数。10

操作方法

对于方差已知的 p p 个正态均值,计算 S=∑Xi2 S = \sum X_{i}^{2} (当向总均值收缩时,计算 ∑(Xi−Xˉ)2 \sum (X_{i} - \bar{X})^{2} ),构造因子 1−(p−2)/S 1 - (p-2)/S ,然后相乘。向 Xˉ \bar{X} 收缩使用 1−(k−3)/∑(Xi−Xˉ)2 1 - (k-3)/\sum(X_{i} - \bar{X})^{2} ,仅当 k>3 k > 3 时优于最大似然估计量。10 经验贝叶斯路线将 θi \theta_{i} 视为来自 N(0,τ2) N(0, \tau^{2}) 的抽样,将贝叶斯估计量写成含未知因子 1/(1+τ2) 1/(1+\tau^{2}) 的形式,并代入无偏估计 (k−2)/S (k-2)/S ,从而恢复詹姆斯-斯坦因规则。7 在回归中,岭回归最小化残差平方和加上 λ⋅∥β∥2 \lambda \cdot \|\beta\|^{2} ,套索使用 ∑∣βj∣ \sum \lvert \beta_{j} \rvert 小于某常数的约束,弹性网将两者结合,惩罚项为 λ∑{α⋅∣βj∣+(1−α)βj2} \lambda\sum\{\alpha \cdot \lvert\beta_{j}\rvert + (1-\alpha)\beta_{j}^{2}\} ,其中 α=0 \alpha = 0 给出岭回归,α=1 \alpha = 1 给出套索。5 • 6 • 14 在回归应用中,K折交叉验证(通常 K=10 K = 10 )是选择 λ \lambda 和 α \alpha 的标准工具。14

起源

教育心理学中发展了通过向平均值收缩来改进观测分数的模型,尽管模型的提出者并未证明斯坦因类型的任何结果。15 查尔斯·斯坦因(Charles Stein)于1956年证明,在三维或更高维中样本均值可以被处处改进。9 罗宾斯(Robbins)于1956年引入了“经验贝叶斯”一词16,该估计量的总均值版本也有人提出。15 Efron与Morris在1972年、1973年和1975年发表于《美国统计协会杂志》(Journal of the American Statistical Association)的论文中,将该规则重新表述于经验贝叶斯框架之下17 • 18 • 7,他们1977年发表于《科学美国人》(Scientific American)的文章《统计学中的斯坦因悖论》("Stein's Paradox in Statistics")将该结果传播给了广泛读者。19 Efron后来写道,该定理完全有理由被称为战后时代最引人注目、最具颠覆性的统计学结果。8

变体

詹姆斯-斯坦因估计量本身是不可容许的:正部版本将收缩后的估计值设为零而非让其越过目标,对所有 θ \theta 具有严格更小的风险。3 • 7 Baranchik于1970年提出的极小极大估计量族涵盖了这一改进20,Strawderman于1971年给出了一个可容许的正常贝叶斯极小极大估计量。21 George于1986年提出了极小极大多重收缩估计量。22 在回归中,Hoerl与Kennard于1970年引入了岭估计,在 X′⋅X X' \cdot X 的对角线上加上小的正量,这建立在其早期作为吉洪诺夫正则化(Tikhonov regularization)出现的基础之上。23 • 5 Tibshirani于1996年提出了套索。6 Copas于1983年发展了用于回归预测的均匀收缩24,Mayer与Willke于1973年引入了相关的收缩估计量25,Farebrother、Judge与Bock于1978年为计量经济学分析了预检验和斯坦因规则估计量。26 协方差矩阵向单位矩阵的线性收缩已被使用27,Griffin与Hoff于2023年引入了结构化收缩先验。28

应用

有文献记载的应用集中在回归预测和计量经济学——斯坦因规则和均匀收缩估计量改进了回归模型的预测24 • 26——以及高维均值和协方差估计——最大似然和矩估计方法变得非常不稳定,转而使用向确定性目标的收缩。27 收缩思想也是Tweedie公式、套索和Benjamini–Hochberg错误发现率算法的基础。29

局限与替代方案

即使总均方误差改善,个别坐标也可能变差:如果 θ1=10 \theta_{1} = 10 但其他999个坐标为0,则 θ1 \theta_{1} 的估计值很可能被过度收缩向0。4 该估计量仅在三个或更多待估参数时适用,在 p=2 p = 2 时无增益,且可推广到异质未知方差的情形,尽管此类推广不一定保留标准的詹姆斯-斯坦因优势保证。12 • 31 对于收缩估计并不存在涵盖所有设定的单一通用最优性理论,也没有万无一失的方法来选择岭参数。5 比较表明没有普遍的赢家:Hansen发现,以普通最小二乘为比较基准时,詹姆斯-斯坦因估计量和套索均不能一致优于对方30,而Giannone、Lenza和Primiceri发现在若干标准经济应用中稀疏模型如套索预测效果差,而岭型收缩预测效果更好。14 推广到正态观测和平方误差损失之外(例如泊松数据)已产生令人鼓舞的渐近结果,但未获得有限样本优势。29

References

  1. Shrinkage and empirical Bayes (Duke Stat 732 notes)
  2. Empirical Bayes and the James–Stein Estimator (Efron, Large-Scale Inference, Chapter 1)
  3. Stat 710: Mathematical Statistics, Lecture 4–5 (UW-Madison, Shao)
  4. The James-Stein Estimator (Stat 210A reader, UC Berkeley)
  5. James–Stein Estimation and Ridge Regression (Efron & Hastie, Computer Age Statistical Inference, Chapter 7)
  6. Robert Tibshirani (1996). Regression Shrinkage and Selection Via the Lasso. Journal of the Royal Statistical Society Series B (Statistical Methodology).
  7. Data Analysis Using Stein's Estimator and its Generalizations (Efron & Morris, JASA 1975)
  8. Empirical Bayes: Concepts and Methods (Efron, 2021)
  9. Charles Stein (1956). INADMISSIBILITY OF THE USUAL ESTIMATOR FOR THE MEAN OF A MULTIVARIATE NORMAL DISTRIBUTION. .
  10. Shrinkage and penalized likelihood as methods to improve predictive accuracy (van Houwelingen & Le Cessie)
  11. Modern statistical estimation via oracle inequalities (Candès)
  12. Understanding Shrinkage Estimators: From Zero to Oracle to James-Stein (Rasmusen)
  13. Shrinkage in the Normal means model (M. Kasy, Foundations of Machine Learning, Oxford)
  14. Machine Learning for Microeconometrics Part 2: Shrinkage estimators (A. Colin Cameron, UC Davis)
  15. The 1988 Neyman Memorial Lecture: A Galtonian Perspective on Shrinkage Estimators (Stigler)
  16. Herbert Robbins (1956). AN EMPIRICAL BAYES APPROACH TO STATISTICS. .
  17. Bradley Efron, Carl Morris (1972). Limiting the Risk of Bayes and Empirical Bayes Estimators, Part II: The Empirical Bayes Case. Journal of the American Statistical Association.
  18. Bradley Efron, Carl Morris (1973). Stein's Estimation Rule and its Competitors, An Empirical Bayes Approach. Journal of the American Statistical Association.
  19. Bradley Efron, Carl Morris (1977). Stein's Paradox in Statistics. Scientific American.
  20. A. J. Baranchik (1970). A Family of Minimax Estimators of the Mean of a Multivariate Normal Distribution. The Annals of Mathematical Statistics.
  21. William E. Strawderman (1971). Proper Bayes Minimax Estimators of the Multivariate Normal Mean. The Annals of Mathematical Statistics.
  22. Edward I. George (1986). Minimax Multiple Shrinkage Estimation. The Annals of Statistics.
  23. Arthur E. Hoerl, Robert W. Kennard (1970). Ridge Regression: Biased Estimation for Nonorthogonal Problems. Technometrics.
  24. J. B. Copas (1983). Regression, Prediction and Shrinkage. Journal of the Royal Statistical Society Series B (Statistical Methodology).
  25. Lawrence S. Mayer, Thomas A. Willke (1973). On Biased Estimation in Linear Models. Technometrics.
  26. R. W. Farebrother, George G. Judge, M. E. Bock (1978). The Statistical Implications of Pre-Test and Stein-Rule Estimators in Econometrics.. Journal of the Royal Statistical Society Series A (General).
  27. Recent advances in shrinkage-based high-dimensional inference (Bodnar, Bodnar and Parolya, JMVA 2022)
  28. Maryclare Griffin, Peter D. Hoff (2023). Structured Shrinkage Priors. Journal of Computational and Graphical Statistics.
  29. Machine learning and the James–Stein estimator (Efron, JJSD 2023)
  30. On minimaxity and limit of risks ratio of James-Stein estimator under the balanced loss function
  31. projecteuclid.org

Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026

© 2026 Biostate AI。依据 Edgepedia Community License,注明出处即可免费使用。 嵌入参考卡片。

报告错误

收缩估计

请至少选择一个原因。