What Is the Correct Probability of Selecting Three Candies of the Same Kind?

  • Context: High School 
  • Thread starter Thread starter tramp
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The probability of selecting three candies of the same kind from a can containing three varieties is calculated differently based on whether the selection is with or without replacement. When drawing with replacement, the probability is established as 1/9. However, when drawing without replacement, the probability changes due to the diminishing number of available candies, leading to a calculation of 3/10 based on combinatorial outcomes. The discussion highlights the importance of clearly defining the selection method to arrive at the correct probability.

PREREQUISITES
  • Understanding of basic probability concepts
  • Knowledge of combinatorial calculations
  • Familiarity with the concept of drawing with and without replacement
  • Ability to interpret probability notation and formulas
NEXT STEPS
  • Study the principles of combinatorial probability
  • Learn about probability distributions in sampling
  • Explore the differences between drawing with and without replacement
  • Investigate real-world applications of probability in decision-making
USEFUL FOR

Students of probability theory, educators teaching statistics, and anyone interested in understanding the nuances of probability calculations in practical scenarios.

tramp
Messages
6
Reaction score
0
I got lost with simple probability question.
There are three varaeties of candies in a can.
Three candies are selected randomly.
What is the probability that all of them are of the same kind?

It seems to be 1\frac{1}{3}\frac{1}{3}=\frac{1}{9}

But at the same time we can calculate it as \frac{C^1_3}{C^3_{3+3-1}}=\frac{3}{10}

What is the right answer here?
 
Physics news on Phys.org
tramp said:
I got lost with simple probability question.
There are three varaeties of candies in a can.
Three candies are selected randomly.
What is the probability that all of them are of the same kind?

It seems to be 1\frac{1}{3}\frac{1}{3}=\frac{1}{9}

But at the same time we can calculate it as \frac{C^1_3}{C^3_{3+3-1}}=\frac{3}{10}

What is the right answer here?

You didn't specify the proportion of the three kinds of candies in the can. You can estimate that by sampling with replacement, but that's a different question. For this question let's say each of the three kinds are equal in number. Let n_i be the number of each kind and the total N=\sum_{i=1}^{i=3}

The first draw determines the target kind and is drawn with probability one. What is the probability of the same kind at the next draw without replacement? If you've drawn the same kind on the second draw, what is the probability of drawing the same kind on the third draw without replacement?

It's clear that if you draw with replacement, the probability is 1/9. so your calculation cannot be correct for drawing without replacement.
 
Thank you for response.
Let say candies are at the same proportion and this is draw with replacement (we return candy to the can after every draw).

The issue is that if I try to calculate number of possible outcomes I get

C_{3+3-1}^3=10

We can enumerate them as

v1 | v2 | v3
0 0 3
0 1 2
0 2 1
0 3 0
1 2 0
2 1 0
3 0 0
2 0 1
1 0 2
1 1 1

Each outcome is equally likely so based on this enumeration probability is \frac{3}{10}

I expect it to be \frac{1}{9}

This is stupid but I do not see where I am wrong here :-(.
 
tramp said:
Thank you for response.
Let say candies are at the same proportion and this is draw with replacement (we return candy to the can after every draw).

The issue is that if I try to calculate number of possible outcomes I get

C_{3+3-1}^3=10

We can enumerate them as

v1 | v2 | v3
0 0 3
0 1 2
0 2 1
0 3 0
1 2 0
2 1 0
3 0 0
2 0 1
1 0 2
1 1 1

Each outcome is equally likely so based on this enumeration probability is \frac{3}{10}

I expect it to be \frac{1}{9}

This is stupid but I do not see where I am wrong here :-(.

Well, first the 'with replacement' problem is not very interesting or practical. Who takes candy from a jar just to put it back? However if you happen to get your favorite flavor with the first draw, it might be interesting know what the probabilities of getting more like that.

You are dealing with only two columns, not three. The first draw simply establishes the "target". The draws are independent, so it's simply 1/3 probability for each of the remaining draws. To get the target flavor twice in a row would simply be the product or 1/9. If you started with a preconceived choice of flavor, then the probability of getting three in a row of that flavor is of course 1/27 with replacement.

However without replacement you need to adjust the denominator for the items removed. If you are only interested in getting three in a row after establishing your target with the first draw, you must calculate the new proportion for the second and third draw given your series is intact.:

P_2 = n_i - 1/N - 1;, P_3 = n_i -2/N - 2 I don't see this as a combinatorial problem. The product of P2 and P3 is your answer since P1=1.

EDIT: You would use a combinatorial approach if you asked about how many ways you can draw n things from N things in a non contingent context If you want to ask that question, you need to re post.
 
Last edited:
tramp said:
Thank you for response.
Let say candies are at the same proportion and this is draw with replacement (we return candy to the can after every draw).

The issue is that if I try to calculate number of possible outcomes I get

C_{3+3-1}^3=10

We can enumerate them as

v1 | v2 | v3
0 0 3
0 1 2
0 2 1
0 3 0
1 2 0
2 1 0
3 0 0
2 0 1
1 0 2
1 1 1

Each outcome is equally likely so based on this enumeration probability is \frac{3}{10}

I expect it to be \frac{1}{9}

This is stupid but I do not see where I am wrong here :-(.
Each outcome is NOT equally likely when listed as above.

P(3,0,0) = (1/3)^3

P(1,1,1) = 6 x (1/3)^3
 
Well, first the with replacement problem is not very interesting or practical. Who takes candy from a jar just to put it back? However if you happen to get your favorite flavor with the first draw, it might be interesting know what the probabilities of getting more like that.

Well, I can re-frase same problem in 100 different ways. Let say we are talking about three guys randomly selecting from three targets to shoot to. Does it make it more interesting? :-). I would say exactly the oposite. Same problem without replacement it totally trivial and not interesting.

You are dealing with only two columns, not three. The first draw simply establishes the "target". The draws are independent, so it's simply 1/3 probability for each of the remaining draws. To get the target flavor twice in a row would simply be the product or 1/9. If you started with a preconceived choice of flavor, then the probability of getting three in a row of that flavor is of course 1/27 with replacement.

I totally agree, that is why in my first post I said that it seems to be 1\frac{1}{3}\frac{1}{3}.
However, in this case we have finite number of equally likely outcomes (unless you can see why they are not equally likely).
As such we can calculate probability as \frac{\text{number of favorable outcomes}}{\text{number of possible outcomes}}

So we should be able to tackle same problem from combinatorial prospective.

The issue is that the answer I am getting using this approach is \frac{3}{10}.

So I am trying to figure out what I am doing wrong.
 
Last edited:
Each outcome is NOT equally likely when listed as above.

P(3,0,0) = (1/3)^3

P(1,1,1) = 6 x (1/3)^3

Thanks awkward.

Finally I got it. I thought I am totally crazy :-).

p(1,1,1) = 1(1-\frac{1}{3})(1-\frac{2}{3}) =\frac{2}{9}
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 7 ·
Replies
7
Views
855
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
10
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K