mbe_est: Mode-based estimate (Hartwig) estimation function

View source: R/mr_mbe-methods.R

mbe_estR Documentation

Mode-based estimate (Hartwig) estimation function

Description

Internal function for calculating mode-based estimate.

Usage

mbe_est(BetaIV.in, seBetaIV.in, phi.in)

Arguments

BetaIV.in

Ratio causal estimates for each genetic variant considered individually.

seBetaIV.in

Standard errors of ratio causal estimates.

phi.in

Bandwidth multiplication factor.

Details

None.

Value

Mode-based estimate.

Examples

mbe_est(BetaIV.in = chdlodds/ldlc, seBetaIV.in = abs(chdloddsse/ldlc), phi.in = 1)


MendelianRandomization documentation built on May 29, 2024, 11:36 a.m.