powered by
Internal function for calculating weighted median estimate (or simple median estimate if weights are all equal).
weighted.median(theta, weights)
Causal estimate.
Ratio causal estimates for each genetic variant considered individually.
Weights.
None.
weighted.median(theta = chdlodds/ldlc, weights = abs(chdloddsse/ldlc))
Run the code above in your browser using DataLab