Prove Confidence interval of Cp in statistical quality control
- User
Prove Confidence interval of Cp in statistical quality control
- Assistant
Prove Confidence interval of Cp in statistical quality control
To derive the confidence interval for the process capability index (C_p) in statistical quality control, we'll begin by understanding the relationship between (C_p) and the process standard deviation (\sigma), and then utilize properties of the chi-squared distribution, since the sample variance follows this distribution when sampling from a normal population. Here's the detailed proof:
Definition of (C_p):
(C_p) is defined as:
[ C_p = \frac{\text{USL} - \text{LSL}}{6\sigma} ]
where:
When the true standard deviation (\sigma) is unknown, it is estimated using the sample standard deviation (s) from a random sample of size (n). The estimated process capability index (\hat{C}_p) is:
[ \hat{C}_p = \frac{\text{USL} - \text{LSL}}{6s} ]
Distribution of Sample Variance:
For a sample from a normally distributed population, the sample variance (s^2) is related to the true variance (\sigma^2) via the chi-squared distribution:
[ \frac{(n - 1)s^2}{\sigma^2} \sim \chi^2_{n - 1} ]
This means that:
[ \frac{s^2}{\sigma^2} \sim \frac{\chi^2_{n - 1}}{n - 1} ]
Relationship Between (\hat{C}_p) and (C_p):
We can express (\hat{C}_p) in terms of (C_p) and (s):
[ \hat{C}_p = \frac{\text{USL} - \text{LSL}}{6s} = \frac{\text{USL} - \text{LSL}}{6\sigma} \times \frac{\sigma}{s} = C_p \times \frac{\sigma}{s} ]
Rewriting this relationship:
[ \frac{\hat{C}_p}{C_p} = \frac{\sigma}{s} ]
But since (\frac{s^2}{\sigma^2} \sim \frac{\chi^2_{n - 1}}{n - 1}), taking reciprocals and square roots:
[ \left( \frac{\sigma}{s} \right)^2 = \frac{\sigma^2}{s^2} = \frac{(n - 1)}{\chi^2_{n - 1}} ]
Therefore:
[ \left( \frac{\hat{C}p}{C_p} \right)^2 = \frac{(n - 1)}{\chi^2{n - 1}} ]
Deriving the Confidence Interval:
We aim to find constants (L) and (U) such that:
[ P(L < C_p < U) = 1 - \alpha ]
Using the chi-squared distribution quantiles, we have:
[ P\left( \chi^2_{(n - 1); \alpha/2} \leq \chi^2_{n - 1} \leq \chi^2_{(n - 1); 1 - \alpha/2} \right) = 1 - \alpha ]
Plugging in the relationship between (\chi^2_{n - 1}) and (\hat{C}_p) and (C_p):
[ P\left( \chi^2_{(n - 1); \alpha/2} \leq \frac{(n - 1)C_p^2}{\hat{C}p^2} \leq \chi^2{(n - 1); 1 - \alpha/2} \right) = 1 - \alpha ]
Dividing both sides by ((n - 1)) and multiplying through by (\hat{C}_p^2):
[ P\left( \frac{\hat{C}p^2}{\chi^2{(n - 1); 1 - \alpha/2}} \leq C_p^2 \leq \frac{\hat{C}p^2}{\chi^2{(n - 1); \alpha/2}} \right) = 1 - \alpha ]
Taking square roots (since (C_p) is positive):
[ P\left( \frac{\hat{C}p}{\sqrt{\chi^2{(n - 1); 1 - \alpha/2}}} \leq C_p \leq \frac{\hat{C}p}{\sqrt{\chi^2{(n - 1); \alpha/2}}} \right) = 1 - \alpha ]
Multiplying numerator and denominator inside the radicals by (\sqrt{n - 1}):
[ P\left( \hat{C}p \times \sqrt{\frac{(n - 1)}{\chi^2{(n - 1); 1 - \alpha/2}}} \leq C_p \leq \hat{C}p \times \sqrt{\frac{(n - 1)}{\chi^2{(n - 1); \alpha/2}}} \right) = 1 - \alpha ]
Final Confidence Interval for (C_p):
Thus, the (100(1 - \alpha)%) confidence interval for (C_p) is:
[ \left[ \hat{C}p \times \sqrt{\frac{(n - 1)}{\chi^2{(n - 1); 1 - \alpha/2}}},\ \hat{C}p \times \sqrt{\frac{(n - 1)}{\chi^2{(n - 1); \alpha/2}}} \right] ]
Conclusion:
We have proven that the confidence interval for the process capability index (C_p) is derived using the chi-squared distribution of the sample variance and is given by the formula above. This interval provides a statistical range in which the true (C_p) lies with a specified level of confidence.
Proven Confidence Interval for (C_p):
The (100(1 - \alpha)%) confidence interval for (C_p) is:
[ \left[ \hat{C}p \times \sqrt{\dfrac{n - 1}{\chi^2{n - 1; 1 - \alpha/2}}},,\ \hat{C}p \times \sqrt{\dfrac{n - 1}{\chi^2{n - 1; \alpha/2}}} \right] ]
where (\hat{C}p) is the estimated process capability index, (n) is the sample size, and (\chi^2{n - 1; p}) is the (p)-th percentile of the chi-squared distribution with (n - 1) degrees of freedom.