From 8f166adbaf740a2098f84206d10509c7e0baeca5 Mon Sep 17 00:00:00 2001 From: DominiqueMakowski Date: Fri, 7 Sep 2018 17:19:16 +0200 Subject: [PATCH] fixed dprime #76 --- neurokit/statistics/routines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurokit/statistics/routines.py b/neurokit/statistics/routines.py index 169457f..0e5d3be 100644 --- a/neurokit/statistics/routines.py +++ b/neurokit/statistics/routines.py @@ -90,7 +90,7 @@ def compute_dprime(n_Hit=None, n_Miss=None, n_FA=None, n_CR=None): # dprime - dprime = scipy.stats.norm.ppf(hit_rate_adjusted) - scipy.stats.norm.ppf(hit_rate_adjusted) + dprime = scipy.stats.norm.ppf(hit_rate_adjusted) - scipy.stats.norm.ppf(fa_rate_adjusted) # beta zhr = scipy.stats.norm.ppf(hit_rate_adjusted)