cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How do I make a histogram of a percentage of failing value Y as a function of value X

Hi,

I have a set of continuous values Y for which I have a upper limit. I am interested in the percentage of failing values as a function of a second continuous value X. I was thinking of plotting this as a histogram, but I didn't find how to get JMP to create small intervals of my value X for the analysis.

Do someone have a solution for this kind of problem please?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How do I make a histogram of a percentage of failing value Y as a function of value X

There might be a few ways to do it, but I would use a Capability Analysis (to define which points are above or below the upper limit), combined with a Logistic Fit (used to relate a Pass/Fail result to a continuous, numerical X variable). For example: 

 

  1. Analyze -> Distribution, to create a histogram of "Y". 
  2. Red Triangle -> Process Capability see what proportion of "Y" falls outside specification (above the upper limit) 
  3. Red Triangle -> Save In Spec Indicator Formula to create a new column which equals 1 if "Y" is in spec, 0 if "Y" is out of spec. 
  4. Analyze -> Fit Y by X using the newly created "Y in Spec" column as the Response, and "X" as the Factor. 

 

Here's how it looks when I follow the steps above, using the "Tablet Production.jmp" sample dataset: 

christianz_0-1783589952666.png

Edit: I realize I didn't address whether you can make a set of histograms. You can do this in graph builder using your "Y" variable in the Y-Axis Role, "X" in the Group X role, and the Histogram graph type. For example: 

christianz_0-1783590756453.png

 

View solution in original post

2 REPLIES 2

Re: How do I make a histogram of a percentage of failing value Y as a function of value X

There might be a few ways to do it, but I would use a Capability Analysis (to define which points are above or below the upper limit), combined with a Logistic Fit (used to relate a Pass/Fail result to a continuous, numerical X variable). For example: 

 

  1. Analyze -> Distribution, to create a histogram of "Y". 
  2. Red Triangle -> Process Capability see what proportion of "Y" falls outside specification (above the upper limit) 
  3. Red Triangle -> Save In Spec Indicator Formula to create a new column which equals 1 if "Y" is in spec, 0 if "Y" is out of spec. 
  4. Analyze -> Fit Y by X using the newly created "Y in Spec" column as the Response, and "X" as the Factor. 

 

Here's how it looks when I follow the steps above, using the "Tablet Production.jmp" sample dataset: 

christianz_0-1783589952666.png

Edit: I realize I didn't address whether you can make a set of histograms. You can do this in graph builder using your "Y" variable in the Y-Axis Role, "X" in the Group X role, and the Histogram graph type. For example: 

christianz_0-1783590756453.png

 

Re: How do I make a histogram of a percentage of failing value Y as a function of value X

Thank you very much! The second solution is what I had in mind, but the first one gives a result with strong visual impact!

Recommended Articles