Acessibilidade / Reportar erro

Design of economically optimal zero-defect acceptance sampling with rectification when diagnosis errors are present

Abstracts

In this paper we present the optimum sampling size in zero-defect acceptance with rectification sampling scheme in the presence of misclassification errors. Its development is based on an economical model. The procedures are implemented in a program using the software Matlab and illustrated by an example.

zero-defect acceptance sampling; diagnosis errors; cost function; rectification


Neste trabalho determinamos o tamanho ótimo amostral em uma amostragem de aceitação zero-defeitos com retificação na presença de erros de diagnóstico. O desenvolvimento é baseado em um modelo econômico. Os procedimentos são implementados no Matlab e ilustrados através de um exemplo numérico.

amostragem de aceitação zero defeitos; erros de classificação; função custo; retificação


Design of economically optimal zero-defect acceptance sampling with rectification when diagnosis errors are present

Roberto da Costa Quinino* * Corresponding author / autor para quem as correspondências devem ser encaminhadas , I; Linda Lee HoII; Emílio SuyamaIII

IDepartamento de Estatística / ICEX, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte – MG, roberto@est.ufmg.br

IIDepartamento de Eng. de Produção / EP, Universidade de São Paulo (USP), São Paulo – SP, lindalee@usp.br

IIIDepartamento de Estatística / ICEX, Universidade Federal de Minas Gerais (UFMG), Belo Horizonte – MG, suyama@est.ufmg.br

ABSTRACT

In this paper we present the optimum sampling size in zero-defect acceptance with rectification sampling scheme in the presence of misclassification errors. Its development is based on an economical model. The procedures are implemented in a program using the software Matlab and illustrated by an example.

Keywords: zero-defect acceptance sampling; diagnosis errors; cost function; rectification.

RESUMO

Neste trabalho determinamos o tamanho ótimo amostral em uma amostragem de aceitação zero-defeitos com retificação na presença de erros de diagnóstico. O desenvolvimento é baseado em um modelo econômico. Os procedimentos são implementados no Matlab e ilustrados através de um exemplo numérico.

Palavras-chave: amostragem de aceitação zero defeitos; erros de classificação; função custo; retificação.

1. Introduction

Consider manufactured items evaluated by a sampling scheme known as zero-defect acceptance with rectification. That is, in T lots, each one having N products, a sample of size m is extracted from each. If all sampled items after non-destructive inspection are classified as conforming, then the lot is accepted. Otherwise all items (sampled and non-sampled) are inspected, the non-conforming ones are rectified (i.e. all non-conforming units may be replaced or discarded after 100% inspection) and then the lot is accepted. Such a procedure is known as zero-defect sampling with rectification. This type of sampling scheme is frequently used when manufacturing costs are very high, for example in the manufacturing of semiconductors. Figure 1 illustrates such a procedure.


Papers about zero-defect sampling with rectification can be found in the literature. We may mention the contributions from Hahn (1986), Brush et al. (1990), Greenberg & Stokes (1992) and Anderson et al. (2001). In them, the main objective is to present an estimator for the number of non-conforming items in such a sampling scheme. Anderson et al. (2001) introduced the possibility of misclassification errors in this type of acceptance sampling. That means one item is evaluated as non-conforming but in reality it is conforming, or an item is classified as conforming but it is in fact non-conforming. About diagnosis errors, many authors have made contributions in this direction. For an early example, Johnson et al. (1991) pointed out that the diagnosis errors can endanger the performance of an acceptance sampling. Minton (1972) provided expressions to analyze the effect of inefficient inspection and has proposed corrections on the power of single sampling inspection plans, mainly in misclassifications of defectives as non-defectives. Different authors have presented methodologies to minimize the impact of diagnosis errors in the acceptance sampling. We cite Greenberg & Stokes (1995), Markowski & Markowski (2002), Quinino & Ho (2004) and Quinino & Suyama (2002).

