Question

In: Statistics and Probability

You have a large barrel full of coins. 5 percent of the coins in the barrel...

You have a large barrel full of coins. 5 percent of the coins in the barrel are “type X” and 95 percent are “type Y.” When you flip them, type X coins come up heads 90 percent of the time and tails 10 percent of the time. Type Y coins come up heads 3 percent of the time and tails 97 percent of the time.

Suppose you do a three part experiment: (i) Take a coin at random from the barrel [in this context, choosing a coin “at random” from the barrel means that there is a 5 percent chance you will select a type X coin and a 95 percent chance you will select a type Y coin] , (ii) flip the coin you selected once and observe whether it comes up heads or tails, and (iii) flip the same coin a second time and observe whether it comes up heads or tails.

a) Represent this experiment in a tree, showing all the possible outcomes, along with the probability of each outcome. [For example, one possible outcome is "the coin is type Y, the first flip is tails, and the second flip is heads," which you could abbreviate as YTH.]

b) What is the probability that the two tosses of the coin do not give the same result? (That is, what is the probability that either the first toss is heads and the second toss is tails, or the first toss is tails and the second toss is heads?)

c) If the two tosses of the coin do not give the same result, what is the probability that the coin chosen at random is type Y?

d) Define event A to be the set of all outcomes of this experiment in which the first flip comes up Heads. Define event B to be the set of all outcomes of this experiment in which the second flip comes up Heads. Are A and B independent events? Justify your answer carefully, using an argument based on the definition of statistical independence, not just intuition.

Solutions

Expert Solution

We start by listing all the outcomes and their respective probabilities. Each result's probability is mutiplied with the other stages since there is independent selection of type and the outcomes of the toss

Type 1 toss 2 toss Outcome P(type) P(1 toss) P(2 toss) P(outcome)
X H H XHH 0.05 0.9 0.03 0.00135
X H T XHT 0.05 0.9 0.97 0.04365
X T H XTH 0.05 0.1 0.03 0.00015
X T T XTT 0.05 0.1 0.97 0.00485
Y H H YHH 0.95 0.9 0.03 0.02565
Y H T YHT 0.95 0.9 0.97 0.82935
Y T H YTH 0.95 0.1 0.03 0.00285
Y T T YTT 0.95 0.1 0.97 0.09215

Note : The sum of all probabilities is '1' which fulfils the condition of being a probabiltiy distribution.

a) Represent this experiment in a tree, showing all the possible outcomes, along with the probability of each outcome. [For example, one possible outcome is "the coin is type Y, the first flip is tails, and the second flip is heads," which you could abbreviate as YTH.]

b) What is the probability that the two tosses of the coin do not give the same result? (That is, what is the probability that either the first toss is heads and the second toss is tails, or the first toss is tails and the second toss is heads?)

That mean ignore the outcomes of TT and HH irrespective of 'x' and 'Y'

which then are

Outcome P(outcome)
XHT 0.04365
XTH 0.00015
YHT 0.82935
YTH 0.00285
Total 0.876

Probability that the two tosses of the coin do not give the same result is 0.876

c) If the two tosses of the coin do not give the same result, what is the probability that the coin chosen at random is type Y?

This is an example of conditional probability

P( Type Y | diferent result) =

=

From the above tables we can get the probabilites and we put in our formula

= 0.95

Probability that the coin chosen at random is type Y is 0.95.

d) Define event A to be the set of all outcomes of this experiment in which the first flip comes up Heads. Define event B to be the set of all outcomes of this experiment in which the second flip comes up Heads. Are A and B independent events? Justify your answer carefully, using an argument based on the definition of statistical independence, not just intuition.

The events are independent when

P(A B) = P(A) * P(B)

Where 'A' is the event that heads is on the first toss

and 'B' is the event that heads is on the second toss

P(A B) will be the event that heads is on both the tosses.

The outcomes therefore are = P( XHH) + P(YHH)

= 0.027

P(A) : We take all the outcomes with H in the 1st toss ignoring the type and 2nd outcome

Outcome P(outcome)
XHH 0.00135
XHT 0.04365
YHH 0.02565
YHT 0.82935
0.9

P(A) = 0.9

P(B) : We take all the outcomes with H in the 2nd toss ignoring the type and 1st outcome

Outcome P(outcome)
XHH 0.00135
XTH 0.00015
YHH 0.02565
YTH 0.00285
0.03

P(B) = 0.03

P(A) * P(B) = 0.027

Since

We can say that events 'A' and 'B' are independent.


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...
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?
A protein you are studying is believed to have a beta barrel secondary structure that consists...
A protein you are studying is believed to have a beta barrel secondary structure that consists of several duplicate hydrophobic amino acid sequence repeats. Describe the cell structure you anticipate finding this protein in based on these characteristics
A protein you are studying is believed to have a beta barrel secondary structure that consists...
A protein you are studying is believed to have a beta barrel secondary structure that consists of several duplicate hydrophobic amino acid sequence repeats. What potential analytical issues would you encounter in the purification and analytical assessment of this type of protein and would you anticipate using detergents to help solubilize this protein (explain)?
coins have a mean of 2.5 g 32 coin sample the sample coins have a mean...
coins have a mean of 2.5 g 32 coin sample the sample coins have a mean weight of 2.49496 standard deviation of 0.01722g with a 0.05 significance level to test the claim this sample from s population with a mean weight of 2.5 gm give test statistic and p value
You have two coins, one of which you know to be fair and the other of...
You have two coins, one of which you know to be fair and the other of which has a probability of turning up heads of 0.7, but you can’t tell which one is which. You choose one coin at random and flip it ten times getting an equal number of heads and tails. What is the probability that you chose the unfair coin?
5. Thirty percent of the employees of a large company are minorities. A random sample of...
5. Thirty percent of the employees of a large company are minorities. A random sample of 8 employees is selected. (Total: 7 marks; a-c: 2 marks each, d: 1 mark) a. What is the probability that the sample contains exactly 7 minorities? b. What is the probability that the sample contains less than 5 minorities? c. What is the probability that the sample contains exactly 1 non-minority? d. What is the expected number of minorities in the sample
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...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT