Professional Documents
Culture Documents
Power Functionsfor Statisticalcontro!Rules: James 0. Westgard1 and Torgny Groth2
Power Functionsfor Statisticalcontro!Rules: James 0. Westgard1 and Torgny Groth2
Power Functionsfor Statisticalcontro!Rules: James 0. Westgard1 and Torgny Groth2
1.0- 1.0-
0.8-
a. a.
>-
I- 0.6- F- 0.6-
-4
-J -J
1
0.4- 0.4-
a a
C C
0.2- 0.2-
a-
0.0- 0.0-
I
0.0
I
1.0
I
2.0
1
3.0
i
4.0
0.0 1.0 2.0 3.0 4.0
a.
o.e-
>-
0. 0.6-
>- -J
0.6-
0.4-
-J
-4 co
0.4- 0
a a- 0.2-
0
0.2-
a- I I I I I
0.0-
oo 1o 2!O SE (S)
Fig. 4. Power of the 13/228 combination of control rules
for
5E (5)
detecting systematic error
Fig. 2. Power of the 138 control rule for detecting systematic
error
for false rejection (pfr). Point-to-point curves were drawn by
computer; irregularities in the lines represent the uncertainty
in the simulation results. Using these power fupctions will
Computer Simulation Program necessitate some visual averaging and interpolation.
This has been described elsewhere (1). Four hundred ana-
lytical runs were simulated for systematic errors (SE) of
Results
O.25s, O.50s, O.75s, 1.OOs, 1.50s, 2.OOs, 3.OOs, and 4.OOs, and for For the different control rules considered here, Figures 1-10
random errors (ARE) of 1.10, 1.25, 1.5O 1.75, 2.00, 2.50, and present power functions for detecting systematic error. Fig-
3.00. Sixteen hundred analytical runs were simulated for the ures 11-20 present power functions for detecting increases in
baseline conditions (SE = 0, RE = 1.0). This point falls on random error. The several curves presented in each figure
the y-axis for each curve and corresponds to the probability correspond to different numbers of control observations (N
0.8- ‘‘ 0.8-
a.
>-
0.6- 0.6-
I-
-J -J
0.4- cn
a
C C
a:
a- 0.2- a. 0.2-
0.0- 0.0-
0.0 1.0 2.0 3.0 4.0 0.0 1.0 2.0 3.0 4.0
SE IS) SE IS)
Fig. 5. Power ofthe 1/2/4/1O combination of control rules
FIg. 7. Power of the 1/CS1 combination of control rules for
for detecting systematic error detecting systematic error
0.6- 0.8-
0. 0.
0.6- >-
I- 0.6-
I-
-J -J
-I
CD 0.4- ai 0.4-
a a
CD
C 0
a:
a- 0.2-
0.0- 0.0-
SE IS) SE (S)
FIg. 6. Power of the CS1 control rule for detecting systematic Fig. 8. Power of the x005control rule for detecting systematic
error error
= 1,2,4,8, 12, and 20, as indicated by the symbols +, D, V, , or type I error, and 3, or type II error. The power of a statis-
0, and , respectively). The top curve in each figure will tical test is expressed as I minus the probability for a type H
correspond to N = 20, and the lowest curve to N 1, assuming error (3). This is actually the probability for rejection, as de-
that the control rule can be invoked with one control obser- termined in our studies. Power functions are piots of the power
vation. For control rules that require more than one obser- for rejection vs. the size of the error to be detected.
vation, such as the mean or range rules, the lowest curve will There has been little discussion about the power of the
correspond to N = 2. control systems in use in clinical chemistry laboratories.
Larsen et al. (4) provided figures for average run length
Discussion
(ARL) for a decision limit cusum control system. ARL gives
In describing the performance characteristics of statistical information about the power of the control system in that
tests, it has been common in the literature to use the terms a, 1/ARL is equal to the probability for rejection (5). Statistical
0.8- 0.6-
0. 0.
>- >-
0.6- 0.6-
I- I-
-J -J
0.4- 0.4-
a a
m
0 C
0:: c
a- 0.2-
3- 0.2-
0.0- 0.0-
1.0-
0.8-
a
0.8-
a.
0.6-
I.-
>-
-J 0.6-
0.4- -J
a
0.4-
C a
0.2-
0 C
0.2-
0.0-#{149}
0O 10 20 3!0 4O 0.0-
2O 30
SE. (Si
Fig. 10. Powerof the x001/R0,01 combination ofcontrol rules for RE
detecting systematic error
FIg. 12. Power of the 13 controlrule for detecting random
error
and quality-control texts sometimes give figures for ARL and
sometimes present operating characteristic curves, or OC
curves (6). OC curves provide similar information about the sume that an existing control system uses the 1 control rule
power of the statistical tests, but in an inverse manner. They with two control observations per analytical run. What sys-
present the probability of a control observation falling within tematic error can be detected with a probability of 0.50 (or 50%
the control limits, rather than the probability for exceeding chance)? To determine this, refer to Figure 2, which shows the
control 1imit (which is the probability for rejection, or the power functions for the 1 control rule (for systematic error).
power of the test). The second curve from the bottom gives the information for
We think the form of the power function as presented here two control observations. The 0.50 probability point on this
describes the statistical properties of the control rules in a curve (y-value or y-coordinate) corresponds to an x-value or
manner easily used by laboratory analysts. For example, as- SE of 2.5s. This means that there is a probability of 0.50 (or
0.6- o.e-
Q. a.
>- >-
0.6- 0.6-
I-
-J -j
I-,
0.4- 0.4-
C C
a: 0.2- 0.2-
0 ii
0.0- 0.0-
1.0
I
1.S 2.0
I 2.S
I I
3.0 1.0 1.S 2.0 2.S 3.0
RE RE
1 .0- 1 .0-
0.8- 0.8-
a. a.
>- >-
I.-. 0.6- 0.6-
I-
-
-J
co 0.4- co 0.4-
a
-
0 0
c c 0.2-
O.2 0
0.0- o.o-
1O 2O 2 3!O 2O 21.
RE RE
Fig. 14. Power of the 1/223 combination of control rules for Fig. 16. Power of the R005 control rule for detecting random
detecting random error error
50% chance) of detecting a systematic error equivalent to 2.5 combination provides the desired probability for error de-
times the standard deviation of the analytical method. tection with fewer control observations. In a similar manner,
As another example, assume that the objective is to select one could inspect all the power functions, then choose the
a control system to maintain a specified level of quality. What appropriate control system based on the lowest N, the lowest
control system will be able to detect a systematic error probability for false rejections, the simplest data calculations,
equivalent to 3.4 times the standard deviation of the analytical or other practical considerations.
method (zSE = 3.4s) with a probability of 0.90? From Figure Power functions, therefore, should be useful in assessing
2, this error could be detected with the desired probability by the performance of existing control systems and also in the
the 138 rule with three or four observations. From Figure 4, design of new and improved control systems. If the design of
however, this error could be detected by the 1a/2 combi- a control system were to relate the choice of control rules and
nation of rules with N = 2 (two observations); thus, this the number of control observations to some quality specifi-
#{149}‘0.6- 0.8-
a.
>- >-
0.6- F- 0.6-
-4
-
-J
p-I
m 0.4- 0.4-
a
-
0 0
a: 0.2-
a. 0
0.0- 0.0-
RE RE
I- 0.6-
probability for detecting those analytical errors of interest; ‘-I
-J
and (e) inspection of power functions for control rules to de-
termine which rules and what number of control observations 0.4-
permit detection of those analytical errors of interest with the a
desired probability.
0
Computer also appears to be a useful tool in
simulation
0.2-
developing a design procedure.5 To closely simulate the
characteristics of the analytical method, an interactive sim-
ulation program is desirable, because the power functions are
affected by the size of the between-run component of variation 0.0-
and by the choice of control limits (calculated from within-run
vs. total standard deviation) (7). This makes it impractical to 2O 2S 3O
determine all the possible power functions of interest and
present them in graphic or tabular form. An interactive pro- RE
gram can permit their generation for the conditions of in-
terest. Fig. 19. Power of the X.oi control rule for detecting random
Because of the effects of a between-run component of error
variation, the power functions presented here are idealistic
Wetgard, J. 0., and Groth, T., Design of a statistical control for most applications; that is, an assessment of the quality of
procedure to achieve a specified standard of analytical performance.
Clin. Chem. 24, 1049 (1978). Abstract. an existing control system will tend to be optimistic. The error
4Groth, T., and Westgard, J. 0., Design of statistical control pro- level that may occur is likely to be greater than that predicted,
cedures utilizing quality specifications and power functions for control and the number of control observations specified in designing
rules. VHth Tenovus Workshop, Quality Control in Clinical Endo- a control procedure will likely be too small. Despite these
crinology, Tenovu8 Institute for Cancer Research, Cardiff, U.K., May limitations, these power functions provide a useful first step
3-4, 1979. in assessing the performance of control systems. They allow
5Groth, T., Falk, H., and Westgard, J. 0., An interactive computer
simulation program for the design of statistical control procedures some revealing insights into the relationship between the
in clinical chemistry, manuscript in preparation for Computer Pro- quality achieved or desired and the control rules and numbers
grams in Biomedicine. of control observations that must be used.
0.4-
combined Shewart-cusum control chart for improved quality control
a in clinical chemistry. Clin. Chem. 23, 1881-1887 (1977).
3. Dixon, W. J., and Massey, F. J., Jr., Introduction to Statistical
C Analysis, 3rd ed., McGraw-Hill, New York, NY, 1969, p 85.
a- 0.2- 4. Larsen, L. H., Williams, R D. B., and Nicol, G. R., Automated
quality control of biomedical data. Part I: System description. CRC
Crit. Rev. Clin. Lab. Sci. 8, 241 (1977).
5. Jardine, A. K. S., MacFarlane, J. D., and Greensted, C. S., Statis-
0.0-
tical Methods for Quality Control, The Pitman Press, Bath, U.K.,
1975, p 133.
1.0 1.S 2.0 2. 3.0
6. Duncan, A. J., Quality Control and Industrial Statistics, 3rd ed.,
Richard D. Irwin, Inc., Homewood, IL, 1965, p 443.
ARE 7. Westgard, J. 0., FaIk, H., and Groth, T., Influence of a between-run
component of variation, choice of control limits, and shape of error
FIg. 20. Power ofthe x0#{149}01/R0#{149}01
combination of control rules for distribution on the performance characteristics of rules for internal
detecting randomerror quality control. Clin. Chem. 25,394-400(1979).