[论文解读] Randomized Predictive P-values: A Versatile Model Diagnostic Tool with Unified Reference Distribution
本文提出随机化预测p值(RPPs)作为离散响应回归模型的统一诊断工具,证明其在原模型下服从均匀分布,并表明经正态变换的RPPs(NRPPs)在模型正确时近似服从正态分布。该方法使标准正态分布诊断工具(如QQ图和Shapiro-Wilk检验)可应用于离散数据,提供一种多功能且校准良好的方法,用于检测非线性、过度离散和零膨胀等问题。
Examining residuals such as Pearson and deviance residuals, is a standard tool for assessing normal regression. However, for discrete response, these residuals cluster on lines corresponding to distinct response values. Their distributions are far from normality; graphical and quantitative inspection of these residuals provides little information for model diagnosis. Marshall and Spiegelhalter (2003) defined a cross-validatory predictive p-value for identifying outliers. Predictive p-values are uniformly distributed for continuous response but not for discrete response. We propose to use randomized predictive p-values (RPP) for diagnosing models with discrete responses. RPPs can be transformed to "residuals" with normal distribution, called NRPPs by us. NRPPs can be used to diagnose all regression models with scalar response using the same way for diagnosing normal regression. The NRPPs are nearly the same as the randomized quantile residuals (RQR), which are previously proposed by Dunn and Smyth (1996) but remain little known by statisticians. This paper provides an exposition of RQR using the RPP perspective. The contributions of this exposition include: (1) we give a rigorous proof of uniformity of RPP and illustrative examples to explain the uniformity under the true model; (2) we conduct extensive simulation studies to demonstrate the normality of NRPPs under the true model; (3) our simulation studies also show that the NRPP method is a versatile diagnostic tool for detecting many kinds of model inadequacies due to lack of complexity. The effectiveness of NRPP is further demonstrated with a health utilization dataset.
研究动机与目标
- 为解决离散响应回归模型中缺乏可靠且标准化的模型诊断方法的问题,传统残差(如皮尔逊残差、偏差残差)非正态且呈聚类分布。
- 为随机化预测p值(RPPs)在离散响应下服从均匀分布的理论基础提供严谨证明,前提是真实模型成立。
- 证明在模型正确时,经正态变换的RPPs(NRPPs)近似服从正态分布,从而可应用标准正态分布诊断工具。
- 展示NRPPs在检测多种模型误设方面的多功能性,包括非线性、过度离散和零膨胀。
- 推广NRPP方法作为现有残差的广泛适用且校准良好的替代方案,克服以往方法(如随机化分位数残差RQR)的局限性。
提出的方法
- 通过用随机均匀变量替代交叉验证预测p值中的固定0.5分界点,定义随机化预测p值(RPPs),确保在离散响应的真实模型下其服从均匀分布。
- 利用反正态累积分布函数(分位数函数)将RPPs转换为服从正态分布的残差(NRPPs),从而可应用标准正态分布诊断工具。
- 利用RPPs在真实模型下服从均匀分布的性质,使NRPPs在模型正确时近似服从标准正态分布。
- 应用Shapiro-Wilk(SW)检验评估NRPPs的正态性,作为正式的拟合优度检验,p值反映模型的适当性。
- 通过大量模拟和真实数据分析验证NRPPs的正态性以及基于它们的诊断工具的检验效能。
- 使用NRPPs的多次重复(1000次实现)评估结果稳定性,并减少随机化引起的诊断检验p值的变异性。
实验结果
研究问题
- RQ1随机化预测p值(RPPs)能否在离散响应变量上实现真正均匀的分布,而标准交叉验证p值则不能?
- RQ2当模型正确时,经正态变换的RPPs(NRPPs)是否近似服从正态分布,从而支持标准正态分布诊断工具的应用?
- RQ3NRPPs在检测离散回归模型中模型误设(如非线性、过度离散和零膨胀)方面的有效性如何?
- RQ4RPPs中的随机化是否会损害诊断检验的统计功效,特别是在拟合优度评估中?
- RQ5NRPP-based诊断方法能否可靠地应用于复杂模型,如负二项回归、零膨胀泊松回归以及具有随机效应的分层模型?
主要发现
- 当使用随机分界点时,RPPs在真实模型下对离散响应服从均匀分布,解决了标准交叉验证p值非均匀的问题。
- 在模型正确时,NRPPs近似服从正态分布,从而可应用标准正态分布诊断工具(如QQ图和Shapiro-Wilk检验)。
- 在模拟中,来自正确设定模型(如负二项分布、ZINB)的NRPPs在约96%的重复中表现出Shapiro-Wilk p值大于0.05,证实了良好的校准性。
- 来自误设模型(如泊松分布、ZIP)的NRPPs在几乎所有情况下Shapiro-Wilk p值接近0,表明其检测模型不足的强大能力。
- RPPs中的随机化引入的诊断检验p值变异性极小;通过多次重复(1000次)可稳定结果,减少由随机化引起的假阳性。
- NRPP残差图能有效检测逻辑回归中的非线性效应,在模型误设时显示清晰的二次模式,而模型正确时则呈现随机散点。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。