Prove Confidence interval of CPk in statistical quality control
- User
Prove Confidence interval of CPk in statistical quality control
- Assistant
Prove Confidence interval of CPk in statistical quality control
To derive and prove the confidence interval for the process capability index ( C_{pk} ) in statistical quality control, we'll start by understanding the definitions and statistical properties of the estimators involved. The process capability index ( C_{pk} ) measures how well a process can produce output within specified limits relative to the natural variability of the process.
Definitions:
Process Capability Index (( C_{pk} )):
[ C_{pk} = \min \left( C_{pu}, C_{pl} \right) ]
Where:
Estimators from Sample Data:
The sample mean ( \bar{X} ) estimates ( \mu ).
The sample standard deviation ( s ) estimates ( \sigma ).
The estimated capability index ( \hat{C}_{pk} ) is:
[ \hat{C}{pk} = \min \left( \hat{C}{pu}, \hat{C}_{pl} \right) ]
Where:
Objective:
Our goal is to derive a confidence interval for ( C_{pk} ), that is, to find values ( LCL ) (lower confidence limit) and ( UCL ) (upper confidence limit) such that:
[ P(LCL \leq C_{pk} \leq UCL) = 1 - \alpha ]
Assumptions:
Derivation:
Sampling Distributions:
Under normality and i.i.d. assumptions:
The sample mean ( \bar{X} ) is normally distributed:
[ \bar{X} \sim N\left( \mu, \frac{\sigma^2}{n} \right) ]
The sample variance ( s^2 ) is related to a chi-squared distribution:
[ \frac{(n - 1)s^2}{\sigma^2} \sim \chi^2_{n - 1} ]
The sample mean ( \bar{X} ) and sample standard deviation ( s ) are statistically independent because the normal distribution is a "location-scale" family distribution.
Estimating ( C_{pu} ) (the procedure is analogous for ( C_{pl} ))
The estimated ( C_{pu} ) is a function of ( \bar{X} ) and ( s ):
[ \hat{C}_{pu} = \frac{USL - \bar{X}}{3s} ]
We aim to find the distribution of ( \hat{C}_{pu} ).
Transforming Variables:
Define standardized variables:
Standardize ( \bar{X} ):
[ Z = \frac{\bar{X} - \mu}{\sigma / \sqrt{n}} \sim N(0,1) ]
Relate ( USL - \bar{X} ) to ( \bar{X} - \mu ):
[ USL - \bar{X} = (USL - \mu) - (\bar{X} - \mu) = D - (\bar{X} - \mu) ]
Where ( D = USL - \mu ).
Therefore, we can express ( \hat{C}_{pu} ) in terms of ( Z ):
[ \hat{C}_{pu} = \frac{D - (\bar{X} - \mu)}{3s} = \frac{D}{3s} - \frac{Z \sigma / \sqrt{n}}{3s} ]
Expressing ( s ) in Terms of Chi-Squared Distribution:
Since ( s ) is related to the chi-squared distribution:
[ s = \sigma \sqrt{\frac{\chi^2_{n - 1}}{n - 1}} ]
Therefore, we can write:
[ \hat{C}{pu} = \frac{D}{3\sigma} \sqrt{\frac{n - 1}{\chi^2{n - 1}}} - \frac{Z}{3} \sqrt{\frac{1}{\chi^2_{n - 1}/(n - 1)}} ]
Simplify:
[ \hat{C}{pu} = C{pu} \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} - \frac{Z}{3} \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} ]
Since ( C_{pu} = \frac{D}{3\sigma} ).
Notice that both terms share the common factor ( \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} ).
Distribution of ( \hat{C}_{pu} ):
Given the independence of ( Z ) and ( \chi^2_{n - 1} ) (since ( \bar{X} ) and ( s ) are independent), we can consider ( \hat{C}_{pu} ) as a linear combination of two independent random variables.
However, the distribution of ( \hat{C}_{pu} ) is complicated because it involves both the normal and chi-squared distributions.
Approximating the Distribution:
For sufficiently large ( n ), the chi-squared distribution can be approximated by a normal distribution. Similarly, the ( t )-distribution approaches the normal distribution.
We can use a first-order Taylor series expansion to approximate the variance of ( \hat{C}_{pu} ).
Calculating the Variance of ( \hat{C}_{pu} ):
Approximate ( \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} ) using the fact that:
[ E\left( \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} \right) \approx 1 - \frac{1}{2(n - 1)} ]
[ Var\left( \sqrt{\frac{n - 1}{\chi^2_{n - 1}}} \right) \approx \frac{1}{2(n - 1)} ]
The variance of ( \hat{C}_{pu} ) is then:
[ Var(\hat{C}{pu}) \approx C{pu}^2 \left( \frac{1}{2(n - 1)} \right) + \left( \frac{1}{9n} \right) ]
This result comes from combining the variances of the independent random variables in the expression for ( \hat{C}_{pu} ).
Standard Error of ( \hat{C}_{pu} ):
The standard error (SE) is the square root of the variance:
[ SE(\hat{C}{pu}) \approx \sqrt{ C{pu}^2 \left( \frac{1}{2(n - 1)} \right) + \left( \frac{1}{9n} \right) } ]
Constructing the Confidence Interval:
Assuming that ( \hat{C}_{pu} ) is approximately normally distributed (reasonable for large ( n )), the ( 100(1 - \alpha)% ) confidence interval is:
[ \hat{C}{pu} \pm Z{1 - \alpha/2} \times SE(\hat{C}_{pu}) ]
Where ( Z_{1 - \alpha/2} ) is the critical value from the standard normal distribution corresponding to the desired confidence level.
Final Result:
The approximate confidence interval for ( C_{pu} ) is:
[ \left[ \hat{C}{pu} - Z{1 - \alpha/2} \times SE(\hat{C}{pu}), \quad \hat{C}{pu} + Z_{1 - \alpha/2} \times SE(\hat{C}_{pu}) \right] ]
Since ( C_{pk} = \min( C_{pu}, C_{pl} ) ), the confidence interval for ( C_{pk} ) is determined by taking the more critical (smaller) interval between the two sides.
Conclusion:
By utilizing the statistical properties of the sample mean and sample standard deviation, and under the assumption of normality, we derived an approximate confidence interval for ( C_{pk} ) in statistical quality control. The derivation showed that:
This derivation provides a method to estimate the confidence interval for ( C_{pk} ) and assess the precision of the process capability estimate based on sample data.
Note: The approximation improves with larger sample sizes. For smaller samples or when higher accuracy is required, more exact methods or simulation techniques (e.g., bootstrapping) may be necessary.
References:
Answer:
To prove the confidence interval for Cpk in statistical quality control, we start by recognizing that Cpk is estimated from sample data using the sample mean and standard deviation. Assuming the process data are normally distributed and independent, the sample mean and standard deviation have known distributions. By leveraging these distributions and their properties, we derive the standard error of the estimated Cpk. Using this standard error, we construct an approximate confidence interval for Cpk:
Confidence Interval for Cpk:
LCL = estimated Cpk – Z₁₋α⁄₂ × (SE of estimated Cpk)
UCL = estimated Cpk + Z₁₋α⁄₂ × (SE of estimated Cpk)
This approach provides an approximate confidence interval for Cpk, allowing us to assess the statistical precision of the process capability estimate based on the sample data.
In summary, by deriving the standard error of the estimated Cpk using the known distributions of the sample mean and standard deviation, we can construct an approximate confidence interval for Cpk in statistical quality control.
Not yet included in a published release.