pred.smooth.surv.new: Calculates the conditional probability of survival to time t

Description Usage Arguments Details Value Author(s)

View source: R/Functions_SurrogateTest.R

Description

Helper function; calculates the estimated conditional probability of survival to time t given survival to the landmark time and given surrogate marker information.

Usage

1
2
pred.smooth.surv.new(Axzero.f, Adeltazero.f, Aszero.f, Bsnew.f, 
Bsnew2.f = NULL, myt, bw = NULL, weight.pred, extrapolate)

Arguments

Axzero.f

observed event times in the control group in Study A

Adeltazero.f

event/censoring indicators in the control group in Study A

Aszero.f

surrogate marker values in the control group in Study A, NA for individuals not observable at the time the surrogate marker was measured

Bsnew.f

surrogate marker values in one group (either treatment or control) in Study B

Bsnew2.f

surrogate marker values in one group (either treatment or control) in Study B, optional

myt

time of interest

bw

bandwidth, optional

weight.pred

weight used for perturbation resampling

extrapolate

TRUE or FALSE; indicates whether local constant extrapolation should be used

Details

Details are included in the documentation for early.delta.test

Value

conditional probability of survival past t

Author(s)

Layla Parast


SurrogateTest documentation built on Nov. 16, 2021, 9:10 a.m.