Approximated quantiles (critical values) and distribution function (giving p-values)
for Dixon tests for outliers.
Usage
qdixon(p, n, type = 10, rev = FALSE)
pdixon(q, n, type = 10)
Arguments
p
vector of probabilities.
q
vector of quantiles.
n
length of sample.
type
integer value: 10, 11, 12, 20, or 21. For description see dixon.test.
rev
function qdixon with this parameter set to TRUE acts as pdixon.
Details
This function is based on tabularized Dixon distribution, given by Dixon (1950) and corrected
by Rorabacher (1991). Continuity is reached due to smart interpolation using qtable function.
By now, numerical procedure to obtain these values for n>3 is not known.
Value
Critical value or p-value (vector).
Author(s)
Lukasz Komsta
References
Dixon, W.J. (1950). Analysis of extreme values. Ann. Math. Stat. 21, 4, 488-506.
Rorabacher, D.B. (1991). Statistical Treatment for Rejection of Deviant Values: Critical Values of Dixon Q Parameter and Related Subrange Ratios at the 95 percent Confidence Level. Anal. Chem. 83, 2, 139-146.