Find Outlier Threshold
find_threshold(outlier_score, alpha, outtail = c("max", "min"), p, tn)
A vector of outlier scores. Can be a named vector or a vector with no names.
Threshold for determining the cutoff for outliers. Observations are considered outliers if they fall in the \((1- alpha)\) tail of the distribution of the nearest-neighbor distances between exemplars.
Direction of the outlier tail.
Proportion of possible candidates for outliers. This defines the starting point for the bottom up searching algorithm.
Sample size to calculate an empirical threshold
The indexes (or names, if the input is named vactor) of the observations determined to be outliers.