Identifying Outlier Results in Peptide QC Data: Grubbs' and Dixon's Q
Educational information for a laboratory audience. Not medical advice, not a recommendation for human use. Peak Labs products are for laboratory research use only.
A chromatogram produces three purity values from triplicate injections: 98.7%, 98.9%, and 94.1%. Is the third figure a real signal, an injection fault, a mis-integrated peak, or simply the tail of a normal distribution that happened to land low? Deciding which values belong in a reported result, and which can be set aside, is one of the more consequential judgment calls in peptide quality control. Statistical outlier tests exist precisely to take that decision out of the realm of intuition and put it on a defined, auditable footing.
Why "just remove it" is not an acceptable answer
Discarding an inconvenient data point without a predefined statistical basis is one of the most common data integrity failures a laboratory can commit. It breaks the "Original" and "Accurate" elements of ALCOA+ record-keeping, and it is indistinguishable, on paper, from selectively reporting whichever number makes a batch look better. Regulators and accreditation bodies treat outlier rejection as acceptable only when it follows a method that was chosen before the data were seen, applied consistently, and documented regardless of outcome.
This is the same principle that governs an out-of-specification investigation: a result is not discarded because it is unwelcome, but because an assignable cause, such as a documented instrument fault or sample preparation error, is found and recorded. Statistical outlier tests are one tool used alongside that investigation, not a substitute for it. A statistical flag tells an analyst where to look; it does not by itself justify exclusion.
Grubbs' test
Grubbs' test, described in the ASTM E178 practice for dealing with outlying observations, is designed to detect a single extreme value in a dataset that is otherwise approximately normally distributed. The test statistic compares the distance between the suspect value and the sample mean, expressed in units of the sample standard deviation, against a critical value drawn from a statistical table that depends on the number of observations and the chosen significance level.
Two features of Grubbs' test matter in a peptide testing context. First, it assumes the underlying population is normal; applying it to a visibly skewed dataset, such as a handful of concentration readings near a detection limit, produces unreliable conclusions. Second, the classic form of the test is built to flag one outlier at a time. Running it repeatedly on the same dataset to strip out successive "worst" points, a practice sometimes called outlier hunting, inflates the chance of wrongly rejecting a valid result and is generally discouraged without a modified procedure, such as the extreme studentized deviate method, that accounts for testing more than one point.
Dixon's Q test
Dixon's Q test takes a different approach and is better suited to the small sample sizes common in analytical chemistry, where a result might rest on three to ten replicate measurements rather than dozens. Instead of relying on the sample mean and standard deviation, which are themselves unstable with few points, Dixon's Q compares the gap between the suspect value and its nearest neighbour to the total range of the dataset. A large gap relative to the spread of the data suggests the point does not belong with the rest.
Because triplicate or quadruplicate injections are standard practice for HPLC purity determinations, Dixon's Q appears more often than Grubbs' test in day-to-day peptide QC work. Its critical values, like Grubbs', come from published statistical tables rather than a formula an analyst solves from scratch, and the correct table depends on exactly how many points are in the set and whether one or two suspect values are being evaluated.
Where these tests fit in a quality system
Neither test operates in isolation. The current USP general chapter on analytical data interpretation and treatment, and the broader ISO 5725 series on accuracy and precision of measurement methods, frame outlier testing as one stage in a wider statistical process: first confirm the method is in a state of control, then examine individual results against that baseline. A laboratory that runs control charts across batches over time has a far stronger basis for judging whether a single value is anomalous than one evaluating a result in isolation, because it has an established picture of normal method variability to compare against.
Applied correctly, the sequence looks like this: the test and significance level are fixed in the laboratory's standard operating procedure before any testing begins; the suspect value is identified by a transparent, pre-stated rule, such as "the value furthest from the mean of the set"; the test is run and its result recorded whether or not a flag is raised; and any exclusion is tied to a documented, investigated cause rather than the statistical flag alone. This sequence should be auditable from raw data to reported result, consistent with the record-keeping expectations covered in good laboratory practice.
What this means when reading a certificate of analysis
A buyer evaluating a certificate of analysis is rarely shown the individual replicate values or the outlier test used to arrive at a reported mean, but the absence of any stated methodology is itself informative. A laboratory operating under a real quality system will generally be able to describe, on request, how replicate variability is assessed and how anomalous results are handled, because that description exists in its own procedures regardless of whether it appears on the certificate. A supplier unable to answer basic questions about replicate testing or data handling warrants closer scrutiny, in the same way that a certificate with suspiciously perfect, zero-variance replicate values across every parameter does.
This is also where measurement uncertainty becomes relevant: a reported purity figure is a point estimate drawn from a small number of measurements, and understanding how that uncertainty is expressed gives a more complete picture than the single headline number. Reviewing a supplier's general approach to documentation and testing, including through resources such as a frequently asked questions page, is a reasonable step before relying on any single batch result for research planning.
Practical takeaways for a research laboratory
- Decide the outlier test and acceptance criteria in a written procedure before data are collected, not after an inconvenient result appears.
- Match the test to the sample size: Dixon's Q is generally more appropriate for small replicate sets; Grubbs' test suits larger, approximately normal datasets.
- Treat a statistical flag as a trigger for investigation, not as justification for exclusion on its own.
- Keep every data point, flagged or not, in the permanent record along with the rationale for any exclusion.
- When evaluating an external result, such as a value on a supplier's certificate, ask how replicate variability and anomalies are handled rather than assuming the reported figure is the only data generated.
Sources and further reading
- ASTM E178, Standard Practice for Dealing With Outlying Observations
- ISO 5725, Accuracy (trueness and precision) of measurement methods and results
- NIST/SEMATECH Engineering Statistics Handbook: Grubbs' Test for Outliers
- United States Pharmacopeia (USP), General Chapters on Analytical Data
Research use only. Peak Labs products are supplied strictly for in-vitro laboratory research. They are not medicines or supplements, are not for human or veterinary use, and are not intended to diagnose, treat, cure, or prevent any condition.