In survival analysis, the hazard function often depends on a set of covariates. Martingale and deviance residual are most widely used for examining the validity of the function form of covariates by checking whether there is a discernible trend in their scatterplot against continuous covariates. However, visual inspection of martingale and deviance residuals is often subjective. In addition, these residuals lack a reference distribution due to censoring. It is therefore challenging to derive numerical statistical tests based on martingale or deviance residuals. In this paper, we extend the idea of randomized survival probability (Li et al. 2021) and develop a residual diagnostic tool that can provide both graphical and numerical tests for checking the covariate functional form in semi-parametric shared frailty models. We develop a general function that calculates Z-residuals for semi-parametric shared frailty models based on the output from the \texttt{coxph} function in the \texttt{survival} package in R. Our extensive simulation studies indicate that the derived numerical test based on Z-residuals has great power for checking the functional form of covariates. In a real data application on modelling the survival time of acute myeloid leukemia patients, the Z-residual diagnosis results show that a model with log-transformation is inappropriate for modelling the survival time, which could not be detected by other diagnostic methods.
翻译:在生存分析中,危险函数往往取决于一组共变函数。 Martingale 和 diviance 残留物被最广泛地用来检查共变函数形式的有效性,通过检查其散落物相对于连续共变体的明显趋势来检查共变体的功能形式。然而,对martingale 和 diviance 残留物的直观检查往往是主观的。此外,这些残余物由于审查而缺乏参考分布。因此,根据martingale 或 deviance 残留物得出数字统计测试具有挑战性。在本文中,我们扩展随机化生存概率的概念(Li 等人 2021),并开发一个剩余诊断工具,该工具可以提供图形和数字测试,用以在半参数性共享脆弱模型中检查共变异体功能形式。我们开发了一个总功能性功能性功能性功能性功能性测试,根据\ Texttut{ cox} 的输出结果,在\ texttexttrevival} 软件包中,我们广泛的模拟研究表明,基于不定期性诊断性诊断方法的急性病人的数值测试是Z-rerealidalalalalalalalalalalalalalalalal ex exal exal deal 。