QRan Function

Returns the range from the 1st to the 3rd quartile


Description

The function \(QRan\) returns the range from the 1st to the 3rd quartile of a sorted list.

Quartiles divide the underlying distribution into four quarters. \(QRan\) returns the area between the first \(Q1\) and the third quarter \(Q3\) of the distribution.


Syntax

QRan (List)

Example

a=[3,6,7,8,8,10,13,15,16,20]

QRan(a)= 7 8 8 10 13 15