Introduction

The acceptance sampling plan is an important tool used in quality control for the disposition of the manufactured lots or a sequence of lots, which aims to decide the acceptance or rejection of one lot instead of determining the quality of one lot1. The acceptance sampling plan gives the required sample size and judgment standard for lot disposition while reaching an agreement regarding the specific quality levels and risks between the producer and the purchaser. As the disposition of the lot is based upon the sampling theory, two types of errors are unavoidable, called Type-I error and Type-II error. Type-I error is the producer’s risk resulting in the rejection of good lots and is denoted as \(\alpha \)-risk. On the other hand, Type-II error is the purchaser’s risk resulting in the acceptance of bad lots and also denoted as \(\beta \)-risk. For both the two parties, the producer wishes to lower the risk of rejecting a good lot while the purchaser desires to lower the risk of accepting a bad lot. Therefore, a well-designed sampling plan should be able to effectively reduce the gap between the required quality level and the actual quality level supplied. For this purpose, the design of an acceptance sampling plan is usually based on the two-points of the operating characteristic curve (OC curve).

Depending on the property of quality characteristics, an acceptance sampling plan can be divided into two types, attributes sampling plan and variables sampling plan. An attributes sampling plan is used for quality characteristics expressed on a “go, no-go” basis while a variable sampling plan is used for quality characteristics measured as a numerical value. Compared with the attributes sampling plan, a variable sampling plan provides a smaller sample size to attain the same protection for producer and purchaser as well as giving more information about lots. Consequently, variable sampling plan attracts more and more attention from industries today. However, the traditional variable sampling plan does not cope with the lot sentencing effectively when the proportion defective in the process is very low. To overcome the defect, many authors have proposed variable sampling plans based on process capability indices (PCIs) for lot inspection. Pearn and Wu used the one-sided process capability indices (Cpu and Cpl) and Cpm to design the single sampling plan, respectively2,3. Pearn and Wu developed a single sampling plan based on Cpk4. Wu and Pearn proposed a single sampling plan based on Cpmk5. Yen and Chang used Le to develop a single sampling plan6. By extending the research6, Aslam et al. developed the repetitive sampling plan based on Le7and proposed the two-stage sampling plan based on Le8. Aslam et al. designed the repetitive group sampling plan based on Cpk9. Aslam et al. developed the multiple dependent state repetitive sampling plan with process loss function Le10. Yen et al. firstly proposed the exponential weighted moving average (EWMA) method to develop the sampling plan based on the process yield index Spk11. Wu and Liu used the yield index Spk to design the single sampling plan12. Aslam et al. used the multiple dependent state method to build the sampling plan based on Le which considers the qualities of the current lot and preceding lots13. Wu et al. also used multiple dependent state method to develop the sampling plan based on Cpk14. Yen et al. used the one-sided process capability indices (Cpu and Cpl) to develop the repetitive sampling plan15. More information about PCI-based sampling can be seen in three references12,16,17.

There are three kinds of sampling plans that may have different numbers of sampling for lot sentencing, including the single, double, and multiple sampling plans. In a single sampling plan, the information obtained from one single sample is used to make a decision of accepting or rejecting the lot. Double sampling provides an extra opportunity to make a decision of acceptance or rejection of the lot if the decision regarding the lot could not be reached based on the information from the first sample. The multiple sampling plan is just an extension of the double sampling plan. Among them, the single sampling plan is most popularly used due to its simplicity in management. In most situations, we would decide to accept or reject the lot based on the information obtained from the single sample. However, resubmitting lots may occur after examination by the producer once a lot is not accepted based on a single sample. For example, the producer may argue the results of the first sample so that the same number of units resampled may be implemented under the regulations of the contract or statues18. In addition, to sustain the good partnership between the vendor and buyer, the resampling is often permitted for lots non- accepted on the original inspection. As mentioned, in certain countries, tax on products is assessed based on a sample result and if the producer does not agree with the result, a second sample result will be used18. Govindaraju and Ganesalingam developed a method of an attributes sampling plan for resubmitted lots which examined the situation where resampling is permitted for lots not accepted on original inspection18. For the issue of resubmitted lots, some researchers have used quality induces to develop the resubmitted sampling plans for lot sentencing19,20,21,22,23,24,25.

