Question

In: Statistics and Probability

5 coins are put in a bag. 2 of the coins are weighted with the probability...

5 coins are put in a bag. 2 of the coins are weighted with the probability of flipping heads being three times as great than the probability of flipping tails; the remaining coins are fair. One of these coins is selected at random and then flipped once. What is the probability that a weighted coin was selected given that heads was flipped?

Solutions

Expert Solution

total number of coins , n = 5

unfair coins = 2

fair coins = 3

P[ Heads | unfair coin ] = 3*P[ Tails | unfair coin ]

Also, P[ Heads | unfair coin ] + P[ Tails | unfair coin ] = 1

3*P[ Tails | unfair ] + P[ Tails | unfair ] = 1

4*P[ Tails | unfair ] = 1

P[ Tails | unfair ] = 1/4

P[ Heads | unfair coin ] = 3*(1/4)

P[ Heads | unfair coin ] = 3/4

P[ Heads | fair coin ] = 1/2


P[ unfair coin ] = 2/5

P[ fair coin ] = 3/5

P[ Heads ] = P[ Heads | unfair coin ]*P[ unfair coin ] + P[ Heads | fair coin ]*P[ fair coin ]

P[ Heads ] = (3/4)*(2/5) + (1/2)*(3/5)

P[ Heads ] = 3/10 + 3/10

P[ Heads ] = 3/5

What is the probability that a weighted coin was selected given that heads was flipped?

P[ unfair coin | Heads ] = P[ Heads | unfair coin ]*P[ unfair coin ]/ P[ Heads ]

P[ unfair coin | Heads ] = (3/4)*(2/5) / (3/5)

P[ unfair coin | Heads ] = (3/10) / (3/5)

P[ unfair coin | Heads ] = 1/2

P[ unfair coin | Heads ] = 0.5


Related Solutions

Suppose that your enemy has a set of 20 weighted coins that each has a probability...
Suppose that your enemy has a set of 20 weighted coins that each has a probability of 0.6 of landing heads when flipped. Estimate the mean number of heads if the set was flipped over and over by simulating 250,000 flips of the set and computing the average. (In python)
There are two bags of coins. In the first bag there are 3 gold, 2 silver...
There are two bags of coins. In the first bag there are 3 gold, 2 silver coins. In the second bag there are 1 gold, 4 silver coins. 2 coins are randomly picked from the first bag, and then dropped into the second bag. Then a coin is randomly selected from the second bag. If this coin is a gold coin, what is the probability that both coins picked from the first bag were gold?
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and...
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and 1 coin that lands heads with probability 1/4 . A coin is taken from the box at random and flipped repeatedly until it has landed heads three times. Let X be the number of times that the coin is flipped and Y be the probability that the coin lands heads. (a) Find the random variables E(X|Y ) and var(X|Y ) in terms of Y...
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and...
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and 1 coin that lands heads with probability 1/4 . A coin is taken from the box at random and flipped repeatedly until it has landed heads three times. Let X be the number of times that the coin is flipped and Y be the probability that the coin lands heads. (a) Find the random variables E(X|Y ) and var(X|Y ) in terms of Y...
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and...
A box contains 5 fair coins, 4 coins that land heads with probability 1/3 , and 1 coin that lands heads with probability 1/4 . A coin is taken from the box at random and flipped repeatedly until it has landed heads three times. Let X be the number of times that the coin is flipped and Y be the probability that the coin lands heads. (a) Find the random variables E(X|Y ) and var(X|Y ) in terms of Y...
Suppose you have a bag of 100 coins. Ninety of them are fair coins, which is...
Suppose you have a bag of 100 coins. Ninety of them are fair coins, which is P(H) = P(T) = 1/2. The other 10 coins are biased , they have tail (T) on both sides. Let X = {X1, X2, · · · , X100} be a random variable denoting the the total number of heads in the 100 coin flips. a. How many possible values X can take? For example, if one tosses two fair coins, the number of...
In a non-transparent bag there are 5 equally-weighted balls, each of them is marked by a...
In a non-transparent bag there are 5 equally-weighted balls, each of them is marked by a number 1,2,3,4 and 5. Now we randomly pick 3 balls out of the bag and we note X as the smallest number among the 3 balls picked. The order is of no importance.(10 pt) What is the statistic distribution of X? Compute E(X) and also . Suppose that a factory products the same product using 3 different workshops A, B and C, the producing...
Problem 4) Five coins are flipped. The first four coins will land on heads with probability...
Problem 4) Five coins are flipped. The first four coins will land on heads with probability 1/4. The fifth coin is a fair coin. Assume that the results of the flips are independent. Let X be the total number of heads that result. (hint: Condition on the last flip). a) Find P(X=2) b) Determine E[X]
What is the probability of picking 3 white balls in 5 picks from a bag containing...
What is the probability of picking 3 white balls in 5 picks from a bag containing 6 white balls and 4 red balls? Assume you do NOT replace the ball after each pick. a) P(XB=5; n=10, p=0.5) b) P(XNB=5; r=3, p=0.6) c) P(XHG=3; N=10, r = 6, n=5) d) P(XB=3; n=5, p=0.6)
Suppose Alice flips 4 coins and Bob flips 4 coins. Find the probability that Alice and...
Suppose Alice flips 4 coins and Bob flips 4 coins. Find the probability that Alice and Bob get the exact same number of heads.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT