Skip to main content
Module

x/simplestatistics/index.js>iqr

simple statistics for node & browser javascript
Go to Latest
function iqr
import { iqr } from "https://deno.land/x/simplestatistics@v7.7.5/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