gnZ_cond: Simple ACP Estimation with Lower Variance

Description Usage Arguments Value Examples

View source: R/ACI_est.R

Description

Estimates average coverage probability using conditional mean of the estimator with auxiliary randomization when λ ≥ 1/2.

Usage

1
gnZ_cond(chi, lam, xvec)

Arguments

chi

a scalar half-length value χ.

lam

a scalar shrinkage factor λ.

xvec

normalized observed outcome vector.

Value

estimated average coverage probability value.

Examples

1
2
3
xvec <- stats::rnorm(50)
gnZ_cond(1.5, 0.7, xvec)
gnZ_cond(1, 0.5, xvec)

koohyun-kwon/OptACI documentation built on Oct. 6, 2020, 8:09 a.m.