Helper function for Prob2.k.t; should not be called directly.
prob2.single(K, W2i, Xi.long, tau, Di.short, Xi.short, Zi, t0, covariate.value)
returns estimated probability for values corresponding to the kernel matrix at the specified covariate value;
Kernel matrix.
inverse probability of censoring weights.
XL = min(TL, C) where TL is the time of the long term event, C is the censoring time.
the residual survival time for which probabilities are calculated. Specifically, this function estimates the probability that the an individual has the event of interest before t0 + tau given the event has not yet occurred and the individual is still at risk at time t0.
DS =1*(TS<C), where TS is the time of the short term event, C is the censoring time.
log(XS) = log(min(TS, C)) where TS is the time of the short term event, C is the censoring time.
covariate vector.
landmark time.
specific covariate at which to estimate the conditional probability.
Layla Parast