mr_steiger2 | R Documentation |
A statistical test for whether the assumption that exposure causes outcome is valid
mr_steiger2(r_exp, r_out, n_exp, n_out, r_xxo = 1, r_yyo = 1, ...)
r_exp |
Vector of correlations of SNP-exposure |
r_out |
Vector of correlations of SNP-outcome |
n_exp |
Sample sizes for p_exp |
n_out |
Sample sizes for p_out |
r_xxo |
Measurememt precision of exposure |
r_yyo |
Measurement precision of outcome |
... |
Further arguments to be passed to |
List with the following elements:
Estimated variance explained in x
Estimated variance explained in y
Predicted variance explained in x accounting for estimated measurement error
Predicted variance explained in y accounting for estimated measurement error
TRUE
/FALSE
p-value for inference of direction
TRUE
/FALSE
, direction of causality for given measurement error parameters
p-value for inference of direction of causality for given measurement error parameters
Total volume of the error parameter space
Volume of the parameter space that gives the incorrect answer
Volume of the paramtere space that gives the correct answer
Ratio of vz1/vz0. Higher means inferred direction is less susceptible to measurement error
Plot of parameter space of causal directions and measurement error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.