/statistics-module

It has function to calculate statistics of a single dimensional array

Primary LanguageJavaScript

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