Closed joshestein closed 3 years ago
Adds a new quantile function.
quantile
Uses the 'CDF method' for determining the correct quantiles as described in method 4 here. This is a 'median exclusive' approach - quantile((1, 2, 3, 4, 5), 0.25) === 2.
quantile((1, 2, 3, 4, 5), 0.25) === 2
All committers have signed the CLA.
Looks great! I've published a new version 0.6.6 to NPM
0.6.6
Adds a new
quantile
function.Uses the 'CDF method' for determining the correct quantiles as described in method 4 here. This is a 'median exclusive' approach -
quantile((1, 2, 3, 4, 5), 0.25) === 2
.