1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kolbaska11 [484]
3 years ago
11

Jack has three coins C1, C2, and C3 with p1, p2, and p3 as their corresponding probabilitiesof landing heads. Jack flips coin C1

twice and then decides, based on the outcome, whetherto flip coin C2 or C3 next. In particular, if the two C1 flips come out the same, Jack flips coinC2 three times next. However, if the C1 flips come out different, he flips coin C3 three timesnext. Given the outcome of Jack’s last three flips, we want to know whether his first two flipscame out the same. Describe a Bayesian network and a corresponding query that solves thisproblem. What is the solution to this problem assuming that p1 = .4, p2 = .6, and p3 = .1and the last three flips came out as follows:(a) tails, heads, tails(b) tails, tails, tails
Mathematics
1 answer:
nikitadnepr [17]3 years ago
8 0

Let X denote the event that the two C_1 flips yield the same faces (1 if the same faces occur, 0 if not), so that

P(X=x)=\begin{cases}2{p_1}^2-2p_1+1&\text{for }x=1\\2p_1-2{p_1}^2&\text{for }x=0\\0&\text{otherwise}\end{cases}

For example,

P(X=1)=P(C_1=\mathrm{HH}\lor C_1=\mathrm{TT})=P(C_1=\mathrm{HH})+P(C_1=\mathrm{TT})={p_1}^2+(1-p_1)^2

Let Y denote the outcome (number of heads) of the next three flips of either C_2 or C_3. By the law of total probability,

P(Y=y)=P(Y=y\land X=1)+P(Y=y\land X=0)

P(Y=y)=P(Y=y\mid X=1)P(X=1)+P(Y=y\mid X=0)P(X=0)

and in particular we have

P(Y=y\mid X=1)=\begin{cases}\dbinom3y{p_2}^y(1-p_2)^{3-y}&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}

P(Y=y\mid X=0)=\begin{cases}\dbinom3y{p_3}^y(1-p_3)^{3-y}&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}

Then

P(Y=y)=\begin{cases}\dbinom3y{p_2}^y(1-p_2)^{3-y}(2{p_1}^2-2p_1+1)+\dbinom3y{p_3}^y(1-p_3)^{3-y}(2p_1-2{p_1}^2)&\text{for }y\in\{0,1,2,3\}\\\\0&\text{otherwise}\end{cases}

Jack wants to find P(X=1\mid Y=y) for some given y.

a. With y=1, we have

P(X=1\mid Y=1)=\dfrac{P(X=1\land Y=1)}{P(Y=1)}

P(X=1\mid Y=1)=\dfrac{P(Y=1\mid X=1)P(X=1)}{P(Y=1)}

P(X=1\mid Y=1)=\dfrac{\binom31p_2(1-p_2)^2(2{p_1}^2-2p_1+1)}{\binom31p_2(1-p_2)^2(2{p_1}^2-2p_1+1)+\binom31p_3(1-p_3)^2(2p_1-2{p_1}^2)}

P(X=1\mid Y=1)\approx\dfrac{0.1498}{0.2376}\approx0.6303

b. With y=0, we'd get

P(X=1\mid Y=0)=\dfrac{P(X=1\land Y=0)}{P(Y=0)}

P(X=1\mid Y=0)=\dfrac{P(Y=0\mid X=1)P(X=1)}{P(Y=0)}

P(X=1\mid Y=0)\approx\dfrac{0.0333}{0.1128}\approx0.295

You might be interested in
What is the circumference of a circle with radius pi?​
vfiekz [6]

Answer:

2π² or 19.74

Step-by-step explanation:

  • <em>Circumference of a circle is C = 2πr</em>

Given r = π

<u>Then</u>:

  • C= 2π*π = 2π²

or

  • ≈19.74
6 0
3 years ago
Helpppppppppppppppppp
zalisa [80]

Answer:

C. Natalie should take basic courses at the community college until she decides on a career

Step-by-step explanation:

4 0
2 years ago
What is t+8=15 write how u found out show ur work thanx plz hellppppp
Pachacha [2.7K]

The answer is the number that 't' must be in order for the equation
to be a true statement.

Here's how to find it:

Write                                             t + 8 = 15

Then subtract 8 from each side:  <em>  t      =  7</em>


8 0
3 years ago
Read 2 more answers
PLZ help HOMEWORK 100 ÷ 5 x 4 + 4 to the power of three
otez555 [7]

Answer:

144

Step-by-step explanation:

(100/5) x 4 + ( 4 to the power of 3 ) = 144

Hope that helps you.

6 0
2 years ago
Read 2 more answers
one possible combination of homeroom groups is 18 groups of 10 students and 5 groups of 12 students. which equation uses the x =
vfiekz [6]

Answer: y - 5 = -5/6 (x - 18)

Step-by-step explanation:

The point-slope form of a linear equation is written using the slope of the line and one point in the line. From part A, the slope of the line representing this situation is m = -5/6.

Since x represents the number of 10-student groups and y represents the number of 12-student groups, the combination of 18 groups of 10 students and 5 groups of 12 students is represented by the point (18,5).

6 0
3 years ago
Other questions:
  • Half of a liter is equal to 16.91 ounces how many ounces are there in 3 liters
    12·2 answers
  • A block of wood has a mass of 180 grams. It is 10cm long 6cm wide and 4cm thick. What is its volume and density?
    11·1 answer
  • Write the verbal expression as an algebraic expression:
    9·1 answer
  • Can someone help me please ?? :)
    7·2 answers
  • Factor<br><br> 3^5 + 12^4 − 36^3
    12·2 answers
  • Mr Dominguez spends three weeks training for a marathon. Every day he runs 1/2 mile more than the day before. If the first day h
    13·1 answer
  • PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE!!!! 10POINTS
    9·1 answer
  • The number of widgets that a manufacturing plant can produce varies jointly as the number of workers and the time that they have
    14·1 answer
  • What is the probability of rolling a number less than or equal to 8 with the
    14·1 answer
  • What is A number that when you add 4 and then divide the sum by 2 will equal 6.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!