cov_prob_nobias: Unbiased Half-oracle Average Coverage Probability Estimator

Description Usage Arguments Value Examples

View source: R/ACI_orc.R

Description

Estimates average coverage probability with the same series approximation procedure as gnB, and then removes the truncation bias.

Usage

1
cov_prob_nobias(chi, lam, th_vec, Jn, xvec)

Arguments

chi

a scalar half-length value χ.

lam

a scalar shrinkage factor λ.

th_vec

a normalized mean vector.

Jn

the order of polynomial approximation.

xvec

normalized observed outcome vector, corresponding to z_i in the paper.

Value

average coverage probability.

Examples

1
2
3
th_vec <- stats::rnorm(50)
xvec <- stats::rnorm(50, th_vec)
cov_prob_nobias(1, 0.5, th_vec, 2, xvec)

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