Question

In: Math

You have 100 coins, and 99 of them are fair (equal probability of heads or tails)....

You have 100 coins, and 99 of them are fair (equal probability of heads or tails). One of them is weighted and has a 90% probability of landing on heads. You randomly choose one of the 100 coins. Find the probability that it is a weighted coin, under the following scenarios: (Hint: if your calculator can’t compute 100!, R can, just type factorial(100))

(a) You flip it 10 times and lands on heads 10 times (b) You flip it 10 times and it lands on heads 9 times

(c) You flip it 20 times and it lands on heads 18 times (d) You flip it 100 times and it lands on heads 77 times

Solutions

Expert Solution

(a) Here we have 100 coins, 99 of them are fair and one of them is weightd and 90% probability of landing on heads.

We flip it 10 times and lands on heads 10 times

Pr(Weighted coin l flip it 10 times and lands on heads 10 times )

Probability of any coin landing heads 10 times out of 10 times

Pr(landing 10 time head on 10 times) = Pr(Normal coin) * Pr(Normal Coin landing 10 heads on 10 times) + Pr(Weighted Coin) * Pr(weighted Coin landing 10 heads on 10 times) = 99/100 * (0.5)10 + 1/100 * (0.9)10

Pr(Weighted Coin) = 1/100 * (0.9)10 / [99/100 * (0.5)10 + 1/100 * (0.9)10]

= 0.7829

(b) Pr(Flip 10 times and lands 9 timess) = Pr(Normal coin) * Pr(Normal Coin landing 9 heads on 10 times) + Pr(Weighted Coin) * Pr(weighted Coin landing 9 heads on 10 times)

= 99/100 * 10C9 (0.5)10 + 1/100 * 10C9 (0.9)9 (0.1)

Pr(Weighted coin) = [1/100 * 10C9 (0.9)9 (0.1) ]/ [99/100 * 10C9 (0.5)10 + 1/100 * 10C9 (0.9)9 (0.1) ]

= 0.2861

(c) Here flip it 20 times and lands on heads 18 times

= Pr(Normal coin) * Pr(Normal Coin landing 18 heads on 20 times) + Pr(Weighted Coin) * Pr(weighted Coin landing 18 heads on 20 times)

= 99/100 * 20C18 (0.5)20 + 1/100 * 20C18 (0.9)18 (0.1)2

Pr(Weighted coin) = [1/100 * 20C18 (0.9)18 (0.1)2 ]/ [99/100 * 20C18 (0.5)20 + 1/100 * 20C18 (0.9)18 (0.1)2 ]

= 0.9408

(d) Here flip it 100 times and it lands on 77 times

Pr(Head on 77 times out of 100) =

Pr(Normal coin) * Pr(Normal Coin landing 77 heads on 100 times) + Pr(Weighted Coin) * Pr(weighted Coin landing 77 heads on 100 times)

= 99/100 * 100C77 (0.5)100 + 1/100 * 100C77(0.9)77 (0.1)23

Pr(Weighted coin) = [1/100 * 100C77(0.9)77 (0.1)23   ]/ [99/100 * 100C77 (0.5)100 + 1/100 * 100C77(0.9)77 (0.1)23  ]

= 0.9746


Related Solutions

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...
Consider independent trials of flipping fair coins (outcomes are heads or tails). Define the random variable...
Consider independent trials of flipping fair coins (outcomes are heads or tails). Define the random variable T to be the first time that two heads come up in a row (so, for the outcome HT HT HH... we have T = 6). (a) Compute P(T = i) for i = 1, 2, 3, 4, 5. (b) Compute P(T = n) for n > 5.
One fair coin and two unfair coins where heads is 5 times as likely as tails...
One fair coin and two unfair coins where heads is 5 times as likely as tails are put into a bag. One coin is drawn at random and then flipped twice. If at least one of the flips was tails, what is the probability an unfair coin was flipped?
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...
In tossing three fair coins, what is the probability of getting at least two heads?
In tossing three fair coins, what is the probability of getting at least two heads?
Three fair coins are tossed simultaneously 10 times. Find the probability that "2 heads and one...
Three fair coins are tossed simultaneously 10 times. Find the probability that "2 heads and one tail" will show up (a) at least once and (b) at most once.
You have 3 coins that look identical, but one is not a fair coin. The probability...
You have 3 coins that look identical, but one is not a fair coin. The probability the unfair coin show heads when tossed is 3/4, the other two coins are fair and have probability 1/2 of showing heads when tossed. You pick one of three coins uniformly at random and toss it n times, (where n is an arbitrary fixed positive integer). Let Y be the number of times the coin shows heads. Let X be the probability the coin...
A jar contains 100 coins. One of the coins is a trick coin with heads on...
A jar contains 100 coins. One of the coins is a trick coin with heads on both sides. The other 99 coins are ordinary coins with heads probability .5. A coin is selected at random. (a) What is the probability the coin selected is the trick coin? (b) The coin selected is tossed 7 times, and it happens to land heads each of those times. Now what is the probability it is the trick coin?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT