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.ipwbaseline covariate specified in inverse probability of censoring weighting; dimensionnbyp.ipw.- yf
Follow-up time, interpreted as the potential censoring time; vector of size
nif the potential censoring time is known. If unknown, setyf == NULLandyfwill be taken asyin 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).
