diff --git a/src/threshold/scott.js b/src/threshold/scott.js index 27044f85..86a02740 100644 --- a/src/threshold/scott.js +++ b/src/threshold/scott.js @@ -2,5 +2,5 @@ import count from "../count.js"; import deviation from "../deviation.js"; export default function thresholdScott(values, min, max) { - return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(count(values), -1 / 3))); + return Math.ceil((max - min) / (3.49 * deviation(values) * Math.pow(count(values), -1 / 3))); }