module Math::Quartile
Overview
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
Direct including types
Defined in:
lib/math/quartile.crInstance Method Summary
-
#first_quartile : Float64
alias
-
#interquartile_range : Float64
alias
- #iqr : Float64
- #lower_fence(k : Number = 1.5) : Float64
- #lower_outliers(k : Number = 1.5) : Array
- #lower_quartile : Float64
- #quartiles : Array(Float64)
-
#second_quartile : Float64
alias
-
#third_quartile : Float64
alias
- #upper_fence(k : Number = 1.5) : Float64
- #upper_outliers(k : Number = 1.5) : Array
- #upper_quartile : Float64