Description Usage Arguments Details Value Author(s)
View source: R/Functions_SurrogateTest.R
Helper function; calculates the estimated conditional probability of survival to time t given survival to the landmark time and given surrogate marker information.
1 2 | pred.smooth.surv.new(Axzero.f, Adeltazero.f, Aszero.f, Bsnew.f,
Bsnew2.f = NULL, myt, bw = NULL, weight.pred, extrapolate)
|
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 are included in the documentation for early.delta.test
conditional probability of survival past t
Layla Parast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.