How Many Parts to Sample for a Complete Set with 95% Confidence?

  • Context: Undergrad 
  • Thread starter Thread starter Bandit127
  • Start date Start date
  • Tags Tags
    Sample size Stuck
Click For Summary
SUMMARY

The discussion centers on determining the number of parts to sample from a bin containing eight distinct parts (numbered 1 to 8) to achieve a 95% confidence level of obtaining at least one of each part. The initial estimate of 40 parts was found insufficient, as samples often missed certain numbers. The probability of obtaining all parts in the first eight samples was calculated as approximately 0.0024. The conversation also touches on the inefficiency of the sampling method and compares the problem to the Coupon Collector's Problem.

PREREQUISITES
  • Understanding of probability theory and sampling methods
  • Familiarity with the Coupon Collector's Problem
  • Basic knowledge of combinatorial mathematics
  • Experience with statistical confidence intervals
NEXT STEPS
  • Research the Coupon Collector's Problem and its applications
  • Learn about statistical sampling techniques and their efficiencies
  • Explore methods for calculating probabilities in combinatorial scenarios
  • Study confidence intervals and their significance in statistical analysis
USEFUL FOR

Statisticians, data analysts, quality control engineers, and anyone involved in sampling processes or probability calculations.

Bandit127
Gold Member
Messages
278
Reaction score
35
I could do with some help here about a problem I had at work today.

I have a process that dumps 8 parts in a bin every cycle. Each part is numbered, 1 to 8. (It is a big bin and it will contain an equal quantity of each number).

I need to measure one part of each number, so I need to grab a sample of parts from the bin.

How many parts do I need to pull out of the bin before I have a 95% chance of getting at least one of each number? (My guess was 40 parts, but in two samples of 40 parts I had two numbers missing from each sample. Loads of 5s but no 1s for example).

So, I worked out that the probability of getting 1 to 8 in the first 8 moulds is 8!/88 or about 0.0024.

But there I got stuck on how that probability changes with the next set of 8 parts I pull from the bin. And so on until I have a ~95% chance of getting them all.
 
Physics news on Phys.org
Bandit127 said:
I could do with some help here about a problem I had at work today.

I have a process that dumps 8 parts in a bin every cycle. Each part is numbered, 1 to 8. (It is a big bin and it will contain an equal quantity of each number).

I need to measure one part of each number, so I need to grab a sample of parts from the bin.

How many parts do I need to pull out of the bin before I have a 95% chance of getting at least one of each number? (My guess was 40 parts, but in two samples of 40 parts I had two numbers missing from each sample. Loads of 5s but no 1s for example).

So, I worked out that the probability of getting 1 to 8 in the first 8 moulds is 8!/88 or about 0.0024.

But there I got stuck on how that probability changes with the next set of 8 parts I pull from the bin. And so on until I have a ~95% chance of getting them all.

So I have to ask -- why can't you look into the bin and select 8 parts that have different numbers? Why do you have to pull a part out of the bin before looking at the number? Seems like a very inefficient way to design a process, IMO.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K