Qbar2: A conditional Expectation of Y Given (A,W)

Description Usage Arguments Details Value Author(s) References See Also

Description

A conditional expectation of Y given (A,W) to use in getSample.

Usage

1
Qbar2(AW, rho = 1)

Arguments

AW

A data.frame of observations, whose columns contain the components of W and the value of A.

rho

A non-negative numeric, with default value equal to 1.5.

Details

This conditional expectation of Y given (A,W) where W=(U,V) is

\frac{1}{2} + \frac{3}{8}*\cos(ρ*V*π*U)

when A=1 and

\frac{1}{2} + \frac{1}{4}*\sin(3*ρ/V*π*U)

when A=0.

Value

Returns a vector of conditional expectations given (A,W).

Author(s)

Antoine Chambaz [aut, cre]

References

Chambaz, Zheng, van der Laan, https://hal.archives-ouvertes.fr/hal-01301297.

See Also

Qbar1


achambaz/tsml.cara.rct documentation built on May 10, 2019, 5:10 a.m.