From 6a6db07b491068532a3c34b522f3a00fc900870b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 24 Jul 2023 23:32:04 +0200 Subject: [PATCH] Adjust the Poisson CI range, since we were frequently getting out of 0.25. --- ultimate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }; -- 2.39.2