Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Dec 19, 2021
1 parent 27e1374 commit b08c76b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stats/similar.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,8 @@ const getErrorSquared = function (stdev, length) {
return (stdev / Math.sqrt(length)) ** 2
}

// Significance level when computing the welch t-test.
// A higher value increases the false positives
// - i.e. `diffPrecise: false` but is actually `true`
// A lower value increases the false negatives (inverse).
const SIGNIFICANCE_LEVEL = 0.95

0 comments on commit b08c76b

Please sign in to comment.