Skip to contents

Z-residual is a residual diagnosis tool for diagnosing survival models and Bayesian models.

Installation

You can install the development version of this package from GitHub with:

# install.packages("devtools")
devtools::install_github("tiw150/Zresidual")

References

Li L, Wu T, Feng C. Model diagnostics for censored regression via randomized survival probabilities. Statistics in Medicine. 2021; 40: 1482–1497. https://doi.org/10.1002/sim.8852

Wu, T., Li, L., & Feng, C. (2024). Z-residual diagnostic tool for assessing covariate functional form in shared frailty models. Journal of Applied Statistics, 52(1), 28–58. https://doi.org/10.1080/02664763.2024.2355551

Wu, T., Feng, C., & Li, L. (2024). Cross-Validatory Z-Residual for Diagnosing Shared Frailty Models. The American Statistician, 79(2), 198–211. https://doi.org/10.1080/00031305.2024.2421370

Example