Description Usage Arguments Value Examples
Estimates average coverage probability with the same series approximation
procedure as gnB
, and then removes the truncation bias.
1 | cov_prob_nobias(chi, lam, th_vec, Jn, xvec)
|
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. |
average coverage probability.
1 2 3 | th_vec <- stats::rnorm(50)
xvec <- stats::rnorm(50, th_vec)
cov_prob_nobias(1, 0.5, th_vec, 2, xvec)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.