pred.smooth.2 {SurrogateSeq} | R Documentation |
Calculates the conditional mean function
Description
Helper function; calculates the condition mean of Y given S, based on Study A data
Usage
pred.smooth.2(kernel.use,kernel.apply, bw,outcome)
Arguments
kernel.use |
surrogate values in the control group in Study A |
kernel.apply |
surrogate values in Study B |
bw |
bandwidth |
outcome |
outcome in the control group in Study A |
Value
expected outcome for each surrogate value
Author(s)
Layla Parast
[Package SurrogateSeq version 1.0 Index]