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 62178c2 commit 27e1374
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/stats/moe.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,9 @@ const getTvalue = function (length) {
return getStudentTValue(length - 1, SIGNIFICANCE_LEVEL)
}

// Significance level when computing the `moe`.
// A lower value:
// - Makes measures outside the confidence interval more frequent
// - Requires a higher `MIN_STDEV_LOOPS`
// A higher value slows benchmarks.
const SIGNIFICANCE_LEVEL = 0.95

0 comments on commit 27e1374

Please sign in to comment.