Learn R Programming

Rsurrogate (version 3.2)

Robust Estimation of the Proportion of Treatment Effect Explained by Surrogate Marker Information

Description

Provides functions to estimate the proportion of treatment effect on the primary outcome that is explained by the treatment effect on the surrogate marker.

Copy Link

Version

Install

install.packages('Rsurrogate')

Monthly Downloads

246

Version

3.2

License

GPL

Maintainer

Layla Parast

Last Published

January 23rd, 2024

Functions in Rsurrogate (3.2)

Kern.FUN

Calculates kernel matrix
augment.est.vector

Augmentation function
Aug.R.s.surv.estimate

Calculates the augmented estimator of the proportion of treatment effect explained by the surrogate marker information measured at a specified time and primary outcome information up to that specified time
R.multiple.surv

Calculates the proportion of treatment effect explained by multiple surrogate markers measured at a specified time and primary outcome information up to that specified time
R.s.estimate.me

Calculates the proportion of treatment effect explained correcting for measurement error in the surrogate marker
R.s.surv.estimate

Calculates the proportion of treatment effect explained by the surrogate marker information measured at a specified time and primary outcome information up to that specified time
calculate.var.np

calculates closed form variance estimate for R
R.s.estimate

Calculates the proportion of treatment effect explained
R.t.surv.estimate

Calculates the proportion of treatment effect explained by the primary outcome information up to a specified time
VTM

Repeats a row.
d_example

Hypothetical data
d_example_me

Hypothetical data with replicate measurements
censor.weight

Calculates censoring probability for weighting
delper.si

Helper function
d_example_multiple

Hypothetical survival data with multiple surrogate markers
cumsum2

Helper function
delta.s.estimate

Calculates model-based or robust residual treatment effect
delta.s.surv.estimate

Calculates robust residual treatment effect accounting for surrogate marker information measured at a specified time and primary outcome information up to that specified time
perturb.nu.vector

Helper for augmentation function
pred.smooth

Calculates expected outcome for control group surrogate values
d_example_surv

Hypothetical survival data
me.variance.estimate

Estimates measurement error variance given replicate data.
delta.estimate

Calculates treatment effect
delta.multiple.surv

Calculates robust residual treatment effect accounting for multiple surrogate markers at a specified time and primary outcome information up to that specified time
delta.surv.estimate

Calculates treatment effect in a survival setting
delta.t.surv.estimate

Calculates robust residual treatment effect accounting only for primary outcome information up to a specified time
pred.smooth.surv

Calculates the conditional probability of survival for control group values
fieller.calculate.me

Constructs Fieller's confidence interval.
fieller.ci

Constructs Fieller's confidence interval.