system.math
Math Functionsβ
The following functions assist with running statistical analysis.
ποΈ geometricMean
Calculates the geometric mean.
ποΈ kurtosis
Calculates the kurtosis of a sequence of values.
ποΈ max
Given a sequence of values, returns the greatest value in the sequence, also known as the "max" value.
ποΈ mean
Given a sequence of values, calculates the arithmetic mean (average).
ποΈ meanDifference
Given two sequences of values, calculates the mean of the signed difference between both sequences.
ποΈ median
Takes a sequence of values, and returns the median.
ποΈ min
Given a sequence of numerical values, returns the minimum value, also known as the "min" value.
ποΈ mode
Given a sequence of values, returns the 'mode', or most frequent values.
ποΈ normalize
Given a sequence of values, normalizes the values.
ποΈ percentile
Given a sequence of numerical values, estimates the percentile of input.
ποΈ populationVariance
Given a sequence of values, returns the population variance.
ποΈ product
Given a sequence of values, calculates the product of the sequence.
ποΈ skewness
Given a sequence of values, calculates the skewness (third central moment).
ποΈ standardDeviation
Given a sequence of numerical values, calculates the simple standard deviation.
ποΈ sum
Given a sequence of values, calculates the sum of all values.
ποΈ sumDifference
Given two sequences of values, calculates the sum of the signed difference between both sequences.
ποΈ sumLog
Given a sequence of values, calculates the sum of the natural logs.
ποΈ sumSquares
Given a sequence of values, calculates the sum of the squares of all values.
ποΈ variance
Given a sequence of values, calculates the variance of all values.