enumerable-stats
A Ruby gem that extends all Enumerable objects (Arrays, Ranges, Sets, etc.) with essential statistical methods. Provides mean, median, variance, and standard deviation calculations, along with robust outlier detection using the IQR method. Perfect for data analysis, performance monitoring, A/B testing, and cleaning datasets with extreme values. Zero dependencies and works seamlessly with any Ruby collection that includes Enumerable.
Types
Docs
Guides
Zeitwerk
Namespace
Optimized
1.4.0
Jon Daniel
-
bundle add enumerable-stats
Getting Started
Learn more about the Enumerable-stats gem.
Playground
Test, play and inspect the gem for yourself