Probability of taking 4 defective capsules

  • Context: Undergrad 
  • Thread starter Thread starter jzee08
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around calculating the probability of obtaining 4 defective (overweight) capsules on the last day of a 7-day regimen, given a sample of capsules from a larger batch. Participants explore the implications of the sampling method and the independence of events in probability calculations.

Discussion Character

  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant calculates the probability of finding 1 overweight capsule in a box and proposes a method to find the probability of having 4 overweight capsules on day 7, suggesting a final probability of 0.0078 multiplied by another factor.
  • Another participant questions the reliability of the overweight rate estimate based on the limited sample size and suggests that the drawing of pills should be treated as independent events, focusing on the probability of drawing 4 overweight pills on day 7 as p^4.
  • A participant acknowledges the complexity of the problem and expresses gratitude for the clarification, indicating that the scenario is based on a real-life question from a pharmaceutical company.
  • Some participants highlight the inadequacy of the sampling method used to determine the fault rate, suggesting that more samples are needed to improve the estimate of the probability of finding defective pills.
  • One participant provides a statistical perspective, mentioning a confidence interval that indicates a wide range of possible probabilities for finding a defective pill, emphasizing the need for larger sample sizes to obtain a more accurate estimate.

Areas of Agreement / Disagreement

Participants express differing views on the interpretation of the sampling results and the calculation of probabilities. There is no consensus on the best approach to determine the probability of obtaining 4 defective capsules, and the discussion remains unresolved regarding the implications of the sampling method.

Contextual Notes

Limitations include the small sample size used to estimate the overweight rate, which raises questions about the reliability of the calculated probabilities. The independence of events in the context of drawing capsules is also debated.

jzee08
Messages
2
Reaction score
0
The product is a box containing 16 cold capsules. Some of the
manufactured capsules are defective (over weight, OW). A random 32
box (512 capsule) sample of the entire 1,200 boxes of capsules were
weighed. The results showed that only 1 out of every 512 capsules weigh
too much.

The instructions on the box are to take 1 capsule on day 1, 1
capsule on day 2, 2 capsules on day 3, 2 capsules on day 4, 3
capsules on day 5, 3 capsules on day 6 and the remaining 4 capsules
on day 7. What is the probability of getting 4 OW capsules on day 7?

What I have so far;
To calculate the probability of 1 OW capsule in the boxes sampled,
1/512 = 0.0019. To calculate the probability of 1 OW capsule
in one box = 1/512*16 = 0.03125. The probability of getting 4 OW
capsules in a bos would be 0.03125 * 4/16 = 0.0078 How do you look
at the use of the capsules over the 7 days?

[Thoughts]
I think the probability of getting 4 OW capsules in one box is
0.03125 * 4/16 = 0.0078. The most difficult part is how to look at
the use of the capsules over the 7 days. To find the probability of
being left with 4 OW capsules on day 7 this would be 1 of the possible outcomes from all total outcomes, on days 1, 2, 3, 4, 5, 6 and 7ie. 1/((2^1)+(2^1)+(2^2)+(2^2)+(2^3)+(2^3)+(2^4)), which is 1/44. Would the overall probability be 0.0078 * 1/44? It seems the actual probability should be much less than this. Please help
 
Physics news on Phys.org
First off - if 512 capsules were tested and only one was found OW that does not give a lot of confidence in the estimate of the OW rate... but that is not your problem I suspect.

It seems the problem formulation is a little bit deceptive. The most reasonable way to view the "drawing of the pills" is to say that each is an independent event with the probability p=1/512 to succeed (draw an OW pill).

Day seven is independent of the previous days since we don't know if OW pills are drawn or not during day 1-6. All that matters is the risk of drawing 4 out of 4 OW pills on day 7. That probability is simply p^4 - a pretty slim chance...

Your reasoning for 4 pills in a box is not right - if one OW pill is a rare event, then two will be even more unlikely and so on. Makes sense?
 
SEngstrom

That makes sense. I seem to have been overcomplicating the problem. Thank you for your help! BTW, this is a real life question from a pharmaceutical company.
 
If it is a real-life example it may be worth bringing up the inadequate sampling employed to determine the fault rate for those pills...
 
SEngstrom said:
If it is a real-life example it may be worth bringing up the inadequate sampling employed to determine the fault rate for those pills...

Right. A 95% confidence Agresti-Coull interval says that the probability could be anywhere from 0% to 1.49% of finding a bad pill. You need more samples! If you had 10 out of 5120 then it would say 0.089% to 0.399%.

Of course even with only 512 pills sampled, that still gives an upper bound of 0.00000492% chance of getting four overweight pills on the last day.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
1K
Replies
2
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K