It’s World Statistics Day! To honor the theme of the day, the JMP User Community is having conversations about the importance of trust in statistics and data. And we want to hear from you! Tell us the steps you take to ensure that your data is trustworthy.
Choose Language Hide Translation Bar
Highlighted
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
Highlighted
Super User

## 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.

5 REPLIES 5
Highlighted
Super User

## 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.

Highlighted
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.

Super User

## 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

Highlighted
Level I

## Re: Minimum sample size question

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

Thanks.

Highlighted
Super User

## 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

Article Labels

There are no labels assigned to this post.