In specific cases, we may be more concerned with the stability of products so that the existing resubmitted sampling plans cannot be applied adequately. Take the tensile strength of steel, for example, the stability of tensile strength may be more important than the average tensile strength for enterprises who construct the buildings since the superstructure would be propped up well if the tensile strength of steel used is consistent. In addition, there are some situations in which the targeted quality characteristics have different units of measurement, which lead to the difficulty of comparison for such quality characteristics. For addressing such a situation, researchers used the relatively dimensionless measure CV, defined as the ratio of the standard deviation to the mean, to compare the different magnitudes of data sets. During recent years, the CV has attracted many researchers to engage in research on quality control26,27,28,29,30,31,32. By exploring the literature and best of the authors’ knowledge, the resubmitted sampling plans based on a CV are not proposed yet. Therefore, we attempt to develop a variables sampling plan based on a CV when resampling is permitted for lots non-accepted on the original inspection. The rest of the paper is organized as follows: a resubmitted sampling plan based on the CV is provided in “A sampling plan based on the CV for resubmitted lots” section. In “Determination of plan parameters” section the determination of the plan parameters is described. Discussion and analysis are made in “Discussion and analysis” section. In “An application example in industry” section, a practical example is presented to illustrate the proposed methodology. Finally, conclusions and recommendations are given in the last section.

A sampling plan based on the CV for resubmitted lots

Coefficient of variation

The coefficient of variation is a dimensionless number, which considers the spread of data relative to the central location. It is usually used to measure the consistency of data sets with different units or widely different means. Due to the properties of this index, it has been widely applied in many practical applications of quality control, such as reliability, control chart, acceptance sampling plan, and so on. CV is the ratio of the standard deviation to the mean, defined as

$$ CV = \frac{\sigma }{\mu } $$

where \(\mu\) is the mean, and \(\sigma\) is the standard deviation. In reality, the parameter CV is almost unknown so we have to use the sample statistic to estimate it. In order to estimate the CV, we consider the following natural estimator

$$ \mathop {CV}\limits^{ \wedge } = \frac{S}{{\overline{X}}} $$

where \(\overline{X}\) is the sample mean, and \(S\) is the sample standard deviation. Given the assumption that the data follows the normal distribution with mean \(\mu\) and standard deviation \(\sigma\), Iglewicz et al. showed that the statistic \(\sqrt n /\mathop {CV}\limits^{ \wedge }\) is distributed as a non-central \(t\) distribution with n-1 degrees of freedom and a non-central parameter \(\sqrt n /CV\), denoted as \(t_{n - 1,\;\sqrt n /CV}\)33.

The proposed methodology

Govindaraju and Ganesalingam18 first developed an attribute sampling plan for resubmitted lots, which permits the resampling to be executed for lots not accepted on the original inspection. Referring to this methodology, we propose a resubmitted sampling plan based on CV, whose operation procedure is stated as follows:

Step 1: Take a random sample of size \(n\) from the lot and compute the estimated value of CV, \(\mathop {CV}\limits^{ \wedge }\).

Step 2: Accept the lot if \(\mathop {CV}\limits^{ \wedge } < k\), where k is the acceptance value under-sampling inspection. Otherwise, resubmit the lot and go to Step 1.

Step 3: On non-acceptance in Step 2, apply the plan m times and reject the lot if it is not accepted on (m − 1)st resubmission.

As18 stated, the eventual acceptance probability of resubmitted sampling plan can be expressed as

$$ P_{A} (p) = 1 - \left[ {1 - P_{a} (p)} \right]^{m} $$
(1)

