Permalink
Browse files

update obsolete comment about BinomialDistribution

  • Loading branch information...
1 parent 7641dbb commit 013fb3da99fea67662598ce0eb1180d2e9ec9caa @showard showard committed May 7, 2012
Showing with 2 additions and 6 deletions.
  1. +2 −6 abba/stats.js
View
8 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;

0 comments on commit 013fb3d

Please sign in to comment.