interquartile - part-cw/lambdanative GitHub Wiki
(interquartile lst)
interquartile returns the interquartile range, the difference between the first and third quartiles.
Parameter | Description |
---|---|
lst | List to operate on |
Example
Example 1: Show some quartile information of a list
> (define lst '(1 2 3 4 5 6 7 8 9))
> (first-quartile lst)
3
> (median lst)
5
> (third-quartile lst)
8
> (interquartile lst)
5