Probability of being censored which is used to correct the effect of right censoring.
Arguments
- y
Observed survival or censoring time; vector of size
n
.- d
The event indicator, normally
1 = event, 0 = censored
; vector of sizen
.- x.ipcw
Matrix of
p.ipw
baseline covariate specified in inverse probability of censoring weighting; dimensionn
byp.ipw
.- yf
Follow-up time, interpreted as the potential censoring time; vector of size
n
if the potential censoring time is known. If unknown, setyf == NULL
andyf
will be taken asy
in the function.- ipcw.method
The censoring model. Allowed values are:
'breslow'
(Cox regression with Breslow estimator of the baseline survivor function),'aft (exponential)'
,'aft (weibull)'
,'aft (lognormal)'
or'aft (loglogistic)'
. Default is'breslow'
.- tau0
The truncation time for defining restricted mean time lost.
- surv.min
Lower truncation limit for probability of being censored (positive and very close to 0).