Serializers::Stats::Quartiles
Inherits Struct < Value < Object
The quartiles of a set of values.
Constructors
from(values : Enumerable(Float64)) : Quartiles
Computes the quartiles of values.
Interpolates linearly between values. Given no values, there are no quartiles.
new(q1 : Float64 | Nil, median : Float64 | Nil, q3 : Float64 | Nil)
SourceInstance methods
clone
Sourcecopy_with(q1 _q1 = @q1, median _median = @median, q3 _q3 = @q3)
Sourcemedian
q1
q3