| influence_frailty | R Documentation |
Computes leverage (hat values), Cook's distance, DFBETAS, and DFFITS for regression parameters.
influence_frailty(fit)
fit |
A fitted object of class |
A list containing leverage, Cook's distance, DFBETAS matrix, DFFITS vector, and a summary diagnostic table.
Belsley, D. A., Kuh, E., & Welsch, R. E. (1980). Regression diagnostics: Identifying influential data and sources of collinearity. John Wiley & Sons.
set.seed(123)
dat <- r_frailty(n = 50, baseline = "weibull", bpar = c(2, 1.5), frailty = "gamma", fpar = c(0.8))
fit <- fit_frailty(time = dat$time, status = dat$status, baseline = "weibull", frailty = "gamma")
inf <- influence_frailty(fit)
head(inf$diagnostics_table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.