module

Math::Quartile

There are several methods for computing the quartiles of an array.

This library utilizes the method proposed by John Tukey https://en.wikipedia.org/wiki/Quartile#Method_2

Instance methods

first_quartile

alias

Source
interquartile_range

alias

Source
lower_fence(k : Number = 1.5) : Float64
Source
lower_outliers(k : Number = 1.5) : Array
Source
lower_quartile
Source
quartiles
Source
second_quartile

alias

Source
third_quartile

alias

Source
upper_fence(k : Number = 1.5) : Float64
Source
upper_outliers(k : Number = 1.5) : Array
Source
upper_quartile
Source