delta.eb.single {SurrogateTest} | R Documentation |
Calculates the early treatment effect estimate in Study B
Description
Calculates the early treatment effect estimate in Study B, generally not called directly by the user
Usage
delta.eb.single(Axzero, Adeltazero, Aszero, Bxzero, Bdeltazero,
Bszero, Bxone, Bdeltaone, Bsone, t, landmark, weightA = NULL,
weightB = NULL, weight.both = NULL, extrapolate)
Arguments
Axzero |
observed event times in the control group in Study A |
Adeltazero |
event/censoring indicators in the control group in Study A |
Aszero |
surrogate marker values in the control group in Study A, NA for individuals not observable at the time the surrogate marker was measured |
Bxzero |
observed event times in the control group in Study B |
Bdeltazero |
event/censoring indicators in the control group in Study B |
Bszero |
surrogate marker values in the control group in Study B, NA for individuals not observable at the time the surrogate marker was measured |
Bxone |
observed event times in the treatment group in Study B |
Bdeltaone |
event/censoring indicators in the treatment group in Study B |
Bsone |
surrogate marker values in the treatment group in Study B, NA for individuals not observable at the time the surrogate marker was measured |
t |
time of interest |
landmark |
landmark time of interest, t0 |
weightA |
Study A weights used for perturbation resampling |
weightB |
Study B weights used for perturbation resampling |
weight.both |
Study A and Study B weights 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
early treatment effect estimate
Author(s)
Layla Parast
Examples
data(dataA)
data(dataB)
delta.eb.single(Axzero = dataA$x0, Adeltazero = dataA$delta0,
Aszero = dataA$s0, Bxzero = dataB$x0, Bdeltazero = dataB$delta0,
Bszero = dataB$s0, Bxone = dataB$x1, Bdeltaone = dataB$delta1,
Bsone = dataB$s1, t=1, landmark=0.5, extrapolate = TRUE)