Skip to content

@technobuddha > library > Math

Statistics

NameTypeDescription
meanFunctionCalculates the Operations mean (average) of an array of numbers.
medianFunctionCalculates the median value of an array of numbers.
modeFunctionReturns the mode (the most frequently occurring element) of the given array. If multiple elements have the same highest frequency, the first encountered is returned. Returns undefined if the array is empty.
standardDeviationFunctionReturns the sample Standard Deviation of the arguments.
sumFunctionCalculates the sum of an array of numbers.
varianceFunctionReturns the unbiased sample Variance of the arguments.