@technobuddha > library > Math
Statistics
| Name | Type | Description |
|---|---|---|
| mean | Function | Calculates the Operations mean (average) of an array of numbers. |
| median | Function | Calculates the median value of an array of numbers. |
| mode | Function | Returns 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. |
| standardDeviation | Function | Returns the sample Standard Deviation of the arguments. |
| sum | Function | Calculates the sum of an array of numbers. |
| variance | Function | Returns the unbiased sample Variance of the arguments. |