gnB: ACP Estimation by Polynomial Approximation

Description Usage Arguments Value Examples

View source: R/ACI_est.R

Description

Estimates average coverage probability using polynomial approximation of the ACP function when λ < 1/2.

Usage

1
gnB(chi, lam, xvec, Jn)

Arguments

chi

a scalar half-length value χ.

lam

a vector of shrinkage factors λ.

xvec

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

Jn

the order of polynomial approximation.

Value

vector of estimated average coverage probability values, corresponding to each value of λ in lam.

Examples

1
2
xvec <- rnorm(50)
gnB(1, c(0.3, 0.4), xvec, 2)

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