Mathematical Problems in Engineering

Volume 2011 (2011), Article ID 575036, 15 pages

http://dx.doi.org/10.1155/2011/575036

## Mixed Variables-Attributes Test Plans for Single and Double Acceptance Sampling under Exponential Distribution

School of Finance and Statistics, East China Normal University, no. 500 Dongchuan Road, Shanghai 200241, China

Received 6 March 2011; Accepted 5 April 2011

Academic Editor: Ming Li

Copyright © 2011 Yan Li et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

The mixed variables-attributes test plans for single acceptance sampling are proposed to protect “good lots” from attributes aspect and to optimize sample sizes from variables aspect. For the single and double mixed plans, exact formulas of the operating characteristic and average sample number are developed for the exponential distribution. Numerical illustrations show that the mixed sampling plans have some advantages over the variables plans or attributes plans alone.

#### 1. Introduction

In reality, especially in industry, acceptance sampling is applied to audit the percent nonconforming of the incoming materials, semimanufactured goods, finished products, and so on. Among the available plans for testing the percent nonconforming, attributes sampling plans are the most widely used plans in practice, due to the fact that they only require easy-to-collect and low-cost attributes data and produce reasonable judgments about the number of nonconforming items, as pointed out in [1].

Compared with attributes plans, variables acceptance procedures require less data under the same error probabilities and produce more accurate quality information. Hence, for costly and/or destructive inspections, variables plans are more attractive for practitioners. However, the necessary preprocessing of translating the test of the percent nonconforming into that of a variables characteristic would have the following problems [1, 2]: (i) It is generally more difficult and time consuming to measure the variables quality characteristic. (ii) The variables quality characteristic and its distribution should be specified. Since testing and estimating the percent nonconforming highly depend on the assumed distribution, unreliable conclusions may be made from the inappropriate distribution especially when the percent nonconforming is extremely small or large and is greatly inflected by the tail feature of the distribution. (iii) Under the same requirements on error probabilities, the protection for the two types of error probabilities under variables plans may be weaker than that of attributes plans. (iv) For variables plans, a lot may be rejected even if all of the sampled items are conforming, which violates the rule of attributes procedures and is always questioned by practitioners.

In fact, the authors found the above problem (iv) when applying a variables plan to the following application. To test the percent nonconforming of a batch of bullets, a bullets sample is inspected by shooting at a circular objective with the center and the radius . A bullet is defined as conforming if it hits the objective under some circumstances, or as nonconforming otherwise. The inspection results include the variables data, that is, coordinates of the fall points, and the attributes data about whether the inspected bullets are nonconforming. According to specific needs, the test problem was set as

Under the binomial distribution, the attributes plan for single acceptance sampling (single attributes plan) with the error probabilities is , that is, to inspect 11 bullets and accept the null hypothesis in the test problem (1.1) when 2 or less bullets in the sample are nonconforming. The real error probabilities of the plan are and .

The variables plan for single acceptance sampling (single variables plan) is also accessible based on locations of the fall points. Suppose the coordinate of the fall point is , where and are independent and identically distributed (i.i.d.) with according to the practitioners’ experiences. Then, conforms with or Gamma(1,2). Equivalently, conforms with the exponential distribution Exp with as its mean. Hence, the percent nonconforming and the variables parameter have the following relationship: or equivalently,

Taking as an example, according to (1.3), the test problem (1.1) is equivalent to

For the test problem (1.4), setting as the rejection region, the single variables plan should be with the real error probabilities .

To save the inspection costs, we chose the variables scheme and obtained coordinates of the 6 sampled bullets, that is, , , , , , and . Since , the null hypothesis in (1.4) or in (1.1) was rejected. However, it is clear that all of the sampled bullets are conforming since . Thus, the judgement leads to some problems from attributes aspect as stated below.(i)The basic rule of attributes plans is to accept a lot when none of the sampled items is nonconforming. Obviously, our test result is contradictory to this rule.(ii)The producer can hardly be convinced about the decision of rejecting the lot when no nonconforming item is found. The producer may argue that the lot should be accepted even under the attributes plan , which guarantees the consumer’s risk since , although it employs the producer’s risk as large as . Further, for the hypothesis “” with ( is an indicator function) as its form of rejection region, the -value of the test result is . Therefore, the decision of rejecting the hypothesis “” should be made with a quite sufficient evidence under the significance level .

Motivated by this case and other similar problems in engineering (e.g., [3–8]), we try to find the answer about which one is more suitable for testing the percent nonconforming, the variables plan or the attributes plan. Scholars have different opinions and arguments in their papers. Some (e.g., [2]) support attributes plans due to their better protection for the two types of error probabilities. Some (e.g., [9, 10]) insist that variables plans be advantageous and acceptable according to the evaluation on some loss functions under superpopulations.

