Learn R Programming

etsi (version 1.0)

get.mu.hat.0: Calculates the conditional expectation of the primary outcome from the control group in Study A, given the surrogate outcome, using kernel smoothing.

Description

Calculates the conditional expectation of the primary outcome from the control group in Study A, given the surrogate outcome, using kernel smoothing.

Usage

get.mu.hat.0(s, A.s0, A.y0)

Value

Returns the estimated conditional expectation of the primary outcome

Arguments

s

s, the surrogate outcome

A.s0

A.s0, the vector of surrogate outcomes from the control group in Study A

A.y0

A.y0, the vector of primary outcomes from the control group in Study A