Conditional Probability on type of coin

Click For Summary

Homework Help Overview

The problem involves determining the conditional probability of selecting a specific coin from a set of 10 coins, each with a different probability of landing heads when flipped. The probabilities are defined as i/10 for the ith coin, where i ranges from 1 to 10. The question arises after one of the coins is flipped and shows heads.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the application of Bayes' theorem to find the conditional probability of selecting the 5th coin given that heads was observed. There is confusion regarding how different coins affect the probability of heads, and some participants question the clarity of the problem statement.

Discussion Status

Participants are actively engaging with the problem, attempting to clarify the conditions and applying Bayes' theorem. Some have made progress in their calculations, while others are still exploring the implications of the problem setup and the necessary adjustments to their reasoning.

Contextual Notes

There are indications of missing information in the problem statement, particularly regarding the interpretation of the conditional probability question. Participants are also reminded that all coins are equally likely to be selected, which influences their calculations.

CAF123
Gold Member
Messages
2,918
Reaction score
87

Homework Statement


Suppose we have 10 coins such that if the ith coin is flipped, heads will appear with probability i/10, i = 1,2...10. When one of the coins is randomly selected and flipped, what is the conditional probability that it was the coin?


Homework Equations


Bayes's Formula


The Attempt at a Solution


First of all, I can't make any sense out of how choosing a different coin will give a different probability of showing a head?
In solving the problem, I used Bayes's relation; P(\text{5th coin} | \text{heads}) = \frac{P(\text{heads | 5th coin})P(\text{5th coin})}{P(\text{heads| 5th coin})P(\text{5th coin}) + P(\text{heads | not 5th coin})P(\text{not 5th coin})}

where P(\text{heads |5th coin}) = \frac{5}{10}, P(\text{5th coin}) = \frac{1}{10}, P(\text{heads | not 5th coin}) = \frac{P(\text{heads and not 5th coin})}{P(\text{not 5th coin})} = \frac{\frac{9}{10}\frac{1}{2}}{\frac{9}{10}} = \frac{1}{2}, P(\text{not 5th coin}) = 1-\frac{1}{10}. Putting this together gives the wrong answer. Any ideas?
 
Physics news on Phys.org
CAF123 said:

Homework Statement


Suppose we have 10 coins such that if the ith coin is flipped, heads will appear with probability i/10, i = 1,2...10. When one of the coins is randomly selected and flipped, what is the conditional probability that it was the coin?


Homework Equations


Bayes's Formula


The Attempt at a Solution


First of all, I can't make any sense out of how choosing a different coin will give a different probability of showing a head?
In solving the problem, I used Bayes's relation; P(\text{5th coin} | \text{heads}) = \frac{P(\text{heads | 5th coin})P(\text{5th coin})}{P(\text{heads| 5th coin})P(\text{5th coin}) + P(\text{heads | not 5th coin})P(\text{not 5th coin})}

where P(\text{heads |5th coin}) = \frac{5}{10}, P(\text{5th coin}) = \frac{1}{10}, P(\text{heads | not 5th coin}) = \frac{P(\text{heads and not 5th coin})}{P(\text{not 5th coin})} = \frac{\frac{9}{10}\frac{1}{2}}{\frac{9}{10}} = \frac{1}{2}, P(\text{not 5th coin}) = 1-\frac{1}{10}. Putting this together gives the wrong answer. Any ideas?

There is something missing from your problem statement: you say "When one of the coins is randomly selected and flipped, what is the conditional probability that it was the coin?" Did you mean that one of the coins was flipped and came up heads? Did you mean 'what is the conditional probability it was coin i?" I will assume the answer is YES to both of these questions.

P{coin i|H} = P{coin i & H}/P{H}. What is the numerator equal to? How do you find the denominator?

RGV
 
Oh sorry, how careless of me. It should read 'When one of the coins is randomly selected and flipped, it shows heads. What is the conditional probability that it was the 5th coin'
 
CAF123 said:
Oh sorry, how careless of me. It should read 'When one of the coins is randomly selected and flipped, it shows heads. What is the conditional probability that it was the 5th coin'

OK, so my previous post is correct if we put i = 5. Now can you answer the questions I asked there? Take it one step at a time. Apply Bayes' rules, etc.

RGV
 
Ray Vickson said:
OK, so my previous post is correct if we put i = 5. Now can you answer the questions I asked there? Take it one step at a time. Apply Bayes' rules, etc.

RGV

I got that P(coin 5|head) = P(head|coin5)P(coin5)/ƩP(head|coin i)P(coin i). (Where the sum is from i=1 to i=5). Is this correct so far?
 
CAF123 said:
I got that P(coin 5|head) = P(head|coin5)P(coin5)/ƩP(head|coin i)P(coin i). (Where the sum is from i=1 to i=5). Is this correct so far?

We have 10 coins, not 5.

RGV
 
I think P(head/coin 5) = 5/10 and P(coin i ) = 1/10 since all equally likely to be picked. I then said \sum_{i=1}^{5} P(head|coin\, i)P(coin\, i) = (1/10)(1/10) + (2/10)(1/10) + (3/10)(1/10) + (4/10)(1/10) + (5/10)(1/10) + (6/10)(1/10) + (7/10)(1/10) + (8/10)(1/10) + (9/10)(1/10) + (1/10) I now get the right result - thanks for your help!

EDIT : let i go form 1 to 10.
 
Last edited:
CAF123 said:
I think P(head/coin 5) = 5/10 and P(coin i ) = 1/10 since all equally likely to be picked. I then said \sum_{i=1}^{5} P(head|coin\, i)P(coin\, i) = (1/10)(1/10) + (2/10)(1/10) + (3/10)(1/10) + (4/10)(1/10) + (5/10)(1/10) This is still incorrect.

What's so special about the number '5'? Suppose, instead, I asked you for the conditional probability of coin 2, or coin 7 or coin 10. How would you express the conditional probabilities in those cases? Remember, I first asked you about the conditional probability of coin i, where I did not specify i.

RGV
 
CAF123 said:
I think P(head/coin 5) = 5/10 and P(coin i ) = 1/10 since all equally likely to be picked. I then said \sum_{i=1}^{5} P(head|coin\, i)P(coin\, i) = (1/10)(1/10) + (2/10)(1/10) + (3/10)(1/10) + (4/10)(1/10) + (5/10)(1/10) + (6/10)(1/10) + (7/10)(1/10) + (8/10)(1/10) + (9/10)(1/10) + (1/10) I now get the right result - thanks for your help!

EDIT : let i go form 1 to 10.

OK now, but of course you need to say ##\sum_{i=1}^{10},## which is actually what you calculated.

RGV
 

Similar threads

Replies
4
Views
5K
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
12
Views
4K