However, it is not necessarily a dichotomy scenario. Some scholars choose compromised schemes, that is, the mixed variables-attributes sampling plans, most of which (e.g., [11–15]) are double sampling procedures. For single acceptance sampling, Kao [16] proposes the mixed plan which permits to accept a lot when the number of nonconforming items is small and the conforming items in the sample are uniform under some variables characteristic. However, since it mainly aims at testing item variability and considers two independent quality characteristics for attributes and variables inspections, respectively, the mixed plan in [16] is inapplicable to our case. Anyway, the present mixed plans provide a way to find out a solution to our problem.

In Section 2, we propose the mixed variables-attributes plans for single acceptance sampling (single mixed plans). To make a comparison, we also obtain the existing mixed plans for double acceptance sampling (double mixed plans) with the derived performance formulas in Section 3. Summaries and further remarks are provided in Section 4. The appendix gives the related formula in evaluating performance of the mixed plans. Due to our interest in the bullets test problem, we only discuss the exponential distribution case, which is also vital for life testing according to [12].

#### 2. Mixed Plans for Single Acceptance Sampling

To design the mixed variables-attributes schemes for single acceptance sampling, a key is to determine the form of the rejection region. For the bullets test problem in this paper, taking as the rejection region for variables sampling and ( is an integer in ) as the counterpart for attributes sampling, we set the rejection region of the single mixed plans as . Then, a single mixed plan contains 3 parameters, that is, the sample size , the critical values for variables measurement and for attributes measurement.

Since , the single mixed plans can guarantee the rule of accepting a lot when no nonconforming item is found in the sample. Moreover, variables and attributes information can be integrated in the single mixed plans to obtain more convincible and applicable results.

However, the feature of discrete distributions (e.g., the binomial distribution) for the number of nonconforming items impairs the flexibility of designing the plans. Therefore, sample sizes of the single mixed plans are larger than or equal to those of the single variables plans with the same requirements on error probabilities.

Next, we discuss how to determine the operating characteristic (OC) formula of the single mixed plan . With the rejection region , the probability of accepting the null hypothesis under the percent nonconforming should be

As will be shown in the sequel, the OC formulas of the single mixed plans share the same difficulty as those of the double mixed plans in terms of the quantity in (2.1). According to [12], finding the OC formulas of the double mixed plans involves “severe technical difficulties” in two aspects. First, the random variable is truncated as or , which is specified by the number of nonconforming items . Commonly, it is not readily to obtain the distributions of algebraic functions of truncated random variables such as . Second, the random variables in are not identically distributed when .

Efforts have been made to derive the OC formulas of the double mixed plans. Savage [12] obtains the OC formulas for and 1 based on the convolution for the exponential distribution. Although it is accessible in theory, the method is so complex that it is quite hard to derive the OC formulas for . For the double mixed plans under the normal distribution, Gregory and Resnikoff [11] provides the approximate OC formulas through numerical integration and asymptotic expansion, respectively. Thereafter, the exact OC formulas under the normal distribution are set up with a recursive form and tables about some related values are provided for applications in [13, 17–19].

In Theorem A.1 of the appendix, we derive an accurate formula for to obtain the OC curve of the mixed plans under the exponential distribution. It is simple in form and easy in operation, which is believed to further increase attractions of the mixed plans.

According to Theorem A.1 in the appendix, the probability of accepting the null hypothesis under the single mixed plans is where is the cumulative distribution function (c.d.f.) of Gamma , and is obtained from (1.3).

Finally, we determine the parameters with two proposed procedures here. One aims at protecting “good lots” from attributes aspect, and the other is to achieve optimization by minimizing the sample size.

##### 2.1. Single Mixed Plan I: Protecting “Good Lots”

In Section 1, we point out the awkward problem of variables plans, that is, a “good lot” from the attributes aspect possibly being rejected. To solve the problem, the single mixed plan is designed to guarantee “good lots” to be accepted. This is called the single mixed plan I.

Then, the point is how to define a “good lot” from attributes aspect. According to the discussion in Section 1, we consider to find a proper region for rejecting the hypothesis “” with a sufficient evidence under the significance level . Then, when the number of nonconforming observations is not more than , we have a sufficient evidence to conclude a “good lot” from attributes aspect. This provides a way to determine the critical value of the single mixed plan I.

The sample size of the single mixed plan I may be determined through searching in a computer program. In applications, the sample size of the single variables scheme with the same error probabilities can be set as a starting value for searching , since must be larger than or equal to as stated above.

