Skip to content

interquartileRange

interquartileRange(x): number

Defined in: src/interquartile_range.js:15

The Interquartile range is a measure of statistical dispersion, or how scattered, spread, or concentrated a distribution is. It’s computed as the difference between the third quartile and first quartile.

number[]

sample of one or more numbers

number

interquartile range: the span between lower and upper quartile, 0.25 and 0.75

interquartileRange([0, 1, 2, 3]); // => 1.5