Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

absolute value of Bx #3

Open
ghost opened this issue Oct 7, 2020 · 2 comments
Open

absolute value of Bx #3

ghost opened this issue Oct 7, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2020

I'm calculating Isq using mr_egger(). But I noticed that you took absolute value of Bx in line 70. Could you explain why did you take the absolute value? There is no absolute value in the formula of Q statistic proposed by Bowden IJE 2016. Thank you.

@gaborcsardi
Copy link

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Thanks!

@sb452
Copy link
Contributor

sb452 commented Jul 28, 2022

MR-Egger depends on the orientation of the genetic variants - i.e. which is the effect allele, which is the other (non-effect) allele. Conventionally, we set all the effect alleles to be the exposure-increasing alleles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants