outlier_turkey {lares}R Documentation

Outliers: Tukey’s fences

Description

Tukey’s fences is a technique used in box plots. The non-outlier range is defined with [Q1-k(Q3-Q1), Q3+k(Q3-Q1)], where Q1 and Q3 are the lower and upper quartiles respectively, k - some non-negative constant (popular choice is 1.5). A value is an outlier based on Tukey’s fences when its value does not lie in non-outlier range.

Usage

outlier_turkey(x, k = 1.5)

Arguments

x

Numeric. Distribution

k

Positive Numeric. K-multiplier.

Value

Boolean vector detecting outliers.

See Also

Other Outliers: outlier_zscore_plot(), outlier_zscore(), winsorize()


[Package lares version 5.2.8 Index]