The use of an economical model to plan acceptance sampling is not a new idea, but it is still a subject of great interest as Wetherill & Chiu (1975) pointed out. It was recently used in Ferrel & Chhoker (2002) to determine the producer's tolerance that minimizes the producer's loss and consumer's loss in a single sampling, with inspection and non-inspection procedures using a quadratic function to describe the consumer's cost. Aminzadeh (2003) actually used the Inverse Gaussian distribution as a lifetime model to obtain optimal values for sample size and action limit employing economic variable acceptance-sampling plans based on a step-loss function. Starbird (1997) has specified the condition under which zero-defect with rectification is the policy that minimizes the supplier's expected annual cost.

In this paper, we consider the determination of an economically optimum sample size m that minimizes the cost function in zero-defect acceptance sampling with rectification in the presence of misclassification errors. The inclusion of diagnosis errors in the determination of sample size in this sampling procedure is a natural extension of the earlier papers mentioned. Economical models mentioned in the literature do not include the possibility of the diagnosis errors and rectification. The components of cost function include inspection cost, costs due to the presence of non-conforming items in accepted lots and costs due to diagnosis errors.

In Section 2, we introduce the notation and hypothesis considered in this paper. The expected cost function and the procedure to determine the optimum value of m is developed in Section 3. As this probabilistic model of sampling process can be viewed as a Markov chain, the description of the absorbing and/or transient states and their transition probability matrices is presented in Section 4. The procedure is illustrated by a numerical example in Section 5 and we finish this paper with discussions and extensions for future research.

2. Notation and Hypothesis

Consider a lot with N units and a random sample of m units selected without replacement. D is the number of non-conforming units in the lot and it is a binomial random variable (N,p), with probability p, or it is equal to zero with probability (1-p). So the probability of all items being conforming (D=0) is given by p(1-p)N+(1-p). This family of distributions is flexible enough to show a good fit to observed distributions related to the quality of a lot with appropriate choice of the probability p, allowing a simple interpretation and leading to a simple theory (Hald, 1981).

Let:

e1 ® the probability of a conforming item being classified as non-conforming;

e2 ® the probability of a non-conforming item being classified as conforming;

c0 ® the cost to inspect an item;

c1 ® the cost of a non-conforming item in the accepted lot;

c2 ® the cost of judging erroneously an item as non-conforming when it is conforming;

D1 ® the number of actual non-conforming items in the initial sample of size m in the lot;

D2 ® the number of actual non-conforming items in (N-m) non-sampled items in the lot;

D=D1+D2® the number of non-conforming items in the lot;

Y1 ® the number of items declared non-conforming after inspection in the initial sample of size m in the lot;

Y2 ®the number of items declared non-conforming in (N-m) non-sampled items in the lot if the lot were rectified;

Y=Y1+Y2 ® the number of items that would be declared as non-conforming in lot if the lot were rectified;

D1|D ® denotes the conditioned distribution of D1 on D and it is assumed to be Hypergeometric (m, D, N).

3. Cost Function

This Section develops the expected cost function per lot (Em) employing the earlier notations and hypothesis from Section 2. The expected cost function is composed of three parts. The first one () is related to costs of inspection of m items and the possibility of inspecting the (N-m) non-sampled items. The latter is conditioned to the event (Y1 > 0) (at least one non-conforming item in the m initial inspected items) so, it follows that:

The second component () is due to the possibility of an item being classified as conforming when it is non-conforming. Such a result can produce differences in expenses when the lot is accepted or when it is rejected in the inspection. Figure 2 illustrates such a procedure.


Thus, resulting in

where I[•]denotes an indicator function; E(•), the expected value of a random variable.

The last part (E3m) is due to the consequence of classifying an item as non-conforming when it is a conforming item. In this case, the lot is rejected, consequently all items inspected and there is a chance of it being rectified unnecessarily:

So the expected cost (Em) is Em = E1m + E2m + E3m. Specifically,

with

•

and

as D2 and P(Y1 > 0) are conditionally independent on D1.

