pred.smooth.surv {Rsurrogate} | R Documentation |
Calculates the conditional probability of survival for control group values
Description
Helper function; calculates the estimated probability of survival for control group for control group surrogate values using treatment group surrogate and outcome information.
Usage
pred.smooth.surv(xone.f, deltaone.f, sone.f, szero.one, myt, weight.pred,
extrapolate, transform, ps.weight = NULL, warn.support = FALSE)
Arguments
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
Details are included in the documentation for R.s.surv.estimate and R.multiple.surv
Value
conditional probability of survival past t for control group
Author(s)
Layla Parast