mr_ivw_fe: Inverse variance weighted regression (fixed effects)

View source: R/mr.R

mr_ivw_feR Documentation

Inverse variance weighted regression (fixed effects)

Description

Inverse variance weighted regression (fixed effects)

Usage

mr_ivw_fe(b_exp, b_out, se_exp, se_out, parameters = default_parameters())

Arguments

b_exp

Vector of genetic effects on exposure.

b_out

Vector of genetic effects on outcome.

se_exp

Standard errors of genetic effects on exposure.

se_out

Standard errors of genetic effects on outcome.

parameters

List of parameters.

Value

List with the following elements:

b

MR estimate

se

Standard error

pval

p-value

Q, Q_df, Q_pval

Heterogeneity stats


MRCIEU/TwoSampleMR documentation built on April 22, 2024, 8:42 p.m.