Approximated quantiles (critical values) and distribution function (giving p-values) for Dixon tests for outliers.
qdixon(p, n, type = 10, rev = FALSE)
pdixon(q, n, type = 10)
vector of probabilities.
vector of quantiles.
length of sample.
integer value: 10, 11, 12, 20, or 21. For description see dixon.test
.
function qdixon
with this parameter set to TRUE acts as pdixon
.
Critical value or p-value (vector).
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.
Dixon, W.J. (1950). Analysis of extreme values. Ann. Math. Stat. 21, 4, 488-506.
Dixon, W.J. (1951). Ratios involving extreme values. Ann. Math. Stat. 22, 1, 68-78.
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.