Skip to content

Commit d887da2

Browse files
authored
Merge 3101a2f into 1e2badb
2 parents 1e2badb + 3101a2f commit d887da2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csep/utils/plots.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,9 +1856,9 @@ def plot_consistency_test(eval_results, normalize=False, axes=None,
18561856
mean = res.test_distribution[1]
18571857
upsilon = 1.0 - ((var - mean) / var)
18581858
tau = (mean ** 2 / (var - mean))
1859-
phigh = scipy.stats.nbinom.ppf((1 - percentile / 100.) / 2., tau,
1859+
plow = scipy.stats.nbinom.ppf((1 - percentile / 100.) / 2., tau,
18601860
upsilon)
1861-
plow = scipy.stats.nbinom.ppf(1 - (1 - percentile / 100.) / 2.,
1861+
phigh = scipy.stats.nbinom.ppf(1 - (1 - percentile / 100.) / 2.,
18621862
tau, upsilon)
18631863

18641864
# empirical distributions

0 commit comments

Comments
 (0)