with ;

and

with E(•|•) denoting the conditioned expectation value.

4. Markov Chains in Zero-Defect Acceptance Sampling with Rectification in the Presence of Diagnosis Errors

The processes of sampling and inspection and the decision to accept or reject the lot after the inspection presented in Section 3 can be modeled as a non-irreducible Markov chain with transition matrix P. The idea consists of sampling a single item systematically each time until a total of m units are extracted. The set of states can be denoted by the vector (s,j,k,t,z) such that s+ j+ k+ t=z; z=0, , m, are absorbing or transient states. The variable s can be viewed as the number of conforming items correctly classified as conforming; j is the number of conforming items incorrectly judged as non-conforming; k is the number of non-conforming items classified as conforming; j is the number of non-conforming items correctly judged as non-conforming and z the number of items evaluated. As the aim was to calculate the probability of a lot being accepted or rejected, the states (j = t =0 and z = m) or (j = 1 or t = 1) were considered as absorbing. They indicate respectively that the inspection procedure of the m items is finished or the lot was accepted or rejected even before the m inspections are finished. In this context it is necessary to examine only states for which j < 1 and t < 1.

Consider the probabilities in the transition matrix P conditioned on the random variable D. P1 is the transition matrix conditioned on D when it follows a binomial distribution with parameters (N,p) and P2 the transition matrix when D=0. The matrix P1 occurs with probability p and the matrix P2with probability (1-p ).

The probabilities in the transition matrices P1 and P2, related to the inspected lot are respectively:

where

and

where

is the probability of a lot containing D non-conforming items and z items being inspected with k non-conforming and s conforming ones and

is the probability of z items being inspected with k non-conforming and s conforming ones.

The probability of each state after m inspections is given by the row vectors P1(m) = P0P1m and P2(m) = P0P2m, where P0 = [1,0,0.....,0] is the vector of the probabilities of initial state and the probability is equal to one for the state (s = 0, j = 0, k = 0, t = 0, z = 0 ) and equal to zero for other states. Each element of P0, P1(m) and P2(m) is associated with one state (s,j,k,t,z). The non-null probabilities in row vectors P1(m) and P2(m) indicate absorbing states and the decision of acceptance or rejection of the lot.

Making P(m) = pP1(m) + (1 - p)P2(m), it is possible to calculate easily the probabilities of interest, mainly the one related to the acceptance of the lot. For example, summing up the probabilities of the absorbing states (s,j,k,t,z) such that j = 0, t = 0, and z = m will provide the probability of accepting a lot [This is denoted by P(Y1 =0)]. The probability of non-acceptance of a lot is given by the sum of the probabilities of the absorbing states (s,j,k,t,z), when j = 1 or t = 1 in P(m). States with k > 0 will indicate the wrong acceptance of the lot and states with j = 1indicate that the lot was rejected wrongly.

It is interesting to observe that the probabilities of a lot being correctly accepted, wrongly accepted, correctly rejected and wrongly rejected can be provided employing Markov chain properties but this approach is computationally intensive in this context since the number of states depends on the sample size m.

5. Determination of the Optimum Sample Size mº

The optimum value of m (mº) is the one that minimizes (3.1) and it can be obtained by direct search substituting values of m = 0,...,N in (3.1). As N is usually a large number, a direct search can be a difficult task, demanding too much time. A limit L1< N is proposed to speed up the search. Whether accepting or rejecting the lot, the cost to inspect m items will be at least c0m. For the optimum value mº, this will be c0mº. However, if the inspection is not performed, that is, when m = 0, the expected cost will be Em=0 = Nppc1. As mº c0 < E Em=0 then it follows that mº < Nppc1/c0. So a direct search to find mº must be proceeded for all integer values of m satisfying m < L1 = mim{N; Nppc1/c0}.

