Q‑Test Calculator

Q‑Test (Dixon’s Q Test) Calculator

Enter your sample data (comma‑separated numbers) and select whether to test the lowest or the highest value as a potential outlier.

* Note: The test is typically used for small samples (3 ≤ n ≤ 30).

Step 1: Enter Your Data

e.g., 4.2, 4.5, 4.7, 4.8, 7.2

Select Candidate Outlier:

How It Works

The Q‑statistic is calculated as:

  • Lowest value test: \( Q = \frac{x_2 – x_1}{x_n – x_1} \)
  • Highest value test: \( Q = \frac{x_n – x_{n-1}}{x_n – x_1} \)

where \(x_1\) is the smallest, \(x_2\) is the second smallest, \(x_{n-1}\) is the second largest, and \(x_n\) is the largest value in the sorted sample.

For more details on critical values, please refer to a Dixon Q test table.

Dixon’s Q-Test Critical Values (Q10)

Critical Values for the Q-Test of a Single Outlier (Q10)

The following table provides critical values for Q(α, n), where α is the probability of incorrectly rejecting the suspected outlier and n is the number of samples in the data set.

Critical Values for Q10 (Single Outlier)
n ⇓ / α ⇒ 0.10 0.05 0.04 0.02 0.01
30.9410.9700.9760.9880.994
40.7650.8290.8460.8890.926
50.6420.7100.7290.7800.821
60.5600.6250.6440.6980.740
70.5070.5680.5860.6370.680
80.4680.5260.5430.5900.634
90.4370.4930.5100.5550.598
100.4120.4660.4830.5270.568