WLJS LogoWLJS Notebook

QnDispersion

QnDispersion[list] gives the Qn statistic of the elements in list.

QnDispersion[list,c] gives the Qn statistic with a scaling factor c.

Examples

Compute the Qn dispersion of a list:

QnDispersion[{1, 2, 3, 4, 5, 100}]
(* 2.21914 *)

Compare with standard deviation (Qn is more robust to outliers):

StandardDeviation[{1, 2, 3, 4, 5, 100}]
(* 39.0128 *)

Please visit the official Wolfram Language Reference for more details.

On this page