Learn R Programming

SurrogateOutcome (version 1.1)

Estimation of the Proportion of Treatment Effect Explained by Surrogate Outcome Information

Description

Provides functions to estimate the proportion of treatment effect on a censored primary outcome that is explained by the treatment effect on a censored surrogate outcome/event. All methods are described in detail in Parast, Tian, Cai (2020) "Assessing the Value of a Censored Surrogate Outcome" . The main functions are (1) R.q.event() which calculates the proportion of the treatment effect (the difference in restricted mean survival time at time t) explained by surrogate outcome information observed up to a selected landmark time, (2) R.t.estimate() which calculates the proportion of the treatment effect explained by primary outcome information only observed up to a selected landmark time, and (3) IV.event() which calculates the incremental value of the surrogate outcome information.

Copy Link

Version

Install

install.packages('SurrogateOutcome')

Monthly Downloads

147

Version

1.1

License

GPL

Maintainer

Last Published

November 15th, 2021

Functions in SurrogateOutcome (1.1)

delta.estimate.RMST

Helper function
SurrogateOutcome-package

SurrogateOutcome
cumsum2

Helper function
IV.event

Calculates the incremental value of the surrogate outcome information
censor.weight

Calculates censoring probability for weighting
Kern.FUN

Calculates kernel matrix
ExampleData

Hypothetical data
delta.q.event.semi.RMST

Calculates the residual treatment effect (the difference in restricted mean survival time at time t) after accounting for the treatment effect on the surrogate outcome information up to the landmark time
VTM

Repeats a row
R.t.estimate

Calculates the proportion of the treatment effect (the difference in restricted mean survival time at time t) explained by primary outcome information observed up to the landmark time
R.q.event

Calculates the proportion of the treatment effect (the difference in restriced mean survival time at time t) explained by surrogate outcome information observed up to the landmark time
new.q

Helper function
helper.si

Helper function
delta.t.RMST

Calculates the residual treatment effect (the difference in restricted mean survival time at time t) after accounting for the treatment effect on the primary outcome up to the landmark time
pred.smooth.surv

Calculates the conditional probability of survival for control group values
delta.q.event.RMST

Calculates the residual treatment effect (the difference in restricted mean survival time at time t) after accounting for the treatment effect on the surrogate outcome information up to the landmark time
delta.estimate

Estimates the treatment effect at time t, defined as the difference in the restricted mean survival time