View source: R/Functions_Rsurrogate.R
pred.smooth | R Documentation |
Helper function; calculates the expected outcome for control group surrogate values using treatment group surrogate and outcome information.
pred.smooth(zz, zi.one, bw = NULL, y1, weight = NULL)
zz |
surrogate values in the control group |
zi.one |
surrogate values in the treatment group; used to estimate conditional mean function |
bw |
bandwidth |
y1 |
outcome in the treatment group |
weight |
weight |
Details are included in the documentation for R.s.estimate
expected outcome for each surrogate value in the control group
Layla Parast
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.