As the most flexible value with continuous measurement, the critical value should be determined according to requirements on the two error probabilities under some provided and .

The following steps provide a guidance to find the single mixed plan I.

*Step 1. *Find the sample size of the single variables plan with the required error probabilities and set the initial sample size as .

*Step 2. *With the sample size , determine the critical value for “good lots” under the significance level .

*Step 3. *For the given and , search through dichotomy and try to find a single mixed plan with the required two error probabilities. If the plan is not found, set and go to Step 2.

To illustrate the procedure, we reconsider the bullets test problem in Section 1.

*Example 2.1. *In this example, we set up the single mixed plan I for the bullets test problem (1.1) under the two error probabilities . Here, the significance level for defining “good lots” is set as 0.05. The steps are the following.(i)According to the results in Section 1, the single variables plan is . Thus, we set .(ii)For , the region for rejecting “” is under . Therefore, we have .(iii) After searching through dichotomy in a computer program, we find that when , the single mixed plan makes . Thus, the determined single mixed plan I is .

With the data of the 6 inspected bullets in Section 1, since , the decision of accepting the null hypothesis in (1.1) should be made under the single mixed plan I .

More illustrations of the single mixed plan I are provided in Example 2.2.

*Example 2.2. *For the bullets test problem (1.1), let the two error probabilities be and 0.05, respectively. Also take . Tables 2 and 3 list the single mixed plans I and their performance.

From Examples 2.1 and 2.2, it can be found that the sample sizes of the single mixed plans I are equal to or a little more than those of the single variables plans with the same controlled error probabilities. In theory, sample sizes of some single mixed plans I can be improved by determining the parameter more flexibly. With the principal objective of minimizing the sample size, we propose the single mixed plan II.

##### 2.2. Single Mixed Plan II: Minimizing Sample Size

To minimize the sample size, we develop the single mixed plan II in this section. The main idea is to obtain a plan with minimized sample size by searching, and to optimize the critical value (by maximizing ) to protect “good lots”.

To make the sample size as small as possible under controlled error probabilities and to protect “good lots” at the same time, the single mixed plan II should be determined according to the following steps.

*Step 1. *Obtain the sample size of the single variables plan and set .

*Step 2. *Set .

*Step 3. *With the provided and , find the critical value that maximizes under the constraint . If no satisfying is found, set and go to Step 2.

*Step 4. *With the , and from Step 3, calculate . If , set and then go to Step 3; If , go to Step 5; If and , make and go to Step 5; Otherwise, set and go to Step 2.

*Step 5. *Readjust under the determined and to obtain a more appropriate plan when necessary.

*Example 2.1 (continued). *Continue the bullets test problem (1.1). The following indicates the process of finding the single mixed plan II.(i)According to the variables plan , we make .(ii)Set .(iii) Under and , the searched value is which makes .(iv) For the mixed plan , we have . Since , set .(v)Under and , search . The result shows that when , may reach its maximum value 0.1143.(vi) For the plan , we have . Therefore, make .(vii) With and , we search again and find that when , . Thus, the determined single mixed plan II is , which is the same as the single mixed plan I.

*Example 2.2 (continued). *The single mixed plans II for and 0.05 are also listed in Tables 2 and 3.

In Examples 2.1 and 2.2, all of the sample sizes of the single mixed plans II are the same as those of the single variables plans. It indicates that the single mixed plans II are attractive and practical due to the comparative costs with the single variables plans and the ability of protecting “good lots” to some degree.

To conduct further comparisons, we provide the performance formulas of the double mixed plans under the exponential distribution in the next section.

#### 3. Mixed Plans for Double Acceptance Sampling

The double mixed plans were proposed decades ago and then were developed and applied in practice (e.g., [11–15, 17–19]). There are two forms of double mixed plans: the independent mixed plans and dependent mixed plans.

##### 3.1. Double Independent Mixed Plans

Under a double independent mixed plan , we should inspect items with variables measurement and accept the null hypothesis when . If , another items should be inspected with attributes measurement. In the second stage, a decision is made based on the number of nonconforming items in the items, that is, accepting when or rejecting otherwise.

Obviously, the OC curve of the double independent mixed plan is And its ASN formula is

The probabilities in (3.1) and (3.2) are easy to obtain because only one kind of measurement is considered in each of the stages, and the two stages are independent. Designing and selection of the double independent mixed plans for the normal distribution are discussed in [14, 15]. In the later examples, optimal double independent mixed plans, that is, plans with minimum ASN at some , are obtained by searching in a computer program.

##### 3.2. Double Dependent Mixed Plans

