- libc6 (>= 2.29)
- libruby3.1t64 (>= 3.1.0~preview2)
- libruby (>= 1:3.1~0)
- libruby (<< 1:3.2~)
Enumerable::Statistics provides some methods to calculate statistical summary
in arrays and enumerables.
.
The following methods are supplied by this library:
- `Array#mean`, `Enumerable#mean` - Calculates a mean of values in an array
or an enumerable
- `Array#variance`, `Enumerable#variance` - Calculates a variance of values
in an array or an enumerable
- `Array#stdev`, `Enumerable#stdev` - Calculates a standard deviation of
values in an array or an enumerable
- `Array#mean_variance`, `Enumerable#mean_variance` - Calculates a mean and a
variance simultaneously
- `Array#mean_stdev`, `Enumerable#mean_stdev` - Calculates a mean and a
standard deviation simultaneously
- `Array#median` - Calculates a median of values in an array
- `Array#percentile(q)` - Calculates a percentile or percentiles of values
in an array
- `Array#value_counts`, `Enumerable#value_counts`, and `Hash#value_counts` -
Count how many items for each value in the container
- `Array#histogram` - Calculate histogram of the values in the array
Installed Size: 482.3 kB
Architectures: arm64 amd64