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
)
A vector containing the bootstrap samples for the bootstrapping Fieller's confidence interval.
An MRInput
object.
The causal effect estimate.
The estimated variance of the horizontal pleiotropy.
The penalty parameter in the pIVW estimator. By default, lambda=1
.
The sample size of the bootstrap samples. By default, n_boot=1000
.
The seed for random sampling in the bootstrap method. By default, seed_boot=1
.