cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New to using JMP? Hit the ground running with the Early User Edition of Discovery Summit. Register now, free of charge.
Register for our Discovery Summit 2024 conference, Oct. 21-24, where you’ll learn, connect, and be inspired.
Choose Language Hide Translation Bar

Cp/Cpk for attributes

How do I calculate Cp/Cpk or Pp/Ppk for attribute data using JMP?

4 REPLIES 4
Byron_JMP
Staff

Re: Cp/Cpk for attributes

So, that's a sticky wicket my JMPy friend. 

You'll need to somehow take pass/fail data and convert it into something continuous, or better yet, get the underlying continuous data for making the pass fail decision.

 

Often we use attribute control charts (U, P, C, P', U') for attribute data to track the proportions of pass/fail over time.

 

The sticky part is that process capability depends on calculating a "sigma" (overall/long-term or within/short-term) and comparing the number of "sigma's" to the distance between the mean and the nearest spec limit.  ... and it kind of assumes things are generally "normal".

 

Attribute data has a binomial distribution, so we can still get control limits for plotting data in an attributes chart, but process capability, no so much.

 

In this example I have boxes of 10 units (n trials=10) and a random assortment of pass/fail for each box

Byron_JMP_0-1724865036735.png

Screenshot 2024-08-28 at 1.11.03 PM.png

JMP Systems Engineer, Health and Life Sciences (Pharma)

Re: Cp/Cpk for attributes

Hello,

Thanks a lot!
can we keep on discussing that, pls?

There is a sample data file called "Braces" (under Samples\Data\Quality Control) and there are data of # defects with varying sample sizes. If we have some spec limit, just for example, say up to 25 defects the unit is "pass", then why can't we simply calculate the capability indices using Process Capability option under Distribution platform, where LSL=target=0 and USL=25...?
and say it's a non-parametric distribution....

am I mixing a lot of stuff here?

Re: Cp/Cpk for attributes

correction - find a proportion (#of defects/unit size) and then spec limits for the proportion

Byron_JMP
Staff

Re: Cp/Cpk for attributes

Restating the question just a little:

 

Since I don't have your data... 

suppose I have a table with 100 rows and this formula in one column:

Abs( Round( Random Normal( 10, 10 ), 1 ) )

This data represents the percent defective things per lot/batch/wafer whatever. And it has an upper specification limit of 25.

My data might look like this.

Byron_JMP_0-1724867743086.png

I could fit an Weibul or Gamma or Exponential distribution to the data.

Then from that fitted distribution I could get a process capability report.

Screenshot 2024-08-28 at 1.59.46 PM.png

 

Its important to note that we aren't looking a capability of an attribute anymore, but a variable, which is percent defects. 

 

It might still be a really good idea to run a P, C, or U chart along with this data.

JMP Systems Engineer, Health and Life Sciences (Pharma)