View source: R/mr_pivw-methods.R
BF_dist | R Documentation |
Internal function of the penalized inverse-variance weighted (pIVW) method, which generates bootstrap samples for the bootstrapping Fieller's confidence interval.
BF_dist(
object,
beta_hat = 0,
tau2 = 0,
lambda = 1,
n_boot = 1000,
seed_boot = 1
)
object |
An |
beta_hat |
The causal effect estimate. |
tau2 |
The estimated variance of the horizontal pleiotropy. |
lambda |
The penalty parameter in the pIVW estimator. By default, |
n_boot |
The sample size of the bootstrap samples. By default, |
seed_boot |
The seed for random sampling in the bootstrap method. By default, |
z_b |
A vector containing the bootstrap samples for the bootstrapping Fieller's confidence interval. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.