If m < 0.1N, the hypergeometric distribution can be approximated by a binomial distribution (Johnson, 1994) and this approach simplifies the mathematical modeling. So a new expression for Em, denoted by , can be derived when this approximation is used for the random variable D1. In this sense, a new boundary built for can be employed to search for the optimum sample size. To find a boundary for may not be an easy task; a conditioned boundary on ph = D/ N for will be proposed to simplify the task and then, a new limit can be established for Em using this result.

Let be the cost function of when ph = D/N and m• is its optimum sample size. Examining and after some algebraic manipulation, the inequality

can be stated with

and

A set of inequalities expressed in (5.2) can be obtained from (5.1) as functions of k and .

And from (5.2), a boundary L2 for m• is proposed in (5.3)

Negative values on the right side of the inequality (5.3) mean m• = 0. The expression (5.3) indicates that values lower than the boundary will yield D•<0. This indicates the existence of one and only one minimum value of for values lower than the boundary and that it is also the global minimum. The limit expressed in (5.3) is conditioned on ph and examining all possible values of ph a new boundary for expressed as L3 = max{L2(ph)}, ph = D/N, D = 1,...,N can be proposed. This would be for integers lower than where mD denotes the optimum value. This means that there is one and only one extreme value for lower than this boundary and it is also the global minimum. Moreover, the condition m < 0.1N guarantees a good approximation of a hypergeometric distribution by a binomial distribution. So, this additional condition must also be verified, that is, if L3 < 0.1N. In this case, the boundary L3 can be employed to delimit a minimum for Em which will be mD.

The strategy can be drawn to perform a computational search for the optimum value m (mº) for the expression (3.1). If L1< 0.1N then search all integers lower than min{L1;L3}, until reaching the minimum value mº. If L1 > 0.1N then search all integers lower than min{0.1N;L3} until reaching the minimum value. Compare this result with the result of search among integers higher than 0.1N but lower or equal to L1. The value of mº is the lowest. Note that the computational search is performed searching only integer values, starting always with the lower one. The flowchart in Figure 3 illustrates the decision process described in this section.


6. Numerical Example and Discussions

The example described in this section is based on Hahn (1986), Greenberg (1992), Greenberg (1995) and Anderson (2001). Consider lots with N=5000 items, each to be inspected by a zero-defect with rectification procedure. In this context consider: p = 0.1; p = 0.05 and e1 = e2 = 0.001 and the following costs: c0 = $3.00, c1 = $100.00, c2 = $500.00. The question is to find the optimum value of m (mº) that allows for minimizing (3.1). This value can be found using direct search substituting values as shown in the flowchart (Figure 2). According to the earlier results, it indicates a search for integers 0 < m < 49 and 0.1N = 500 < m < L1 = 833. In the first interval, 0 < m < 49, the optimum value was found to be 15 (mD).

A program using the software Matlab was developed (see Appendix 1Appendix 1) to find the optimum value mº. This program provided as the optimum sample size mº = 15 which corresponds to an expected cost of $2360.26. In the absence of diagnosis errors the optimum sample increases to mº = 57, which corresponds to an expected cost of $1707.02. If the sample size of mº = 57 were wrongly employed (i.e. discarding misclassifications errors), a serious error in cost estimation would result, with the expected cost becoming $2796.50 being 61% over the required $1707.02. Note that even small misclassification error probabilities as e1 = e2 = 0.001 can significantly alter the expected cost as well as the optimum sample size. To corroborate the analytical results, another program was developed using Matlab to simulate a zero-defect with rectification by Monte Carlo simulations with m = 15. Five hundred thousand runs were used in this simulation and the difference between the expected cost and the analytical results was lower than 0.3%. Figure 4 illustrates the behavior of Em as a function of the value of m.


A sensitivity analysis was performed to evaluate the behavior of the optimum values of m as functions of the parameters. Since all possible scenarios can result in a high number of possibilities to examine, and analyzing all of them can become unmanageable, here an analysis varying one parameter at a time was conducted. The ranges of the parameters explored in this case are

