rondolab / MR-PRESSO

Performs the Mendelian Randomization Pleiotropy RESidual Sum and Outlier (MR-PRESSO) method.
81 stars 30 forks source link

95% confidence interval for causal estimate in MR-PRESSO #14

Open Tahzeeb opened 3 years ago

Tahzeeb commented 3 years ago

Hi

I was wondering if there is a way to calculate 95% CI for the causal estimates in 'mr_presso' along with or right after running this function, like we do for 'lm' etc?

Many thanks and kind regards Tahzeeb

marieverbanck commented 2 years ago

Hi @Tahzeeb, it could be implemented indeed. You can do it manually using the causal estimate and its standard error and quantiles of the corresponding Student's t-distribution (with degrees of freedom equal to number of IVs - number of exposures). Best, Marie