Description Usage Arguments Details Value Author(s) References

View source: R/Functions_Rsurrogate.R

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

1 | ```
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.

Rsurrogate documentation built on May 29, 2017, 6:16 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.