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

compute_dprime function has n_hits, n_miss, n_cr, n_fa hard coded #76

Closed
jonathanicholas opened this issue Sep 6, 2018 · 4 comments
Closed

Comments

@jonathanicholas
Copy link

Hi--Thanks for developing this repo. I wanted to compare my own dprime/aprime calculations with ones from other repos and found the following:

Should be an easy fix. Thanks!

DominiqueMakowski added a commit that referenced this issue Sep 7, 2018
@DominiqueMakowski
Copy link
Member

DominiqueMakowski commented Sep 7, 2018

Indeed a bug that must have passed through the tests! thanks for noticing!!
Should be fixed on master now

@jonathanicholas
Copy link
Author

No worries! It also looks like there's a bug in the dprime calculation where hit_rate_adjusted is subtracted from hit_rate_adjusted rather than fa_rate_adjusted

dprime = scipy.stats.norm.ppf(hit_rate_adjusted) - scipy.stats.norm.ppf(hit_rate_adjusted)

DominiqueMakowski added a commit that referenced this issue Sep 7, 2018
@DominiqueMakowski
Copy link
Member

Damn! lucky you're here :)

@jonathanicholas
Copy link
Author

hah, no problem! Gonna close this issue now.

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