Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 505 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 505 Bytes

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