Helper function; calculates the estimated probability of survival for control control group surrogate values using treatment group surrogate and outcome information.
pred.smooth.surv(xone.f, deltaone.f, sone.f, szero.one, myt, bw = NULL,
weight, transform, extrapolate = T)
observed event times in the treatment group.
censoring indicators in the treatment group.
surrogate marker values in the treatment group.
surrogate marker values in the control group.
time of interest.
bandwidth.
weight used for perturbation resampling.
TRUE or FALSE; indicates whether a transformation should be used, default is FALSE.
TRUE or FALSE; indicates whether local constant extrapolation should be used, default is TRUE.
A list is returned:
conditional probability of survival past t for control group
warning flag equal to 1 if extrapolation was used; 0 otherwise