DHUListNumStats extension
Extension on Iterable<num> providing statistical operations.
This extension adds properties to calculate the mean, median, mode, variance, standard deviation, and percentiles of a numeric iterable.
Properties
- mean → num
-
Available on Iterable<
Calculates the mean (average) of the numbers in the iterable.num> , provided by the DHUListNumStats extensionno setter - median → num
-
Available on Iterable<
Determines the median value of the numbers in the iterable.num> , provided by the DHUListNumStats extensionno setter -
mode
→ List<
num> -
Available on Iterable<
Finds the mode(s) of the numbers in the iterable.num> , provided by the DHUListNumStats extensionno setter - standardDeviation → num
-
Available on Iterable<
Calculates the standard deviation of the numbers in the iterable.num> , provided by the DHUListNumStats extensionno setter - variance → num
-
Available on Iterable<
Computes the variance of the numbers in the iterable.num> , provided by the DHUListNumStats extensionno setter
Methods
-
percentile(
double percentile) → num -
Available on Iterable<
Computes the specifiednum> , provided by the DHUListNumStats extensionpercentileof the numbers in the iterable.