Robust Estimation of the Proportion of Treatment Effect Explained by Surrogate Marker Information
Calculates the augmented estimator of the proportion of treatment effe...
Augmentation function
calculates closed form variance estimate for R
Calculates censoring probability for weighting
Helper function
Calculates treatment effect
Calculates robust residual treatment effect accounting for multiple su...
Calculates model-based or robust residual treatment effect
Calculates robust residual treatment effect accounting for surrogate m...
Calculates treatment effect in a survival setting
Calculates robust residual treatment effect accounting only for primar...
Constructs Fieller's confidence interval.
Constructs Fieller's confidence interval.
Helper function
Calculates kernel matrix
Estimates measurement error variance given replicate data.
Helper for augmentation function
Calculates expected outcome for control group surrogate values
Calculates the conditional probability of survival for control group v...
Calculates the proportion of treatment effect explained by multiple su...
Calculates the proportion of treatment effect explained correcting for...
Calculates the proportion of treatment effect explained
Calculates the proportion of treatment effect explained by the surroga...
Calculates the proportion of treatment effect explained by the primary...
Repeats a row.
Provides functions to estimate the proportion of treatment effect on the primary outcome that is explained by the treatment effect on the surrogate marker.