Dixon's Q test flags a single extreme value in a very small sample (3 ≤ n ≤ 30) by comparing its gap from the nearest neighbour against the full range.
Dixon designed Q for tiny samples (lab replicates, n = 3 to 7 is the classic case) where Grubbs' SD-based statistic is itself too noisy to be useful. The test compares the gap from the suspect value to its nearest neighbour against the total range — a simple geometric framing that needs almost no distributional setup.
Several Dixon variants exist (Q, Q₁₁, Q₂₁ etc.) for different sample sizes; modern implementations pick the right variant automatically. The method here picks the standard r₁₀ / r₁₁ / r₂₁ / r₂₂ ratios from Rorabacher's tables based on n.
One numeric column (3 ≤ n ≤ 30) + significance level α.
Q statistic, the suspect value, and a p-value / critical-value verdict.
Significant Q indicates the suspect is too far from its neighbours to be a member of the same population. As with Grubbs, document the deletion reason; never re-apply iteratively.