where \(P_{a} (p)\) is the probability of accepting a lot with proportion defective p for a single inspection. Also, the ASN with proportion defective p is written as

$$ \;ASN(p) = \frac{{n\left[ {1 - \left( {1 - P_{a} (p)} \right)^{m} } \right]}}{{P_{a} (p)}} $$
(2)

Referring to Eq. (1)-(2), the eventual acceptance probability and ASN of the resubmitted sampling plan based on a CV can be written respectively as

$$ P_{A} (CV) = 1 - \left[ {1 - P_{a} (CV)} \right]^{m} $$
(3)

and

$$ \;ASN(CV) = \frac{{n\left[ {1 - \left( {1 - P_{a} (CV)} \right)^{m} } \right]}}{{P_{a} (CV)}} $$
(4)

where \(P_{a} (CV)\) is the probability of accepting a lot with a coefficient of variation CV for a single inspection, which can be expressed as

$$ P_{a} (CV) = P(\mathop {CV}\limits^{ \wedge } < k) = P\left( {t_{n - 1,\;\sqrt n /CV} > \sqrt n /k} \right) $$
(5)

Commonly, an acceptance sampling plan is designed based on the principle of two points on the OC curve. By minimizing the ASN while satisfying the two designated points (\(CV_{AQL}\),\(1 - \alpha\)) and (\(CV_{LTPD}\),\(\beta\)), the resubmitted sampling plan based on a CV can be built as

$$ Min\;\;\frac{{n\left[ {1 - P\left( {t_{{n - 1,\;\;2\sqrt n /(CV_{AQL} + CV_{LTPD} )}} < \sqrt n /k} \right)^{m} } \right]}}{{P\left( {t_{{n - 1,\;\;2\sqrt n /(CV_{AQL} + CV_{LTPD} )}} > \sqrt n /k} \right)}} $$
(6)

Subject to

$$ P_{A} (CV_{AQL} ) = 1 - P\left( {t_{{n - 1,\;\;\sqrt n /CV_{AQL} }} < \sqrt n /k} \right)^{m} \ge 1 - \alpha $$
(7)
$$ P_{A} (CV_{LTPD} ) = 1 - P\left( {t_{{n - 1,\;\;\sqrt n /CV_{LTPD} }} < \sqrt n /k} \right)^{m} \le \beta $$
(8)

where CVAQL and CVLTPD are acceptable quality level and lot tolerance percent defective for CV respectively, and \(\alpha\) and \(\beta\) are the producer’s risk and buyer’s risk respectively.

Determination of plan parameters

For practical purpose, we provide the corresponding sample size required and acceptance value for the resubmitted sampling plan, with commonly used producer’s risk, buyer’s risk, and quality levels of coefficient of variation. Using the above-mentioned Eqs. (3)–(8), we write the SAS-Language code program to find the parameters of the proposed plan for different levels of risks and quality levels. Tables 1, 2, 3, 4 display (n, k, ASN) values for (\(\alpha\),\(\beta\)) = (0.05, 0.1), (0.1, 0.05), (0.05, 0.05) and (0.1, 0.1), with some quality levels of \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\). Referring to the parameters of the proposed plan in Tables 1, 2, 3, 4, the practitioners can determine the number of production items to be sampled and the corresponding critical values. For example, if the number of resampling permitted is 1, the benchmarking quality level (\({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\), \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\)) is set to (0.06, 0.08) with producer’s \(\alpha\)-risk = 0.05 and buyer’s \(\beta\)-risk = 0.10, then the corresponding sample size, critical value, and ASN for the resubmitted sampling plan are 40, 0.0649 and 68.67, respectively. This implies that the lot will be accepted if the 40 items yield measurements with \(\mathop {CV}\limits^{ \wedge } < {0}{\text{.0649}}\). Otherwise, resubmission is allowed once if the lot is not accepted on original inspection and the lot will be rejected if the resubmission is also not accepted. On the other hand, if we permit the number of resampling to be 2 given all other conditions are the same as the above, then the corresponding sample size and critical value for the resubmitted sampling plan are 34, 0.0619 and 83.72, respectively. This implies the consumer allows resubmissions twice in the case of non-acceptance on the submitted sample of size 34, and reject the lot if two resubmissions with the same sample size are not accepted.

