Literature DB >> 27504221

Pass-Fail Testing: Statistical Requirements and Interpretations.

David Gilliam1, Stefan Leigh1, Andrew Rukhin1, William Strawderman1.   

Abstract

Performance standards for detector systems often include requirements for probability of detection and probability of false alarm at a specified level of statistical confidence. This paper reviews the accepted definitions of confidence level and of critical value. It describes the testing requirements for establishing either of these probabilities at a desired confidence level. These requirements are computable in terms of functions that are readily available in statistical software packages and general spreadsheet applications. The statistical interpretations of the critical values are discussed. A table is included for illustration, and a plot is presented showing the minimum required numbers of pass-fail tests. The results given here are applicable to one-sided testing of any system with performance characteristics conforming to a binomial distribution.

Entities:  

Keywords:  binomial distribution; confidence bounds; confidence coefficient; critical value; probability of detection; probability of false alarm

Year:  2009        PMID: 27504221      PMCID: PMC4646571          DOI: 10.6028/jres.114.013

Source DB:  PubMed          Journal:  J Res Natl Inst Stand Technol        ISSN: 1044-677X


1. Introduction

In evaluating the efficacy of equipment that is meant for detection of hidden contraband or dangerous substances, the instrument is often subjected to testing that measures its performance against requirements set forth in protocols set by national or international standards organizations. Performance requirements in these standards include those for probability of detection (PD) and probability of false alarm (PFA) at a specified level of statistical confidence. The detection systems considered in this paper are all assumed to behave according to a binomial distribution. Only two outcomes are considered for independent trials with contraband present: the detection system either correctly reports detection or does not. Furthermore, the probability of detection must remain constant during the period of the testing. Otherwise, it may be meaning less to perform binomial model based tests to determine estimates of this quantity. Similarly, for tests with contraband absent, the detection system either correctly reports no detection, or it falsely reports the presence of contraband: and the probability of a false alarm is presumed to remain fixed throughout the period of testing. For a detection system, PD or PFA can only be determined accurately by a sufficient number of trials. However, there is a number called the confidence level (CL) that gives some sense of adequacy of the results from a series of trials of a given size. CL is defined in terms of the binomial probability mass function, also called the binomial discrete density function, b(m; n,p), where m = 0,1, …, n, denotes the number of successful detections or false alarms) in n independent trials with p = PD, or p = PFA, 0 ≤ p ≤ 1 (see Johnson, Kotz, and Kemp, 1992.) The number of successes in n repeated independent trials conforms to this function if each trial can be scored as either success or failure and the probability for success is fixed. In Sec. 2 we discuss the definitions of CL and related critical values in detection problems. Section 3 gives statistical interpretation of these values in terms of hypothesis testing and confidence bounds. The note is concluded with Sec. 4 containing some examples.

2. Definitions and Test Requirements

The quantity CL can be loosely interpreted as the likelihood that any such system conforming to a binomial distribution with m successes in a series of n independent trials will have a true PD value greater or equal to a chosen value, PD. More formally, the accepted definition of CL in setting testing requirements is stated in terms of the equation below. The usage of this term is consonant with that of ASTM standard C 1236–99 (2005). For a number m of successes found in a series of n pass-fail trials, with a fixed value of PD, designated PD, the confidence level CL(m, n, PD) is defined by the equation In other words, if for x = 0, 1, …, n, 0 ≤ p ≤ 1, denotes the binomial cumulative distribution function, then (2) can be expressed as Note that under this definition CL (m, n, PD) cannot exceed 1 − PD. To find the critical value m, i.e., the minimum value of m establishing the PD of interest with a preselected, fixed level of confidence, CL, one must invert the inequality, It follows that m is well defined only if BINCDF (n − 1, n, PD) ≥ CL, i.e., if Since BINCDF(x, n, p) is a step-function in x (i.e., is not strictly increasing), it does not have a proper inverse function. If we set m − 1, 1 ≤ m ≤ n to be the least integer such that BINCDF(m − 1, n, PD) exceeds CL, then where INVBINCDF(CL, n, p) is the inverse cumulative binomial distribution function (i.e., is the smallest non-negative integer such that the cumulative distribution function evaluated at this value equals or exceeds CL.) Versions of this function are available in many statistical software packages, including MATLAB (binoinv), R (qbinom), NAG, GAMS, IMSL, S-PLUS, and SAS and in general spreadsheet applications, such as EXCEL (function CRITBINOM(n, p, CL).) 1 The binomial cumulative distribution function can be expressed through the incomplete beta-function, m > 0, n − m + 1 > 0, (Abramowitz and Stegun, 1972), so that for fixed m and n, BINCDF(m − 1, n, p) is a decreasing function of p, 0 ≤ p ≤ 1. This formula allows one to define BINCDF(m − 1, n, p) for any real (non-integer) values m and n such that 0 < m < n + 1. An analogous definition of CL applies to testing for PFA in systems where no contraband or dangerous substance is present. For any chosen value of PFA, designated PFA, the confidence level CL (m, n, PFA), equals the probability that the number of false alarms occurring in a series of n independent binary trials exceeds m. Thus, this level is defined by the equation Similarly to the PD case, To find the maximum value M of M, M = 0, 1, …, n − 1, establishing the PFA of interest with a preselected, fixed level of confidence CL, one must invert the inequality To express M through the function INVBINCDF (c, n, p), i.e., to establish the largest value m satisfying (11), the formula, can be employed. To prove (12), notice that for x = 0, …, n − 1, so that Therefore, so that M ≤ n − 1 and M is not defined when i.e., when (1 − PFA) > 1 − CL. Thus (15) and (7) show that under the same value of CL, when PD = 1− PFA, a simple formula, relates m and M.

