Vbar1: A Conditional Variance of Y Given (A,W)

Description Usage Arguments Details Value Author(s) References

Description

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

Usage

1
Vbar1(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 one.

Details

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

(ρ+U+V)^2

when A=1 and

(\frac{1}{ρ+V}+U)^2

when A=0.

Value

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

Author(s)

Antoine Chambaz [aut, cre]

References

Chambaz, van der Laan, Scand. J. Stat., 41(1):104–140 (2014).


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