From: Steinar H. Gunderson Date: Mon, 24 Jul 2023 21:32:04 +0000 (+0200) Subject: Adjust the Poisson CI range, since we were frequently getting out of 0.25. X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6a6db07b491068532a3c34b522f3a00fc900870b;p=pkanalytics Adjust the Poisson CI range, since we were frequently getting out of 0.25. --- diff --git a/ultimate.js b/ultimate.js index 04e9bad..5642c73 100644 --- a/ultimate.js +++ b/ultimate.js @@ -753,14 +753,14 @@ function make_poisson_ci(val, num, z, inverted) // Fix the signs so that we don't get -0.00. low = Math.max(low, 0.0); - // The display range of 0 to 0.25 is fairly arbitrary. So is the desired 0.05 per point. + // The display range of 0 to 0.5 is fairly arbitrary. So is the desired 0.05 per point. let avg = val / num; return { 'val': avg, 'lower_ci': low, 'upper_ci': high, 'min': 0.0, - 'max': 0.25, + 'max': 0.5, 'desired': 0.05, 'inverted': inverted, };