From 013fb3da99fea67662598ce0eb1180d2e9ec9caa Mon Sep 17 00:00:00 2001 From: Steve Howard Date: Mon, 7 May 2012 13:57:15 -0700 Subject: [PATCH] update obsolete comment about BinomialDistribution --- abba/stats.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/abba/stats.js b/abba/stats.js index 8651e49..d5056bd 100644 --- a/abba/stats.js +++ b/abba/stats.js @@ -41,12 +41,8 @@ Abba.NormalDistribution.prototype = { } }; -/* Distribution functions for the binomial distribution. Relies entirely on the normal - approximation. - - jStat's binomial functions do not seem be to reliable or as performant for large cases. This - class could be improved by making it compute exact binomial functions for small cases and fall - back to the normal approximation for large cases. +/* Distribution functions for the binomial distribution. Computes exact binomial results for small + samples and falls back on the normal approximation for large samples. */ Abba.BinomialDistribution = function(numTrials, probability) { this.SMALL_SAMPLE_MAX_TRIALS = 100;