bri.surv.resid | R Documentation |
Compute different Bayesian residuals for survival models using INLA
bri.surv.resid(inla.obj, time, event)
inla.obj |
an object of class "inla". |
time |
the follow up time for right censored data, |
event |
the status indicator, 1=observed event, 0=right censored event |
The function supports Weibull model, Expontenial model and Cox proportional hazards model for right censored data. Three types of residuals are obtained: Cox-Snell residual; Martingale residuals; Deviance residuals.
A list of different residuals, and time, event, family information.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.