Perform Rosner's generalized extreme Studentized deviate (ESD) test, which assumes
that the distribution is normal (Gaussian), can be used when the number of outliers
is unknown, and becomes more robust as the number of samples increases.
Usage
ESD_test(x, alpha = 0.05, h = 5)
Value
A list class containing the results of the ESD test.
stat a data frame contains the several statistics about ESD test that includes
the index(i), Mean, SD, raw data(x), the location(Obs) in x, ESD statistics(ESDi),
Lambda and Outliers(TRUE or FALSE).
ord a vector with the order index of outliers that is equal to Obs in
the stat data frame.
Arguments
x
(numeric) vector of observations that can be the difference from
Bland-Altman analysis. Normally the relative difference is preferred in IVD trials.
Missing(NA) is allowed but will be removed. There must be at least 10 available
observations in x.
alpha
(numeric) type-I-risk, \(\alpha\).
h
(integer) the positive integer indicating the number of suspected
outliers. The argument h must be between 1 and n-2 where n denotes the number of
available values in x. The default value is h = 5.
References
CLSI EP09A3 Appendix B. Detecting Aberrant Results (Outliers).