Quality Control



Abstract. There are three levels of quality control with their unique testing procedures: control charts are used by analysts to measure the performance of their procedure, the blind duplicate is used by the lab supervisor to monitor the performance of his lab, and the proficiency test allows external organizations to measure the performance of a lab. The control chart and the cusum chart are prepared by analysts and plot the measured concentration of the reference material. A single statistically significant deviation from the known value indicates an out of control method. Blind duplicates test for excessive random error by presenting the analyst with two identical samples. If the measured concentrations differ by more than 2.8*s, the method warrants inspection. Finally, an external organization can conduct a proficiency test by distributing identical, homogenous samples to a number of laboratories, then measuring the individual laboratories’ deviation from the average measured value.

Keywords Quality, Control chart, Blind duplicate, Proficiency test, Reference material, System suitability, Warning limit, Alarm limit, In control, Out of control, Cusum chart, t-Test, F-test, Z score, Intralaboratory reproducibility (r), Interlaboratory reproducibility (R)

Level: Advanced

Why quality control?
In quality control we test the consistency of our measurements and thereby the performance of our laboratory in daily operations. While not restricted to routine analyses, this is certainy the area where quality control has its main impact. We distinguish three circles of quality control, each addresing a different aspect of the laboratory and each with its own protocol:  

  • First circle of quality control by analysts familiar
    with a particular routine analysis:
    The control chart
  • Second circle of quality control by the lab superviser
    to monitor the competence of his personnel:
    The blind duplicate
  • Third circle of quality control by an external organisation
    to assess the performance of the laboratory:
    The proficiency test

First circle quality control

Objective of the first circle of quality control

The first circle of quality control tells the operator wether or not the routine analysis under consideration is producing correct results. The test is carried out by the analyst and the result of the test is also interpreted by the analyst as either positive: the analysis is performing as expected (in jargon: it is in control), or negative: the result is suspicious and the analysis can no longer be trusted (in jargon: it s out of control). The relevant test is the control chart. 

The control chart

Preparing the control chart

1. Select a typical sample or suitable reference materal, that is

  • available in suffcient quantity
  • stable over a long period, at least six months
  • homogeneous

2. Analyze twenty times under reproducibility conditions, taking into account all variations that are normally encountered. If the determination is carried out by more than one analyst it is advised that they all participate in collecting the first twenty data points. Plot the data as a control chart, as illustrated in the figure: 

Preparing the control chartPreparing the control chart

Evaluating the control chart

Accepting the control chart

  • Verify that the data scatter around the average
  • If the control chart is prepared with a reference sample of known composition, then the average can be checked for systematic deviation by comparison with the certified value
  • Draw the alarm limits at ±3s and the warning limits at ±2s
  • If, for the particular analysis, the standard deviation is known (e.g. from a ringtested  procedure), it can be compared with the observed standard deviation using the F-test

The control chart is now ready for use. Please note also that:  

  • Control charts are intended for routine analyses that are frequently executed
  • Data must be entered by all analysts that regularly perform the analysis
  • The frequency with which the control sample must be measured is determined by the variation of the conditions and must be determined experimentally
  • The control chart validates the entire analytical procedure including the instrumental and personnel factors

It is, therefore, a total system suitability test.

Using the control chart

Using the control chart in daily operations

Periodically, the control sample is measured and the result entered into the control chart. As long as the data points continue to undulate around the target value and remain within the ± 2s warning limits, the analysis is said to be in control. Results from samples analysed between two successive satisfactory measurements of the control sample can then be trusted. An occasional result above the warning limit (but below the alarm limit) is no reason for panic. However, from time to time, say after every 20 to 30 new data points, we do check the new average (using the t-test) and standard deviation (using the F-test) against the original values.

Consecutive use of the control chartConsecutive use of the control chart

The average and standard deviation calculated from the (new) results 20-38 do not deviate significantly from the original values when the control chart was set up. Hence, the average, the warning limit and the alarm limit remain unaltered.

Out of control situations

Alerting that the analysis is out of control

The three important deviations indicating that the analysis is no longer under control are indicated in the figure:

  1. two successive measurements of the control sample exceed the warning limit
  2. eight successive measurements of the control sample fall on one side of the average
  3. a single measurement exceeds the alarm limit

All three situations have a probability less than 1% of being due to pure chance (i.e. random error) 

Three out of control situationsThree out of control situations

As soon as any of these three out-of-control situations is observed, the analysis of samples should be suspended until the cause of the deviation has been identified and remedied. All samples analyzed since the last in-control data point should be reexamined.

Cusumcharts

An alternative to the regular control chart

The regular control chart records the results as such. In the alternative cusumchart the difference of the result with the average is added to the previous data points.

The cusumchart is an extension of the regular control chartThe cusumchart is an extension of the regular control chart

A cusum chart is a cumulative plot of the deviation of each data point from the average, as defined in the figure. For a stable in-control situation, there is not much difference between the two charts and the cusum chart offers no additional information.

Advantage of the cusumchart

Differences between regular and cusumchart in detecting out-of-control situations

The cusumchart offers valuable additional information in cases that give rise to concern, but are not so obvious in the regular control chart. For example, a gradual drift in the meaurements of the control sample leading to successive data on one side of the average is much more readily detected by the cusumchart.

