mr_penalised_weighted_median | R Documentation |
Modification to standard weighted median MR Updated based on Burgess 2016 "Robust instrumental variable methods using multiple candidate instruments with application to Mendelian randomization"
mr_penalised_weighted_median(
b_exp,
b_out,
se_exp,
se_out,
parameters = default_parameters()
)
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 containing |
List with the following elements:
MR estimate
Standard error
p-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.