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

Description Usage Arguments Details Value Author(s) References

View source: R/Functions_Rsurrogate.R

Description

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

Usage

1
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 Nov. 14, 2021, 9:07 a.m.