mbe_boot function

Mode-based estimate (Hartwig) bootstrap function

Mode-based estimate (Hartwig) bootstrap function

Internal function for calculating standard error of mode-based estimate.

mbe_boot(BetaIV.in, seBetaIV.in, weighting.in, iterations.in, phi.in)

Arguments

  • BetaIV.in: Ratio causal estimates for each genetic variant considered individually.
  • seBetaIV.in: Standard errors of ratio causal estimates.
  • iterations.in: Number of bootstrap iterations.
  • phi.in: Bandwidth multiplication factor.

Returns

Bootstrapped mode-based estimates.

Details

None.

Examples

mbe_boot(BetaIV.in = chdlodds/ldlc, seBetaIV.in = abs(chdloddsse/ldlc), weighting.in = "simple", iterations.in = 100)
  • Maintainer: Stephen Burgess
  • License: GPL-2 | GPL-3
  • Last published: 2024-04-12

Useful links