Based on new script for weighted median confidence interval, update 31 July 2015.

weighted_median_bootstrap(b_exp, b_out, se_exp, se_out, weights, nboot)

## Arguments

b_exp Vector of genetic effects on exposure. Vector of genetic effects on outcome. Standard errors of genetic effects on exposure. Standard errors of genetic effects on outcome. Weights to apply to each SNP. Number of bootstrap replications. The default is 1000.

## Value

Empirical standard error