Description Usage Arguments Value References
This function calculates the standard error of the MRMix estimator using asymptotic theory.
1 | MRMix_se(betahat_x, betahat_y, sx, sy, theta, pi0, sigma2)
|
betahat_x |
GWAS effect estimates of the exposure, recommended to be in standardized scale. Vector of length |
betahat_y |
GWAS effect estimates of the outcome, recommended to be in standardized scale. Vector of length |
sx |
Standard error of |
sy |
Standard error of |
theta |
Estimate of causal effect. |
pi0 |
The probability mass of the null component corresponding to the estimated |
sigma2 |
The variance of the non-null component corresponding to the estimated |
The standard error of MRMix estimator.
Qi, Guanghao, and Nilanjan Chatterjee. "Mendelian randomization analysis using mixture models for robust and efficient estimation of causal effects." Nature Communications 10.1 (2019): 1941.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.