Skip to content

Commit

Permalink
update obsolete comment about BinomialDistribution
Browse files Browse the repository at this point in the history
  • Loading branch information
showard committed May 7, 2012
1 parent 7641dbb commit 013fb3d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions abba/stats.js
Expand Up @@ -41,12 +41,8 @@ Abba.NormalDistribution.prototype = {
} }
}; };


/* Distribution functions for the binomial distribution. Relies entirely on the normal /* Distribution functions for the binomial distribution. Computes exact binomial results for small
approximation. samples and falls back on the normal approximation for large samples.
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.
*/ */
Abba.BinomialDistribution = function(numTrials, probability) { Abba.BinomialDistribution = function(numTrials, probability) {
this.SMALL_SAMPLE_MAX_TRIALS = 100; this.SMALL_SAMPLE_MAX_TRIALS = 100;
Expand Down

0 comments on commit 013fb3d

Please sign in to comment.