M
mattiase
Hi,
I'm developing an automatic tool where we calculate the Cp, Cpk etc. for our production data. I would like also to present the confidence level for the Cp and Cpk calculations. I am using these formulas below from Minitab Technical Support Document: Confidence Intervals Cp Cpk (Minitab Knowledge Base ID 853: Technical Support Document Confidence Intervals Cp Cpk). It is always nice to compare with Minitab to see that everything is correct.
However, in these formulas the degrees of freedom(v) is stated as:
v=k-Rspan+1
example for a 100 samples, with 2 sample moving range this will be:
v=100-2+1 = 99 dof
actually exact same degrees of freedom as pk and ppk would use.
But, I've just studied the excellent book: "Advanced Topics in Statistical Process Control, 2nd Edition" by Donald J Wheeler, and in this book he clearly states that for the average moving range the degrees of freedom is approx (page 62 and Table 23):
v= 0.62*(k-1)
for the same example as above, this would result in:
v=0.62*99 = 61 dof, which is signicant lower than the formula Minitab uses and would affect confidence interval calculations a lot, actually make it wider.
The degrees of freedom is also discussed by Wheeler in the Quality Digest article in the June 97 issue by Donald J Wheeler: "How Much Data Do I Need?"
I am a bit confused here. Which is actually correct definition for degrees of freedom using average moving range?
Thanks,
Mattias
PS! This is my first post ever, so I wasn't able to insert links, but just google for my sources if you would like to study them. Use: "degrees of freedom moving range" and "Minitab 853". Please be kind...
I'm developing an automatic tool where we calculate the Cp, Cpk etc. for our production data. I would like also to present the confidence level for the Cp and Cpk calculations. I am using these formulas below from Minitab Technical Support Document: Confidence Intervals Cp Cpk (Minitab Knowledge Base ID 853: Technical Support Document Confidence Intervals Cp Cpk). It is always nice to compare with Minitab to see that everything is correct.
However, in these formulas the degrees of freedom(v) is stated as:
v=k-Rspan+1
example for a 100 samples, with 2 sample moving range this will be:
v=100-2+1 = 99 dof
actually exact same degrees of freedom as pk and ppk would use.
But, I've just studied the excellent book: "Advanced Topics in Statistical Process Control, 2nd Edition" by Donald J Wheeler, and in this book he clearly states that for the average moving range the degrees of freedom is approx (page 62 and Table 23):
v= 0.62*(k-1)
for the same example as above, this would result in:
v=0.62*99 = 61 dof, which is signicant lower than the formula Minitab uses and would affect confidence interval calculations a lot, actually make it wider.
The degrees of freedom is also discussed by Wheeler in the Quality Digest article in the June 97 issue by Donald J Wheeler: "How Much Data Do I Need?"
I am a bit confused here. Which is actually correct definition for degrees of freedom using average moving range?
Thanks,
Mattias
PS! This is my first post ever, so I wasn't able to insert links, but just google for my sources if you would like to study them. Use: "degrees of freedom moving range" and "Minitab 853". Please be kind...
Last edited by a moderator: