Learn R Programming

SurrogateTest (version 1.3)

Early Testing for a Treatment Effect using Surrogate Marker Information

Description

Provides functions to test for a treatment effect in terms of the difference in survival between a treatment group and a control group using surrogate marker information obtained at some early time point in a time-to-event outcome setting. Nonparametric kernel estimation is used to estimate the test statistic and perturbation resampling is used for variance estimation. More details will be available in the future in: Parast L, Cai T, Tian L (2019) ``Using a Surrogate Marker for Early Testing of a Treatment Effect" Biometrics, 75(4):1253-1263. .

Copy Link

Version

Install

install.packages('SurrogateTest')

Monthly Downloads

177

Version

1.3

License

GPL

Maintainer

Last Published

November 16th, 2021

Functions in SurrogateTest (1.3)

dataB

Hypothetical Study B data
VTM

Repeats a row.
cumsum2

Helper function
dataA

Hypothetical Study A data
Kern.FUN

Calculates kernel matrix
delta.ea.single

Calculates the early treatment effect estimate in Study A
censor.weight

Calculates censoring probability for weighting
delta.estimate

Calculates the treatment effect, the difference in survival at time t
delta.eb.single

Calculates the early treatment effect estimate in Study B
design.study

Power and sample size calculation for designing a future study
pred.smooth.surv.new

Calculates the conditional probability of survival to time t
helper.si

Helper function
early.delta.test

Estimate and test the early treatment effect
int.hazc.plan

Helper function
int.hazc

Helper function
var.delta.eb

Variance estimation
recover.B

Recover an estimate of the treatment effect at time t in Study B