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

Description Usage Arguments Details Value Author(s)

Description

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

Usage

1
Vbar2(AW, rho = 0.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 expectation of Y given (A,W) is always equal to ρ.

Value

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

Author(s)

Antoine Chambaz [aut, cre]


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