Goeman Jelle J, le Cessie Saskia
Department of Medical Statistics, Leiden University Medical Center, P.O. Box 9604, 2300 RC Leiden, The Netherlands.
Biometrics. 2006 Dec;62(4):980-5. doi: 10.1111/j.1541-0420.2006.00581.x.
This article presents a score test to check the fit of a logistic regression model with two or more outcome categories. The null hypothesis that the model fits well is tested against the alternative that residuals of samples close to each other in covariate space tend to deviate from the model in the same direction. We propose a test statistic that is a sum of squared smoothed residuals, and show that it can be interpreted as a score test in a random effects model. By specifying the distance metric in covariate space, users can choose the alternative against which the test is directed, making it either an omnibus goodness-of-fit test or a test for lack of fit of specific model variables or outcome categories.
本文提出了一种得分检验,用于检验具有两个或更多结果类别的逻辑回归模型的拟合优度。原假设是模型拟合良好,备择假设是协变量空间中彼此接近的样本残差倾向于在同一方向上偏离模型。我们提出了一个检验统计量,它是平方平滑残差的总和,并表明它可以解释为随机效应模型中的得分检验。通过指定协变量空间中的距离度量,用户可以选择检验所针对的备择假设,使其成为综合拟合优度检验或针对特定模型变量或结果类别的拟合不足检验。