Table 1 The parameters of the proposed plan for risks, \(\alpha\) = 0.05 and \(\beta\) = 0.1.
Table 2 The parameters of the proposed plan for risks, \(\alpha\) = 0.1 and \(\beta\) = 0.05.
Table 3 The parameters of the proposed plan for risks, \(\alpha\) = 0.05 and \(\beta\) = 0.05.
Table 4 The parameters of the proposed plan for risks, \(\alpha\) = 0.1 and \(\beta\) = 0.1.

From the results in Tables 1, 2, 3, 4, we can observe that for fixed m, \(\alpha\)-risk and \(\beta\)-risk, the required sample size becomes smaller when the difference between the values of \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\) becomes larger. This reason can be explained that it will be easier for us to make the correct judgment of lots because of a larger difference in agreed quality levels. Also, the required sample size would have an increasing trend while the stipulated risks become smaller. This phenomenon can be explained that if we expect that the chance of wrongly accepting bad lots or rejecting good lots is smaller, then we need to get more sample information to judge the lots. Furthermore, it can be seen that the required sample size becomes smaller and the corresponding critical acceptance value becomes smaller as the number of m increases. That is, the vendor can get the reduction of the required sample size with stricter acceptance standard as the resubmitted sampling plan provides a more flexible decision rule.

Discussion and analysis

In this section, we investigate the behaviors of the proposed plan and make a comparison with the existing CV-based sampling plans through OC curve and ASN curve. The OC curves of the proposed sampling plan for m = 2, 3, the CV-based single sampling plan34, two stage sampling plan35 and repetitive group sampling plan36 are depicted in Figs. 1 and 2, which consider the combinations of risks and quality levels for (\({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\),\({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\)) = (0.05, 0.06) with (\(\alpha\),\(\beta\)) = (0.05, 0.1) and (0.1, 0.05), and (\({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\),\({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\)) = (0.05, 0.07) with (\(\alpha\),\(\beta\)) = (0.05, 0.1) and (0.1, 0.05), respectively. From these graphs, we can see that the shapes of OC curves are very similar, which indicates that all sampling plans seem to have almost the same discriminatory power for lots. Nevertheless, we still can use the corresponding acceptance probabilities of one lot under various quality levels to compare the performance of these sampling plans. Tables 5, 6, 7, 8 display the corresponding acceptance probabilities of one lot under various quality levels for different CV-based sampling plans. For one lot with good quality levels (CV is below CVAQL), the proposed plan performs the best, followed by a single sampling plan and two stage sampling plan, and the repetitive sampling plan is the least. On the other hand, for one lot with bad quality levels (CV is above CVLTPD), two stage sampling plan performs the best, followed by a single sampling plan and the proposed plan, and the repetitive sampling plan is the least. Therefore, the proposed plan and two stage sampling plan can generally be thought of as having better performances on the discrimination of lot quality than the other two sampling plans.

Figure 1
figure 1

The OC curves for three plans with \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL} = {0}{\text{.05}}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD} = {0}{\text{.06}}\). Note m = 2, m = 3 means the proposed method. Single means single sampling plan based on CV (proposed by Tong and Chen34). Two stage means two stage sampling plan based on CV (proposed by Yan et al.35). Repetitive means repetitive group sampling plan based on CV (proposed by Yan et al.36).

Figure 2
figure 2

The OC curves for three plans with \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL} = {0}{\text{.05}}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD} = {0}{\text{.07}}\). Note m = 2, m = 3 means the proposed method. Single means single sampling plan based on CV (proposed by Tong and Chen34). Two stage means two stage sampling plan based on CV (proposed by Yan et al.35). Repetitive means repetitive group sampling plan based on CV (proposed by Yan et al.36).

