New method from Jack

weighted_median(b_iv, weights)

Arguments

b_iv

Wald ratios

weights

Weights of each SNP

Value

MR estimate