3. Hypothesis Testing and Confidence Bounds on Binomial Probability

We give here two statistical interpretations of Eq. (7) and Eq. (15). The first of these is related to a (lower) confidence limit for binomial probability p. Such limits are supposed to provide a data-dependent interval containing the unknown p with a given probability called confidence coefficient (see Hahn and Meeker, 1991). Assume that for the given CL, a lower confidence bound for PD = p of confidence coefficient CL is desired: that is for a binomial observation X ~ BIN (n, p), one requires a function such that The well known solution of this problem for X ≥ 1, is (e.g, Casella and Berger, 2002.) When X = 0, . Thus with mc defined by (7), the inequalities (strict inequality) and X ≤ m (non-strict inequality) are equivalent. Therefore, the critical value m has the interpretation of the largest value of the binomial BIN(n, p) variable such that the lower confidence bound for p does not exceed PD. A related interpretation is provided by the statistical hypothesis testing problem, H0 : p ≥ PD under the alternative: H1 : p < PD. The most powerful test of level 1 − CL rejects H0 when the observed value X exceeds the critical value m, X > m (which means the same as . The critical value for PFA has a similar statistical interpretation, namely, M is the largest value of the binomial variable for which the upper confidence bound for the binomial probability does not exceed PFA. Indeed, an upper confidence bound of confidence coefficient CL has the form, Identity (13) shows that In terms of the hypothesis testing with H0 : p ≤ PFA and the alternative: H1 : p > PFA, the most powerful test of level 1-CL rejects H0 when the observed value X exceeds the critical value M, X > M.

4. Examples

Consider an example in which one finds twenty-nine correct results in a single set of thirty trials. If the system under test conforms to a binomial distribution, then based on the result of twenty-nine out of thirty correct responses in that one set of tests, one can make multiple correct inferences, such as: the PD > 0.95 with 44 %, confidence, the PD > 0.90 with 81 %, confidence, or the PD > 0.85 with 95 % confidence. One can easily construct a table which simultaneously includes requirements for both PD and PFA. Table 1 gives the critical value M and n − m for 68 % confidence to show the general characteristics of these quantities. These are the maximum permissible numbers of incorrect results that may be tolerated in establishing the specified PD or PFA values at this level of confidence. If the tabulated value is indicated as “*”, then the number of trials in that set is insufficient to establish the corresponding PD or PFA at this confidence level. One may generate tables of this kind for any CL, PD, and PFA using Eq. (7) and Eq. (15) by using the previously mentioned functions like binoinv or CRITBINOM from statistical software packages or spreadsheet applications. The actual value of M and n − m given by these functions in the cases marked by “*” is − 1.
Table 1

Maximum permissible numbers of incorrect results for verifying a lower bound on PD or an upper bound on PFA with 68 % confidence

PD→0.950.900.850.800.750.700.600.50

PFA→0.050.100.150.200.250.300.400.50
n = 2*******0
n = 3******00
n = 4****0001
n = 5****0001
n = 6***00011
n = 7***00012
n = 8**000122
n = 9**001123
n = 10**001123
n = 11*0001234
n = 12*0011234
n = 13*0011235
n = 14*0012245
n = 15*0112346
n = 16*0112346
n = 17*0122357
n = 18*0123357
n = 19*0123467
n = 20*0123468
n = 21*0123468
n = 22*0123579
n = 2301234579
n = 24012345710
n = 25012345810
n = 300124571013
n = 4002468101418
n = 50135810121722
n = 60147912152127
n = 702581115182532
n = 802691317212937
n = 9027111520243342
n = 10037121722273747
The symmetry of testing requirements when PFA = 1 − PD permits tabulating the results for PFA and PD in a single table, but it does not imply that PFA should or must always be chosen equal to 1 − PD. The PD and PFA values may be assigned independently in any testing protocol. In fact, to avoid disruption of the stream of commerce by large numbers of false alarms, it is often necessary to require inspection equipment to have PFA smaller than 1 − PD. By solving (6) or (10), we obtain a formula for the minimum number of required trials n needed to establish a given value of PD or PFA for the same CL, with Here denotes the smallest integer exceeding a. This formula is useful in designing test protocols that give the most satisfactory requirement with the least amount of testing. Figure 1 shows a plotted as a function of PD and CL. This function increases much more rapidly for PD approaching 1 than for CL → 1. Similarly n in (21) would increase much more rapidly for PFA → 0 than for CL → 1.
Fig. 1

The minimum required number of tests to establish a given value of PD (or 1-PFA) for a given CL.

When only the minimum number of trials n is performed, the system must give 100 % correct results to establish the specified PD or PFA at, the desired confidence CL. In statistical terms, n is the smallest number of trials with 100 % correct detections such that the CL-lower confidence bound for detection probability exceeds the given value PD. The same is true when there are no false alarms with the CL-upper confidence bound on the false alarm probability being less than PFA. A table such as Table 1 will show how many errors may be permitted if a larger number of trials are carried out, while still establishing the specified PD or PFA at the desired CL.

5. Discussion and Conclusions

The formula for n shows that requiring either PD or CL to be too near unity can result in impossibly large numbers of pass-fail tests. If such rigorous criteria are in fact required then one should search for some method of verification different from pass-fail testing. The results presented here make it possible to design pass-fail testing protocols based on functions readily available in statistical software packages and general spreadsheet applications.
  1 in total

1.  Strategies for Improving and Evaluating Robot Registration Performance.

Authors:  Karl Van Wyk; Jeremy A Marvel
Journal:  IEEE Trans Autom Sci Eng       Date:  2018       Impact factor: 5.083

  1 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.