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

LD score regression trait correlation ERROR:invalid value encountered in sqrt #117

Open
despinaman opened this issue May 14, 2018 · 10 comments

Comments

@despinaman
Copy link

Hi,

I am running LDSR correlation between two traits (t1d and w6), and when I run the analysis considering an intercept I get the following error:FloatingPointError: invalid value encountered in sqrt

Since there is no sample overlap in the T1D and w6 GWASes, when I constrain the intercept (--no-intercept), the analysis is done, and I get a result that seems expected.

I guess there is a problem with a negative number in a square root, but, why this appears? And why it does not appear when I constrain the intercept?

Thank you!

@rkwalters
Copy link
Collaborator

rkwalters commented May 15, 2018 via email

@despinaman
Copy link
Author

despinaman commented May 16, 2018 via email

@despinaman
Copy link
Author

despinaman commented May 16, 2018 via email

@rkwalters
Copy link
Collaborator

rkwalters commented May 16, 2018 via email

@despinaman
Copy link
Author

despinaman commented May 16, 2018 via email

@rkwalters
Copy link
Collaborator

rkwalters commented May 17, 2018 via email

@despinaman
Copy link
Author

despinaman commented May 17, 2018 via email

@rkwalters
Copy link
Collaborator

rkwalters commented May 17, 2018 via email

@despinaman
Copy link
Author

despinaman commented May 18, 2018 via email

@rkwalters
Copy link
Collaborator

rkwalters commented May 18, 2018 via email

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