very-simple-statistics

few functions that applies statistical formulaes

Usage no npm install needed!

<script type="module">
  import verySimpleStatistics from 'https://cdn.skypack.dev/very-simple-statistics';
</script>

README

statistics-module

It has function to calculate statistics of a single dimensional array

stat.sum(array)

stat.min(array)

stat.max(array)

stat.product(array)

stat.mean(array)

stat.geometricMean(array)

stat.harmonicMean(array)

stat.median(array)

stat.mode(array)

stat.variance(array)

stat.standardDeviation(array)

stat.meanAbsoluteDeviation(array)

stat.medianAbsoluteDeviation(array)

stat.quantile(array, order); //order is the order of the quartile, if not passed it will be 4 i.e quartile