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