For a double dependent mixed plan , items should be tested with variables and attributes measurements. In the first stage, we can accept if or reject if where is the number of nonconforming items in the observations. Otherwise, another items should be inspected with attributes measurement. In the second stage, we should accept if or reject otherwise, where is the total number of nonconforming items in the observations.

For the bullets test problem, according to Theorem A.1 in the appendix, the OC curve of the double dependent mixed plan is where is the number of nonconforming items in the second-stage observations.

The ASN formula of the double dependent mixed plan is

According to Schilling [20], a double dependent mixed plan in MIL-STD-414 is designed by combining the corresponding variables plan and attributes plan. In this procedure, should be much less than , and is set equal to . Although it can not find an exact double dependent mixed plan, this procedure is helpful to find an approximately matchable plan in a simple way. However, we find that such a design does not produce minimum ASN.

For the bullets test problems in Examples 2.1 and 2.2, we determine the double mixed plans with minimum ASN and then possibly small ASN by searching in a computer program. The plans and their performance are provided in Tables 1–3.

Further, the double variables plans and double attributes plans are found to make a comparison. Under the double variables plan, the null hypothesis is accepted when or is rejected when at the first stage with a sample of size . If , a second sample of size is needed and the null hypothesis is accepted when or is rejected otherwise. For the double attributes plan, the null hypothesis is accepted if or is rejected if for the first-stage observations. If , a second sample of size is inspected and the null hypothesis is accepted if or is rejected otherwise.

To better analyze the performance of the mixed plans, the OC and ASN curves are illustrated in Figures 1, 2, 3, 4, 5, and 6. Interestingly, all of the plans have almost the same OC curves except the single attributes plans. Therefore, we provide the OC curves of the single mixed plans II (as a representative) and the single attributes plans in Figures 1–3. Figures 4-6 show the ASN curves of the double acceptance sampling plans.

According to Figures 1–3, the single attributes plans perform a little stronger protection for producer and consumer's risks than other plans. Based on Figures 4–6, it is clear that the double dependent mixed plans are preferable in ASN than the double independent mixed plans. Especially, the ASN curves of the double independent mixed plans increase as becomes large, while the double dependent mixed plans have small ASNs beyond . Moreover, the ASN curves of the double dependent mixed plans lie between those of the double variables plans and the double attributes plans in .

#### 4. Conclusions and Remarks

We have presented mixed plans for the single and double acceptance sampling problems. Our proposed methods combine certain strengths of the variables sampling plans and the attributes sampling plans. Numerical examples have shown that they perform well in various cases.

Compared to the variables sampling plans, the major advantages of our proposed mixed plans are as follows. (i) The mixed plans avoid the problem of rejecting a lot when no nonconforming item is inspected. (ii) Since attributes results are considered, the mixed plans can tolerate small quantity of outliers which depart from the “natural” form of the underlying distribution and then protect a generally good lot. Hence, the inference on the percent nonconforming does not depend on the assumed distribution so much like the variables sampling. (iii) For rejected lots, the actual number of nonconforming items is helpful to convince producers psychologically.

Compared to the attributes sampling plans, the major advantages of our proposed mixed plans are as follows. (i) The mixed plans can reduce sample sizes compared with the attributes plans with the same error probabilities. (ii) The mixed plans contain a far more careful inspection and analysis based on variables measurement. (iii) Due to the variables feature, the mixed plans introduce more flexibility to obtain desired plans with controlled risks.

With our derived formulas for evaluating their exact performance, our proposed mixed plans should be useful for various applications, especially for those in which the related population distributions are exponential. Comparing the proposed single mixed plans with the double mixed plans, the former may be more convenient to use, but the latter would require less average sample sizes. When the test cost is our major concern and the quality is assured near or , the double dependent mixed plans are recommended. Otherwise, we recommend to use the single mixed plans for testing the percent nonconforming conveniently and cheaply.

In our opinion, much future research is required to study the possibility to optimize the mixed plans, especially the double mixed plans. Further, the development of mixed plans for the sequential sampling cases is still an open problem and requires much future research as well.

#### Appendix

#### A Related Formula for Mixed Plans’ Performance

Theorem A.1. *Suppose are i.i.d. random variables from the exponential distribution where is the expectation of . Let , Then, for any integer ,
**
where is the c.d.f. of Gamma . *

*Proof. *Let ; ; , .

Since , we have

As are i.i.d. *~* Exp, it is obvious that are i.i.d. *~* Exp. Therefore,

Then, for ,
The proof is completed.

#### Acknowledgment

This work was partly supported by the National Natural Science Foundation of China (NSFC) under the project Grant number 11001083. The authors cordially thank the editor and anonymous referees for their helpful reviews.

