cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
cal_lim
Level I

Minimum sample size question

I’m using JMP Pro 12.1 and have questions that I hope you could help on using JMP to answer them.
Product runs are generating defects.
Mean defect rate = 0.002 (average 1 defect every 500pcs)
Std Dev = 0.01
1. What is the probability of finding at least 1 defect when I random sample 500pcs?
2. What is the minimum sample size I need to sample in order to get at least 1 defect at Alpha = 0.05
3. Is Alpha = 0.05 equivalent to 95% Confidence Interval?
1 ACCEPTED SOLUTION

Accepted Solutions
ron_horne
Super User (Alumni)

Re: Minimum sample size question

try this:

Counts per Unit

to get to the platform from the main menu: DOE >> Sample size and power >> Counts per unit.

View solution in original post

5 REPLIES 5
ron_horne
Super User (Alumni)

Re: Minimum sample size question

try this:

Counts per Unit

to get to the platform from the main menu: DOE >> Sample size and power >> Counts per unit.

cal_lim
Level I

Re: Minimum sample size question

Thanks Ron!

From the calculations, I would need 7885 samples to get at least 1 defects at a 95% C.I.

11788_Screen Shot 2016-06-09 at 15.29.28.png

ron_horne
Super User (Alumni)

Re: Minimum sample size question

you are welcome @cal_Iim

if this an academic exercise than alpha of 0.05 and power of 0.95 are in place. if on the other hand you need to actually do this to save money in a production scenario i would choose these values based on cost/ benefit. for that you need to know how much does each fault cost to the firm.

in most production cases i came across, 0.05 was  very far from optimal (too high or too low).

best,

ron

cal_lim
Level I

Re: Minimum sample size question

Cool! Can you give scenarios whereby the alpha of 0.05 was too high or low?

Thanks.

ron_horne
Super User (Alumni)

Re: Minimum sample size question

just think of the following.

if you are producing airbags for cars your company will go bankrupt quite quick if 5 out of 100 do not open when needed. you would need a much smaller rate of faults (or find a source of money to pay the compensation). on the other hand, if you produce something cheap and will not need to compensate unsatisfied customers and it is cheaper to produce more faults than why not?

same as with the power. you need to multiply the cost of each fault in $$$ by the probabilities and ask the economist in the team what can the company tolerate. just be careful he doesn't multiply everything by his personal bonus instead of company profit to determine policy. that was and perhaps is the common practice in mortgage banking. hahahah

hope i was clear.

ron