View source: R/landest_functions.R
surv.land.rct.base | R Documentation |
Estimates the probability of survival past some specified time using landmark estimation for a randomized trial setting
surv.land.rct.base(tl, dl, tt, landmark, short = NULL, z.cov = NULL,
weight.perturb = NULL, bw = NULL)
tl |
observed event time of primary outcome, equal to min(T, C) where T is the event time and C is the censoring time. |
dl |
event indicator, equal to I(T<C) where T is the event time and C is the censoring time. |
tt |
the time of interest, function estimates the probability of survival past this time |
landmark |
the landmark time |
short |
a matrix of intermediate event information, there should be two columns for each intermediate event, the first column contains the observed intermediate event time, equal to min(TS, C) where TS is the event time and C is the censoring time, and the second column contains the event indicator, equal to I(TS<C) |
z.cov |
matrix of baseline covariate information |
weight.perturb |
a n by x matrix of weights where n = length of tl; used for perturbation-resampling, default is null. If var or conf.int is TRUE and weight.perturb is not provided, the function generates exponential(1) weights. |
bw |
bandwidth used for kernel estimation, default is NULL |
See documentation for delta.land.rct for details.
estimate of survival at the specified time
Layla Parast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.