Table 5 The corresponding acceptance probabilities of lot under various quality levels for (CVAQL, CVLTPD) = (0.05, 0.06) with (\(\alpha\),\(\beta\)) = (0.05, 0.1).
Table 6 The corresponding acceptance probabilities of lot under various quality levels for (CVAQL, CVLTPD) = (0.05, 0.06) with (\(\alpha\),\(\beta\)) = (0.1, 0.05).
Table 7 The corresponding acceptance probabilities of lot under various quality levels for (CVAQL, CVLTPD) = (0.05, 0.07) with (\(\alpha\),\(\beta\)) = (0.05, 0.1).
Table 8 The corresponding acceptance probabilities of lot under various quality levels for (CVAQL, CVLTPD) = (0.05, 0.07) with (\(\alpha\),\(\beta\)) = (0.1, 0.05).

In addition, the ASN curves of the proposed resubmitted sampling plan, CV-based single sampling plan34, two stage sampling plan35 and repetitive group sampling plan36 for quality levels (CVAQL, CVLTPD) = (0.05, 0.06), and (0.05,0.07) are plotted in Figs. 3 and 4, respectively. From the appearances of ASN curves, we can observe the following results:

  1. 1.

    The ASN curves have the same trend for all combinations of risks and quality levels.

  2. 2.

    The resubmitted sampling plan would need more sample size as the value of CV becomes larger while the resubmitted sampling just needs less sample size as the value of CV decreases. This phenomenon is reasonable because those lots judged as not acceptable have to be resampled even if the original inspection displayed evidence of poor quality.

  3. 3.

    For lots with good quality levels, the resubmitted sampling plan with m = 3 needs less sample size to reach lot sentencing than that of the resubmitted sampling plan with m = 2. On the other hand, for lots with bad quality levels, the resubmitted sampling plan with m = 2 needs less sample size to reach lot sentencing than that of the resubmitted sampling plan with m = 3.

  4. 4.

    For lots with good quality levels and bad quality levels, two stage and repetitive sampling plans just need less sample size to reach lot sentencing. Instead, when one lot with general quality level (about between CVAQL and CVLTPD), two stage and repetitive sampling plans need a larger sample size to reach lot sentencing.

Figure 3
figure 3

The ASN curves for three plans with \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL} = {0}{\text{.05}}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD} = {0}{\text{.06}}\). Note m = 2, m = 3 means the proposed method. Single means single sampling plan based on CV (proposed by Tong and Chen34). Two stage means two stage sampling plan based on CV (proposed by Yan et al.35). Repetitive means repetitive group sampling plan based on CV (proposed by Yan et al.36).

Figure 4
figure 4

The ASN curves for three plans with \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL} = {0}{\text{.05}}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD} = {0}{\text{.07}}\). Note m = 2, m = 3 means the proposed method. Single means single sampling plan based on CV (proposed by Tong and Chen34). Two stage means two stage sampling plan based on CV (proposed by Yan et al.35). Repetitive means repetitive group sampling plan based on CV (proposed by Yan et al.36).

An application example in industry

To illustrate how the proposed methodology can be applied to the actual situation of lot inspection, one example of a milk bottling plant is presented. In milk bottling plants, there are several sizes of containers for the installation of milk. For the wholesalers who receive the goods shipped from the milk bottling plants, the volume of milk in containers is a critical characteristic. Owing to their long-term purchasing, they may be more concerned with the stability of volume for one batch of milk than the average volume for one batch of milk since the users who drink usually care about the consistency of products. Because of the different sizes of containers, the volumes of milk usually have a standard deviation proportional to the mean. To build the united criteria for various containers, the CV index can be regarded as a suitable tool for the evaluation of stability. More applications of sampling plans can be seen in37,38,39,40,41.

