Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Suppose that a box contains one fair coin and one coin with a head on each side. Suppose that a coin is drawn at random from this box and that we begin to flip the coin. In Eqs. (2.3.4) and (2.3.5), we computed the conditional probability that the coin was fair, given that the first two flips both produce heads.

a. Suppose that the coin is flipped a third time and another head is obtained. Compute the probability that the coin is fair, given that all three flips produced

heads.

b. Suppose that the coin is flipped a fourth time, and the result is tails. Compute the posterior probability that the coin is fair.

Short Answer

Expert verified

a. The coin's probability is fair given that all three flips obtained head is \(\frac{1}{9}\).

b. The posterior probability that the coin is fair, given that there was a tail at the fourth flip, is 1

Step by step solution

01

Given information

A box contains two coins. One is fair, and another one is unfair; it has a head on both sides. Out of them, one is randomly drawn from the box and begins to flip.

Now referring to Eqs. (2.3.4) and Eqs. (2.3.5), we obtain the conditional probability that the randomly drawn coin was fair given that there are two heads on the first two flips. And the probability is \(\frac{1}{5}\).

02

State the events

Consider the events,

\({B_1} = \)The event that the drawn coin is fair

\({B_2} = \)The event that the drawn coin has two heads on both sides

\({H_n} = \)The event of head obtained on the nth flip

03

Calculate the probability

Referring to Eqs. (2.3.4) and Eqs. (2.3.5), we got the probability

\(\begin{aligned}{}{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right){\bf{ = }}\frac{{{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{2}}}\left| {{{\bf{B}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{1}}}} \right.} \right)}}{{{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{2}}}\left| {{{\bf{B}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{1}}}} \right.} \right){\bf{ + Pr}}\left( {{{\bf{B}}_{\bf{2}}}\left| {{{\bf{H}}_{\bf{1}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{2}}}\left| {{{\bf{B}}_{\bf{2}}} \cap {{\bf{H}}_{\bf{1}}}} \right.} \right)}}\\ = \frac{1}{5}\end{aligned}\)

a.

Now the required probability that the selected coin is fair, given that the coin gives another head-on 3rd flip after giving two heads is,

\(\begin{aligned}{}{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}} \cap {{\bf{H}}_{\bf{3}}}} \right.} \right){\bf{ = }}\frac{{{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{3}}}\left| {{{\bf{B}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right)}}{{\left[ \begin{aligned}{}{\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}\left| {{{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{3}}}\left| {{{\bf{B}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right){\bf{ + }}\\{\bf{Pr}}\left( {{{\bf{B}}_{\bf{2}}}\left| {{{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right){\bf{Pr}}\left( {{{\bf{H}}_{\bf{3}}}\left| {{{\bf{B}}_{\bf{2}}} \cap {{\bf{H}}_{\bf{1}}} \cap {{\bf{H}}_{\bf{2}}}} \right.} \right)\end{aligned} \right]}}\\ = \frac{{\frac{1}{5} \times \frac{1}{2}}}{{\left( {\frac{1}{5} \times \frac{1}{2}} \right) + \left( {\frac{4}{5} \times \frac{1}{2}} \right)}}\\ = \frac{1}{9}\end{aligned}\)

Thus, the probability is \(\frac{1}{9}\)

04

Calculate the probability

b.

The randomly drawn same coin is flipped for the fourth time and given that the result is a tail.

We have to find the posterior probability that the coin is fair.

Now we know that there are only two coins in the box: one fair coin and another coin with two heads on both sides. As there is a tail in the result, the coin with two heads on both sides cannot be drawn at first.

Thus, we can conclude that the posterior probability of the drawn coin being fair is 1.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Consider the following three different possible conditions in the gamblerโ€™s ruin problem:

a. The initial fortune of gambler A is two dollars, and the initial fortune of gambler B is one dollar.

b. The initial fortune of gambler A is 20 dollars, and the initial fortune of gambler B is 10 dollars.

c. The initial fortune of gambler A is 200 dollars, and the initial fortune of gambler B is 100 dollars.

Suppose that p = 1/2. For which of these three conditions is there the greatest probability that gambler A will win the initial fortune of gambler B before he loses his own initial fortune?

Consider the conditions of Exercise 23 in Sec. 2.2 again. Assume that Pr(B)=0.4. LetAbe the event that exactly 8 out of 11 programs compiled. Compute the conditional probability ofBgivenA.

Bus tickets in a certain city contain four numbers, U, V , W, and X. Each of these numbers is equally likely to be any of the 10 digits , and the four numbers are chosen independently. A bus rider is said to be lucky if\({\bf{U + V = W + X}}\). What proportion of the riders are lucky?

Suppose thatkevents\({{\bf{B}}_{\bf{1}}}{\bf{ \ldots }}{{\bf{B}}_{\bf{k}}}\)form a partition of the sample spaceS. For\({\bf{i = 1 \ldots k}}\), let\(\Pr \left( {{{\bf{B}}_{\bf{i}}}} \right)\)denote the prior probability of\({{\bf{B}}_{\bf{i}}}\). Also, for each eventAsuch that\({\bf{Pr}}\left( {\bf{A}} \right){\bf{ > 0}}\), let\({\bf{Pr}}\left( {{{\bf{B}}_{\bf{i}}}{\bf{|A}}} \right)\)denote the posterior probability of\({{\bf{B}}_{\bf{i}}}\)given that the eventAhas occurred. Prove that if\({\bf{Pr}}\left( {{{\bf{B}}_{\bf{1}}}{\bf{|A}}} \right){\bf{ < Pr}}\left( {{{\bf{B}}_{\bf{1}}}} \right)\)then\({\bf{Pr}}\left( {{{\bf{B}}_{\bf{i}}}{\bf{|A}}} \right){\bf{ > Pr}}\left( {{{\bf{B}}_{\bf{i}}}} \right)\)for at least one value of i\(\left( {{\bf{i = 2, \ldots ,k}}} \right)\).

If A and B are independent events and Pr(B) < 1, what is the value of Pr(Ac|Bc)?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free