Description Usage Arguments Value Author(s)
View source: R/SurrogateOutcome.R
Helper function; calculates the estimated probability of survival for control control group surrogate values using treatment group surrogate and outcome information.
1 2 | pred.smooth.surv(xone.f, deltaone.f, sone.f, szero.one, myt, bw = NULL,
weight, transform, extrapolate = T)
|
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. |
bw |
bandwidth. |
weight |
weight used for perturbation resampling. |
transform |
TRUE or FALSE; indicates whether a transformation should be used, default is FALSE. |
extrapolate |
TRUE or FALSE; indicates whether local constant extrapolation should be used, default is TRUE. |
A list is returned:
Phat.ss |
conditional probability of survival past t for control group |
warn.flag |
warning flag equal to 1 if extrapolation was used; 0 otherwise |
Layla Parast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.