Probability of being censored which is used to correct the effect of right censoring.
ipcw.surv(
y,
d,
x.ipcw,
yf = NULL,
ipcw.method = "breslow",
tau0,
surv.min = 0.025
)
A vector of size n
with the estimated probabilities Pr(C > min(y, tau0) | x.ipcw)
Observed survival or censoring time; vector of size n
.
The event indicator, normally 1 = event, 0 = censored
; vector of size n
.
Matrix of p.ipw
baseline covariate specified in inverse probability of censoring weighting; dimension n
by p.ipw
.
Follow-up time, interpreted as the potential censoring time; vector of size n
if the potential censoring time is known.
If unknown, set yf == NULL
and yf
will be taken as y
in the function.
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'
.
The truncation time for defining restricted mean time lost.
Lower truncation limit for probability of being censored (positive and very close to 0).