Related Experiment Video
Updated: Jun 2, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
Z-residual diagnostic tool for assessing covariate functional form in shared frailty models
Tingxuan Wu1,2, Longhai Li1, Cindy Feng3
1Department of Mathematics and Statistics, University of Saskatchewan, Saskatoon, CA, Canada.
Abstract:
Survival analysis often involves modeling hazard functions while considering frailty to account for unobserved cluster-level factors in clustered survival data. Shared frailty models have gained popularity for this purpose, but assessing covariate functional form in these models presents unique challenges. Martingale and deviance residuals are commonly used for visually assessing covariate functional form against continuous covariates. Nevertheless, their subjective nature and lack of a reference distribution make it challenging to derive numerical statistical tests from these residuals. To address these limitations, we propose 'Z-residuals', a novel diagnostic tool designed for shared frailty models, leveraging the concept of randomized survival probability and introducing both graphical and numerical tests. To implement this approach, we develop an R package to compute Z-residuals for shared frailty models. Through extensive simulation studies, we demonstrate the high power of our derived numerical test for assessing the functional form of covariates. To validate the effectiveness of our method, we apply it to a real data application concerning the modelling of survival time for acute myeloid leukemia patients. Our Z-residual diagnosis results reveal the inadequacy of log-transformation of the covariate, highlighting the limitations of other diagnostic methods for effectively assessing covariate functional form in shared frailty models.
Related Concept Videos
Truncation in Survival Analysis
Left truncation occurs when individuals who experienced the event of interest before a certain time are not included in the study. This is often due to a "delayed entry" into the study where only those who survive until a certain entry point are...
Assumptions of Survival Analysis
Residual Plots
When the residual values are plotted against the variable x, it is called a residual...
Residuals and Least-Squares Property
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Comparing the Survival Analysis of Two or More Groups
Friedman Two-way Analysis of Variance by Ranks

