mr_meta_fixed: Perform 2 sample IV using fixed effects meta analysis and...

View source: R/mr.R

mr_meta_fixedR Documentation

Perform 2 sample IV using fixed effects meta analysis and delta method for standard errors

Description

Perform 2 sample IV using fixed effects meta analysis and delta method for standard errors

Usage

mr_meta_fixed(b_exp, b_out, se_exp, se_out, 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

causal effect estimate

se

standard error

pval

p-value

Q, Q_df, Q_pval

Heterogeneity stats


MRCIEU/TwoSampleMR documentation built on Sept. 28, 2024, 6:51 p.m.