Learn R Programming

hetsurr (version 1.0)

Assessing Heterogeneity in the Utility of a Surrogate Marker

Description

Provides a function to assess and test for heterogeneity in the utility of a surrogate marker with respect to a baseline covariate. The main function can be used for either a continuous or discrete baseline covariate. More details will be available in the future in: Parast, L., Cai, T., Tian L (2021). "Testing for Heterogeneity in the Utility of a Surrogate Marker." Biometrics, In press.

Copy Link

Version

Install

install.packages('hetsurr')

Monthly Downloads

204

Version

1.0

License

GPL

Maintainer

Layla Parast

Last Published

November 10th, 2021

Functions in hetsurr (1.0)

mu1swy

Estimates mu1(s, w)=E(Y1|S1=s, W1=w)
example.data

Example data
hetsurr.plot

Constructs plots of the treatment effect, residual treatment effect, and proportion explained as a function of the continuous baseline covariate
hetsurr.fun

Assess and test for heterogeneity in the utility of a surrogate
mu1wy

Estimates mu1(w)=E(Y1|W1=w)
mu10

Estimates mu10(w)
delta.s.estimate.w

Estimates residual treatment effect when W is discrete.
kf

Kernel function
mu0wy

Estimates mu0(w)=E(Y0|W0=w)