#### References

- G. B. Wetherill and W. K. Chiu, “A review of acceptance sampling schemes with emphasis on the economic aspect,”
*International Statistical Review*, vol. 43, no. 2, pp. 191–210, 1975. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - E. von Collani, “A note on acceptance sampling for variables,”
*Metrika*, vol. 38, no. 1, pp. 19–36, 1991. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - E. G. Bakhoum and C. Toma, “Specific mathematical aspects of dynamics generated by coherence functions,”
*Mathematical Problems in Engineering*, vol. 2011, Article ID 436198, 10 pages, 2011. View at Publisher · View at Google Scholar - C. Cattani, “Fractals and hidden symmetries in DNA,”
*Mathematical Problems in Engineering*, vol. 2010, 31 pages, 2010. View at Google Scholar · View at Zentralblatt MATH - M. Li, “A method for requiring block size for spectrum measurement of ocean surface waves,”
*IEEE Transactions on Instrumentation and Measurement*, vol. 55, no. 6, pp. 2207–2215, 2006. View at Publisher · View at Google Scholar · View at Scopus - M. Li and W. Zhao, “Variance bound of ACF estimation of one block of fGn with LRD,”
*Mathematical Problems in Engineering*, vol. 2010, Article ID 560429, 14 pages, 2010. View at Publisher · View at Google Scholar - Y. Li and X. Pu, “Hypothesis designs for three-hypothesis test problems,”
*Mathematical Problems in Engineering*, vol. 2010, Article ID 393095, 15 pages, 2010. View at Publisher · View at Google Scholar · View at Scopus - G. Mattioli, M. Scalia, and C. Cattani, “Analysis of large-amplitude pulses in short time intervals: application to neuron interactions,”
*Mathematical Problems in Engineering*, vol. 2010, Article ID 895785, 15 pages, 2010. View at Google Scholar · View at Zentralblatt MATH - W. Seidel, “Is sampling by variables worse than sampling by attributes? A decision theoretic analysis and a new mixed strategy for inspecting individual lots,”
*Sankhyā*, vol. 59, no. 1, pp. 96–107, 1997. View at Google Scholar · View at Zentralblatt MATH - W. Seidel, “A possible way out of the pitfall of acceptance sampling by variables: treating variances as unknown,”
*Computational Statistics and Data Analysis*, vol. 25, no. 2, pp. 207–216, 1997. View at Google Scholar · View at Scopus - G. Gregory and G. J. Resnikoff, “Some notes on mixed variables and attributes sampling plans,” Tech. Rep. 10, Applied Mathematics and Statistics Laboratory, Stanford University, Palo Alto, Calif, USA, 1955. View at Google Scholar
- I. R. Savage, “Mixed variables and attributes plans, the exponential case,” Tech. Rep. 23, Applied Mathematics and Statistics Laboratory, Stanford University, Palo Alto, Calif, USA, 1955. View at Google Scholar
- E. G. Schilling and H. F. Dodge, “Procedures and tables for evaluating dependent mixed acceptance sampling plans,”
*Technometrics*, vol. 11, no. 2, pp. 341–372, 1969. View at Google Scholar - K. K. Suresh and S. Devaarul, “Combining process and product control for reducing sampling costs,”
*Economic Quality Control*, vol. 17, no. 2, pp. 187–194, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH - K. K. Suresh and S. Devaarul, “Multidimensional mixed sampling plans,”
*Quality Engineering*, vol. 16, no. 2, pp. 233–237, 2003. View at Google Scholar · View at Scopus - J. K. Kao, “Single sample attri-variate plans for item variability in percent defective,”
*Annual Technical Conference Transactions of the American Society for Quality Control*, New York, NY, USA, pp.743–758, 1966. - E. G. Schilling and H. F. Dodge, “On some joint probabilities useful in mixed acceptance sampling,” Tech. Rep. N-26, Statistics Center, Rutgers University, New Brunswick, NJ, USA, 1966. View at Google Scholar
- E. G. Schilling and H. F. Dodge, “Tables of joint probabilities useful in evaluating mixed acceptance sampling plans,” Tech. Rep. N-28, Statistics Center, Rutgers University, New Brunswick, NJ, USA, 1967. View at Google Scholar
- E. G. Schilling and H. F. Dodge, “Supplement to tables of joint probabilities,” Tech. Rep. N-29, Statistics Center, Rutgers University, New Brunswick, NJ, USA, 1967. View at Google Scholar
- E. G. Schilling,
*Acceptance Sampling in Quality Control*, Marcel Dekker, Inc., NewYork, NY, USA, 1982.