• 0 < c0< 5;

• 0 < c1< 700;

• 0 < c2< 2900;

• 0 < e1< 0.002;

• 0 < e2< 0.15 and

• 0 < p < 1

The results of this analysis are plotted in Figure 5. It was observed that as c0 increases mº tends to zero, indicating that the best option is a non-sampling procedure. If c2 increases, then the value of mº tends to zero, which is justified by the fact that mº = 0 results in the possibility of a cost c2 being eliminated.


If c1 increases, the value of mº tends to N since total inspection in a lot decreases considerably the number of non-conforming items. This is because the probability of a non-conforming item being classified correctly is (1 - e2) and certainly e2 < 0.5 in practical situations.

If e1 and e2 increase, it is not feasible to do sampling with rectification since the amount of items wrongly classified will eliminate the benefit of the proposed procedure, which is to provide an accepted lot with lower quantity of non-conforming items.

If p ¯ 0, mº ¯ 0 since there are only conforming items in the lot. As p ¯ 1, mº ¯ 1. This can be justified since the probability to reject the lot alters slightly when m > 1 indicating that there is no necessity to sample more than one item.

Now using the Markov chain approach and considering a sample size of 15 items (mº), the probability of accepting the lot is 0.93227 and to rejecting the lot is 0.06773. Possible routes to accept and to reject the lot are listed respectively in Tables 1 and 2. The vectors described in these tables are elements of P(m). Such a vector allows the user to verify which absorbing states indicate the correct acceptance of the lot or the correct rejection of the lot. With the vector P(m) it is possible to calculate conditional probabilities of interest. If the lot was accepted, the probability to be correctly accepted (only conforming items in the sample) is 0.99996. Similarly, if the lot was rejected, the probability to be correctly rejected (at least one non-conforming units in the sample) is 0.78711. These results suggest a tighter verification in the rejected lots as an attempt to decrease the number of lots wrongly rejected.

Another point of interest is to evaluate the probability of rejecting a lot of only conforming items (rp) or the probability accepting a lot of at least one non-conforming unit (ad). The probability of observing only conforming units in a lot is given by p(1-p)N + (1 - p) but usually large lots are preferable (Montgomery, 2001) and p(1-p)N @ 0 is assumed to be true, so the sum of the probabilities indicating acceptance of the lot according to vector P1(m) is 0.00036 and rejection of the lot according P2(m) is 0.015. These values correspond respectively to the conditional probabilities of accepting a lot given at least one non-conforming item in a lot and to of rejecting the lot given only conforming items in a lot.

Consider the probability of finding only conforming units in a lot approximately equal to 0.9. In this case, rp = 0.013 and ad = 0.000036 but values of e1 and e2 can significantly alter these probabilities. For example, e1 = e2 = 0.005, they correspond and rp = 0.065. However, it is important to keep in mind that the approach presented here is economical and that high values of rp and ad are strong indications of inadequate attributions for the costs. Another plausible solution is to try a semi-economical approach sometimes called statistical-economical with the goal of minimizing functions like (3.1) restricted to maximum values of rp and ad, for example.

7. Conclusions and Final Remarks

Diagnosis errors can cause a significant impact in determining the optimum sample size in a zero-defect with rectification procedure. Even small diagnosis error probabilities, such as e1 = 0.001 and e2 = 0.001 can significantly alter the value of optimum m (mº), as illustrated in this study. Therefore, diagnosis errors must be incorporated in the model and evaluated from an economic perspective.

Extensions of this study can be made in two directions. One is to change the initial criteria in the sampling inspection for a value other than zero, that is c,c > 0. Another alternative is to make repetitive tests to minimize the effect of the diagnosis errors. An item would be classified as conforming if the number of conforming independent classifications is higher than a specified value a. In this situation, the objective is to determine the optimum values of m, the number of the independent repetitive inspections for an item, the value of a and the value of c in order to minimize the total expected cost.

Acknowledgment

