Module

x/simplestatistics/index.js>interquartileRange

simple statistics for node & browser javascript
Latest
function interquartileRange
import { interquartileRange } from "https://dotland.deno.dev/x/simplestatistics@v7.8.3/index.js";

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.

Examples

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

Parameters

x

sample of one or more numbers