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

is it acceptable to have pip=1 but posterior beta=0? #200

Open
WeiCSong opened this issue Sep 26, 2023 · 4 comments
Open

is it acceptable to have pip=1 but posterior beta=0? #200

WeiCSong opened this issue Sep 26, 2023 · 4 comments

Comments

@WeiCSong
Copy link

WeiCSong commented Sep 26, 2023

Hi, thanks for the great tool! In my analysis I found some variants that have PIP>0.99, but when using susie_get_posterior_mean() i got beta=0. I'm not sure whether this is reasonable or there is any issues with my data, do you have any suggestion? Thanks for your help!

@gaow
Copy link
Member

gaow commented Sep 26, 2023

@WeiCSong are you sure you did not misaligned the variants? What you said does not sound likely ...

BTW, if you want to get the regression coefficient, you should try coef(fitted) where fitted is output of susie() or susie_rss(). That will also give you intercept.

@WeiCSong
Copy link
Author

Thanks for the suggestion! I'll check my data for this issue.

@WeiCSong are you sure you did not misaligned the variants? What you said does not sound likely ...

BTW, if you want to get the regression coefficient, you should try coef(fitted) where fitted is output of susie() or susie_rss(). That will also give you intercept.

@WeiCSong
Copy link
Author

@WeiCSong are you sure you did not misaligned the variants? What you said does not sound likely ...

BTW, if you want to get the regression coefficient, you should try coef(fitted) where fitted is output of susie() or susie_rss(). That will also give you intercept.

Another small question, could coef() or other functions also extract the sd for regression coefficients, as get_posterior_sd? thanks!

@gaow
Copy link
Member

gaow commented Sep 26, 2023

I think get_posterior_sd is the only way for that purpose

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