censorReg
.
residuals.censorReg(object, type="standardized")This is a method for the function
residuals
for objects inheriting
from class
"censorReg"
or
"censorRegList"
. However, as several types
of residuals are available for these classes, there is an additional
optional argument
type
.
"censorReg"
or
"censorRegList"
,
representing a parametric survival or censored regression model.
Typically this is the output from the
censorReg
function.
"standardized"
,
"deviance"
,
"pearson"
,
or
"matrix"
.
Meeker, W. M. and Escobar, L. A. (1998). Statistical Methods for Reliability Data. New York: Wiley.
fit <- censorReg(censor(days, event) ~ voltage, data=capacitor2, weights=weights) rr <- residuals(fit, type="standardized")