cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
PValueEnemy
Level II

How to estimate the ideal sample size to validate failure rate in a process?

Hello!

I have a factory process with a hypothesized failure rate of p=0.02, based on previous trials.

I would like to get the ideal sample size to validate if my process has a failure rate no larger than 0.02. How would you approach this?

 

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Victor_G
Super User

Re: How to estimate the ideal sample size to validate failure rate in a process?

Hello @PValueEnemy,

 

For this specific question, I would use one of the Calculators available in "Help", "Sample Index".
If you go into Teaching ressources, there is a panel for Calculators, and there is one calculator named "Sample Size for Confidence Interval".

 

When you open it, you specify that you are interested in "Proportion" :

Victor_G_0-1700060454461.png

And then you'll have to fill some informations so that the calculation can be done. For your specific problem, you need to specify the confidence level required, the planned value, and the desired margin of error. Here as an example, as soon as all windows have been filled, I obtain the calculated sample size needed :

Victor_G_1-1700060618246.png

More infos here : JMP Student Subscription

 

I hope this will help you,

 

 

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

View solution in original post

2 REPLIES 2
Victor_G
Super User

Re: How to estimate the ideal sample size to validate failure rate in a process?

Hello @PValueEnemy,

 

For this specific question, I would use one of the Calculators available in "Help", "Sample Index".
If you go into Teaching ressources, there is a panel for Calculators, and there is one calculator named "Sample Size for Confidence Interval".

 

When you open it, you specify that you are interested in "Proportion" :

Victor_G_0-1700060454461.png

And then you'll have to fill some informations so that the calculation can be done. For your specific problem, you need to specify the confidence level required, the planned value, and the desired margin of error. Here as an example, as soon as all windows have been filled, I obtain the calculated sample size needed :

Victor_G_1-1700060618246.png

More infos here : JMP Student Subscription

 

I hope this will help you,

 

 

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)
MRB3855
Super User

Re: How to estimate the ideal sample size to validate failure rate in a process?

Hi @PValueEnemy : In addition to the option provided by @Victor_G , you can try the following under DOE/Sample Size Explorers:

MRB3855_0-1700061131226.png

Then you'll see this.

MRB3855_1-1700061212319.png

You'll notice the required sample size depends on the number of failures in the sample.  These two methods are equivalent (though the input/output looks different); except for the fact that the calculator @Victor_G  suggested is based on the normal approximation, whereas this one is based on the exact (based directly on the binomial distribution rather than any approximation to the binomial distribution.) Clopper-Pearson interval.