mathigon / fermat.js

Mathematics and statistics library for TypeScript.
http://mathigon.io/fermat
MIT License
103 stars 15 forks source link

Quantiles #51

Closed joshestein closed 3 years ago

joshestein commented 3 years ago

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.

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

plegner commented 3 years ago

Looks great! I've published a new version 0.6.6 to NPM