By virtue of the extended partnership between plants and wholesalers, the wholesalers are willing to adopt the resubmitted sampling plan which permits the resampling to be executed for lots non-accepted. Suppose a particular type of container fitting milk is investigated, and the specification limits of the volume are LSL = 290 mL and USL = 310 mL. In the contract approved by the two parties, the quality level of \({{\text{L}}}_{{\text{AQL}}}\) \(CV_{AQL}\) and \({{\text{L}}}_{{\text{LTPD}}}\) \(CV_{LTPD}\) are set to 0.05 and 0.07 with the \(\alpha\) = 0.05 and \(\beta\) = 0.10, and the times of resampling permitted is two (that is, m = 3). By looking up Table 1, we can find the parameters of the resubmitted sampling plan are (n, \(k\)) = (26, 0.0519), which implies that the lot will be accepted if 26 items yield measurements with \(\mathop {CV}\limits^{ \wedge }\) < 0.0519, and the consumer will allow resubmissions twice in the case of non-acceptance on the submitted sample, and will reject the lot if two resubmissions with the same sample size is still not accepted.

Twenty-six observations are randomly taken from the lot as shown in Table 9. We depict the normal probability plot of sample data and use the p-value to test if the sample data obeys a normal distribution through Minitab software, which is shown in Fig. 5. The StDev, N and AD of the upper right side in the Figure represent the standard deviation, number of observations and Anderson–Darling statistic, respectively. From the graph and p-value, we can conclude that the sample data follows the normal distribution. Based on these observations, we can obtain

$$ \overline{X} = {306}{\text{.9677}},\;SA = {17}{\text{.03986}},\;\;{\text{and}}\;\;\mathop {CV}\limits^{ \wedge } = \frac{S}{{\overline{X}}} = \frac{{{17}{\text{.03986}}}}{{{306}{\text{.9677}}}} = {0}{\text{.05551}}. $$
Table 9 The volume of 26 containers fitting milk (original sample data).
Figure 5
figure 5

The normal probability plot for 26 containers fitting milk (original sample data).

Since the value of \(\mathop {CV}\limits^{ \wedge }\) is larger than 0.0519, this lot is not accepted and a new sample of size 26 should be further inspected. The observed measurements of the resubmitted samples are shown in Table 10. Figure 6 depicts the normal probability plot of the new sample data. From the graph and p-value, it is concluded that the new sample data obey the normal distribution. The statistics from the resubmitted sample are

$$ \overline{X} = {305}{\text{.9762}},\;S = {12}{\text{.77983}},\;\;{\text{and}}\;\;\mathop {CV}\limits^{ \wedge } = \frac{S}{{\overline{X}}} = \frac{{{12}{\text{.77983}}}}{{{305}{\text{.9762}}}} = {0}{\text{.041767}}. $$
Table 10 The volume of 26 containers fitting milk (resubmitted sample data).
Figure 6
figure 6

The normal probability plot for 26 containers fitting milk (resubmitted sample data).

Since the value of \(\mathop {CV}\limits^{ \wedge }\) is less than 0.0519, this lot would be accepted.

Conclusions

The CV considers the degree of a standard deviation relative to the mean, which is used as a measure of variability for circumstances when the standard deviation is proportional to the mean or measurements are made in different units. In this paper, a new sampling plan based on the coefficient of variation for the resubmitted lot is developed. For the discriminatory power of lot, the proposed plan and the existing single sampling plan based on a CV are almost the same. However, the proposed plan would need less sample size when the quality of the submitted lot is good in comparison to that of the existing single sampling plan based on a CV. Therefore, the proposed resubmitted sampling plan could be recommended for lots with higher quality levels of CV as well as dealing with the demand for resubmitted lots. It is suggested that further research can be extended for the resubmitted sampling plan with non-normal distribution consideration.