Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

qdixon

critical values and p-values for Dixon tests


Description

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.

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.

See Also


outliers

Tests for outliers

v0.14
GPL (>= 2)
Authors
Lukasz Komsta <lukasz.komsta@umlub.pl>
Initial release
2011-01-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.