The authors would like to acknowledge the many valuable comments of an anonymous reviewer.

Recebido em 12/2003; aceito em 02/2005 após 1 revisão

Received December 2003; accepted February 2005 after one revision

  • (1) Aminzadeh, M.S. (2003). Bayesian Economic Variable Acceptance-Sampling Plan Using Inverse Gaussian Model and Step-Loss Function. Communication in Statistics Theory and Methods, 32(5), 961-982.
  • (2) Anderson, M.A.; Greenberg, B.S. & Stokes, S.L. (2001). Acceptance sampling with rectification when inspection errors are present. Journal of Quality Technology, 33(4), 493-505.
  • (3) Brush, G.G.; Hoadley, B. & Saperstein, B. (1990). Estimating outgoing quality using the quality measurement plan. Technometrics, 32, 31-41.
  • (4) Ferrell, G.W. & Chhoker, A. (2002). Design of economically optimal acceptance sampling plans with inspection error. Computers & Operations Research, 29, 1283-1300.
  • (5) Greenberg, B.S. & Stokes, S.L. (1992). Estimating nonconformance rates after zero defect sampling with rectification. Technometrics, 34(2), 203-213.
  • (6) Greenberg, B.S. & Stokes, S.L. (1995). Repetitive testing in the presence of inspection errors. Technometrics, 37(1), 102-111.
  • (7) Hahn, G.J. (1986). Estimating the percent nonconforming in the accepted product after zero defect sampling. Journal of Quality Technology, 18(3), 182-188.
  • (8) Hald, A. (1967). The determination of single sampling attribute plans with given producer's and consumer's risk. Technometrics, 9, 401-415.
  • (9) Hald, A. (1981). Statistical Theory of Sampling Inspection by Attributes Academic Press, New York.
  • (10) Johnson, N.L.; Kotz, S. & Balakrishnan, N. (1992). Univariate Discrete Distributions Second Edition, John Wiley & Sons, Inc., New York.
  • (11) Johnson, N.L.; Kotz, S. & Wu, X. (1991). Inspection errors for attributes in quality control Chapman & Hall, London.
  • (12) Markowski, E.P. & Markowski, C.A. (2002). Improved attribute acceptance sampling plans in the presence of misclassification error. European Journal of Operation Research, 139(3), 501-510.
  • (13) Minton, G. (1972). Verification error in single sampling inspection plans for processing survey data. Journal of the American Statistical Association, 67, 46-54.
  • (14) Montgomery, D.C. (2001). Introduction to statistical quality control 4th ed., John Wiley & Sons, Inc.
  • (15) Quinino, R.C. & Ho, L.L. (2004). Repetitive tests as an economic alternative procedure to control attributes with diagnosis errors. European Journal of Operation Research, 155, 209-225.
  • (16) Quinino, R.C. & Suyama, E. (2002). Número ótimo de classificações independentes com erro na avaliação da conformidade de produtos. Pesquisa Operacional, 22(1), 1-8.
  • (17) Starbird, A. (1997). Acceptance sampling, imperfect production, and the optimality of zero defects. Naval Research Logistics, 44, 515-530.
  • (18) Wetherill, G.B. & Chiu, W.K. (1975). A review of acceptance sampling schemes with emphasis on the economic aspect. International Statistical Review, 43(2), 91-210.

Appendix 1

  • *
    Corresponding author / autor para quem as correspondências devem ser encaminhadas
  • Publication Dates

    • Publication in this collection
      05 July 2005
    • Date of issue
      Apr 2005

    History

    • Accepted
      Feb 2005
    • Received
      Dec 2003
    Sociedade Brasileira de Pesquisa Operacional Rua Mayrink Veiga, 32 - sala 601 - Centro, 20090-050 Rio de Janeiro RJ - Brasil, Tel.: +55 21 2263-0499, Fax: +55 21 2263-0501 - Rio de Janeiro - RJ - Brazil
    E-mail: sobrapo@sobrapo.org.br