View source: R/Functions_Rsurrogate.R
| pred.smooth.surv | R Documentation | 
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)
xone.f | 
 observed event times in the treatment group  | 
deltaone.f | 
 censoring indicators in the treatment group  | 
sone.f | 
 surrogate marker values in the treatment group  | 
szero.one | 
 surrogate marker values in the control group  | 
myt | 
 time of interest  | 
weight.pred | 
 weight used for perturbation resampling  | 
extrapolate | 
 TRUE or FALSE; indicates whether local constant extrapolation should be used, default is FALSE  | 
transform | 
 TRUE or FALSE; indicates whether a transformation should be used, default is FALSE  | 
ps.weight | 
 vector of propensity score weights to be used in the multiple marker setting, default is NULL  | 
warn.support | 
 value passed from R.s.estimate function to control warnings; user does not need to specify.  | 
Details are included in the documentation for R.s.surv.estimate and R.multiple.surv
conditional probability of survival past t for control group
Layla Parast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.