Difference between regular and cusumchart Difference between regular and cusumchart

In control?

Example of the power of the cusumchart

A normal in control situation?A normal in control situation?

In this example the regular control chart signals neither of the three out-of-control situations and hence, does not question the validity of the results. Everything appears to be in good order.

However, if we now construct a cusum chart for the same data points, we come to a different conclusion.

The cusumchart reveals a deviationThe cusumchart reveals a deviation

Please note the difference:Whereas the regular control chart considers the procedure in-control, the cusum chart demonstrates a decided drift.

However, the regular control chart could also have revealed this!:

Calculating new values for average and standard deviationCalculating new values for average and standard deviationReturning to the original data we can calculate new values for the average and the standard deviation from the  measurements 21 through 38. The results are average 30.7 and standard deviation 1.11. These may be compared with the initial values of 30.0 and 1.20, using the t-test and the F-test, respectively.     For the standard deviations we find F=(1.20/1.11)2 = 1.17, whereas the critical value for F(20,18)0.05 is equal to 2.2; hence there is no significant difference and the initial standard deviation of 1.20 can be retained. The new average of 30.7 differs +0.7 from the initial value of 30.0 with a standard deviation of this difference equal to the square root of 1.202/20 + 1.112/18 or 0.37; so that t = 0.7/0.37 = 1.9. This is larger than the critical value t(N>20)=1.7. Thus,  the regular control chart also indicates a significant upward shift of the average value. Although the standard deviation has not changed the ensuing warning and alarm limits also shift upward with the new average.This is now the control chart until new data signal another significant change in either the average or the standard deviation (or both). This example demonstrates the importance of periodic check f the control chart. The advantage of the cusum-chart is its early visualization of drift.

Second circle quality control

The blind duplicate
In contrast to the first circle of quality ontrol, which is executed by the analyst himself, the second circle is imposed by the laboratory superviser or the quality manager. The purpose is to verify the validity of the laboratory determination without the awareness of the analyst. It therefore an assessment of the analysts performance.

ProcedureThe analyst receives two duplicates of an arbitrary sample without any indication that they are the same. With 95% confidence, the results (c1 and c2) should not differ by more than 2.8*s:
c1 – c2 < r = 2.8 * s    
where s is the standard deviation of the method tested.If the two results differ more, we conclude that an error has occurred and that the analysis warrants closer inspection.

Comments

  • The procedure is applicable to any analysis, routine or non-routine.
  • When blind duplicates are used frequently to test the same analysis, an occasional difference larger than r is to be expected.
  • The blind duplicatechecks for random, but not for systematic errors or drift.
  • The procedure can also be initiated by the customer (without knowledge of the laboratory) who wishes to increase his confidence in the results returned by the laboratory.

Third circle quality control

The proficiency test

The third circle of quality control is the most stringent. The purpose is to verify the competence of the laboratory as a whole for a particular determination. To this end the laboratory participates in a round-robin organized by a qualified outside organisation. By comparing its results with those from all participants the laboratory can judge its proficiency relative to its colleagues. For optimal results, the laboratory should only participate in round-robins for tests with which it has experience. That is for tests that belong to the standard package of the daily operations.

Procedure
The procedures used by different organisations vary, but in all cases the organization distributes a homogeneous sample (or samples) to all participants with strict instructions for the analysis. The participants submit their results, whereupon the organization:

  • Removes outliers with appropriate statistical tests, i.e. results that
    • (a) deviate too much from the average or  
    • (b) demonstrate too large a difference between blind duplicates.
  • Calculates from the remaining results
    • the average
    • the mean over all participants of the intra-laboratory reproducibility, r 
    • the inter-laboratory reproducibility, R
  • Returns the Z-scores to the participants, indicating the difference between their 
    individual results and the average, i.e.
    Zi = (ci – cavg )/s inter-laboratory = 2.8*(ci – cavg)/R
  • The laboratories’ results are usually presented graphically in order of Z-score unning from age negative to large positive values (i.e. deviations from the average).

Presentation of Z-scores from a proficiency testPresentation of Z-scores from a proficiency test

Where each participating laboratories is coded by a letter, known only to that particular participant.

Conclusions from proficiency tests

Conclusions for the individual participant:

  • 68% of all data fall within Z = ±1, hence a result within those limits is excellent
  • 95% of all data fall within Z = ±2, hence a result within these limits is acceptable
  • A result between 2<Z<3 is marginal and should occur only rarely
  • only 0.3% of all data exceed Z = ±3 and hence such a result is unacceptable

Conclusions for the participants collectively:

  • If the proficiency test is performed with a sample of known composition, then the average and the individual laboratories’ results can be checked for systematic errors.
  • If this is not the case, but the participants use different methods of analysis, then the average is considered to be a consensus value of the true concentration.

If the participants all use the same method of analysis then the results for r and R describe properties of the method that can be used for later reference:

  1. Aech laboratory can validate its internal reproducibility against the accepted r : when the F-test reveals no significant difference, the laboratory may consider itself competent for this method of analysis.
  2. It can then use the value for R as the reference for interlaboratory comparison of data. With 95% confidence the results from two equally competent laboratories should not differ by more than R:

c1 – c2 < R