pred.smooth.2: Calculates the conditional mean function

View source: R/SurrogateSeq.functions.R

pred.smooth.2R 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


SurrogateSeq documentation built on April 4, 2025, 12:27 a.m.