Skip to content

Commit 5b5c329

Browse files
committed
Provide sources for the 1.5 iqr rule
1 parent 947483c commit 5b5c329

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/statistex.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ defmodule Statistex do
8787

8888
@first_quartile 25
8989
@third_quartile 75
90+
# https://en.wikipedia.org/wiki/Interquartile_range#Outliers
91+
# https://builtin.com/articles/1-5-iqr-rule
9092
@iqr_factor 1.5
9193

9294
@doc """

0 commit comments

Comments
 (0)