Helper function; calculates the estimated probability of survival for control group for control group surrogate values using treatment group surrogate and outcome information.
pred.smooth.surv(xone.f, deltaone.f, sone.f, szero.one, myt, weight.pred,
extrapolate, transform, ps.weight = NULL, warn.support = FALSE)
conditional probability of survival past t for control group
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
weight used for perturbation resampling
TRUE or FALSE; indicates whether local constant extrapolation should be used, default is FALSE
TRUE or FALSE; indicates whether a transformation should be used, default is FALSE
vector of propensity score weights to be used in the multiple marker setting, default is NULL
value passed from R.s.estimate function to control warnings; user does not need to specify.
Layla Parast
Details are included in the documentation for R.s.surv.estimate and R.multiple.surv