pred.smooth.surv.new {SurrogateTest} | R Documentation |
Calculates the conditional probability of survival to time t
Description
Helper function; calculates the estimated conditional probability of survival to time t given survival to the landmark time and given surrogate marker information.
Usage
pred.smooth.surv.new(Axzero.f, Adeltazero.f, Aszero.f, Bsnew.f,
Bsnew2.f = NULL, myt, bw = NULL, weight.pred, extrapolate)
Arguments
Axzero.f |
observed event times in the control group in Study A |
Adeltazero.f |
event/censoring indicators in the control group in Study A |
Aszero.f |
surrogate marker values in the control group in Study A, NA for individuals not observable at the time the surrogate marker was measured |
Bsnew.f |
surrogate marker values in one group (either treatment or control) in Study B |
Bsnew2.f |
surrogate marker values in one group (either treatment or control) in Study B, optional |
myt |
time of interest |
bw |
bandwidth, optional |
weight.pred |
weight used for perturbation resampling |
extrapolate |
TRUE or FALSE; indicates whether local constant extrapolation should be used |
Details
Details are included in the documentation for early.delta.test
Value
conditional probability of survival past t
Author(s)
Layla Parast