pred.smooth: Calculates expected outcome for control group surrogate...

View source: R/Functions_Rsurrogate.R

pred.smoothR Documentation

Calculates expected outcome for control group surrogate values

Description

Helper function; calculates the expected outcome for control group surrogate values using treatment group surrogate and outcome information.

Usage

pred.smooth(zz, zi.one, bw = NULL, y1, weight = NULL)

Arguments

zz

surrogate values in the treatment group; used to estimate conditional mean function

zi.one

surrogate values in the control group

bw

bandwidth

y1

outcome in the treatment group

weight

weight

Details

Details are included in the documentation for R.s.estimate

Value

expected outcome for each surrogate value in the control group

Author(s)

Layla Parast

References

Parast, L., McDermott, M., Tian, L. (2016). Robust estimation of the proportion of treatment effect explained by surrogate marker information. Statistics in medicine, 35(10):1637-1653.


Rsurrogate documentation built on May 29, 2024, 11 a.m.