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
If you pay $3 to enter the farm and $2.50 per pound for the berries you pick. Write an equation to model the total cost, y, for
sweet [91]
The answer is 3+2.50x=y
3 0
2 years ago
You have a carton of 48 Easter eggs left from the weekend. You check the weight of the
crimeas [40]

Answer:

around 6 and a half pounds

4 0
2 years ago
A sound wave travels through iron at a rate of 5120\,\dfrac{\text{m}}{\text{s}}5120 s m ​ 5120, start fraction, start text, m, e
klio [65]

Answer:

18432 km/h

Step-by-step explanation:

It is given that a sound wave travels through iron at a rate of 5120 m/s.

We know that

1 km = 1000 m

1 hour = 60 minutes

1 minutes = 60 second

Using these conversions we get

1 m = 0.001 km

1 hour  = 3600 second

5120\text{ m/s }=5120\times 0.001\times 3600\text{ km/h}

5120\text{ m/s }=18432\text{ km/h}

Therefore, the sound wave travels through iron at a rate of 18432 km/h.

6 0
3 years ago
144 rocks divided among 12 teams equals?
scoundrel [369]
144/12 is 12 

so it is equally divided 
8 0
3 years ago
Please help BY tomorrow
olya-2409 [2.1K]

Answer:

think yourself........

Step-by-step explanation:

vjcjxgsjgclnckjcljcljckj

8 0
2 years ago
Read 2 more answers
Other questions:
  • What is the area of the following circle
    6·1 answer
  • Find the cosine of the angle between the planes 4x−1y+2z=−4 and the plane 1x+1y−4z=3.
    9·1 answer
  • See attached photo. Please Help ASAP and Explain
    6·1 answer
  • 2x=4 so what does 3x=<br> ?
    5·2 answers
  • 2<br>What is the diameter of this circle if the circumference is 30 inches?​
    15·1 answer
  • The polynomial P(x)=3x^3-5x^2-4x+4 has a factor of (x-2) rewrite P(x) as a product of linear factors
    12·1 answer
  • Two sides of a triangle are 12 and 15. Which inequality represents the solution to finding x, the third side.
    6·1 answer
  • Match each fraction, decimal, or percent with an equivalent fraction, decimal, or percent
    13·1 answer
  • Benjamin drives 60 miles every hour. He drives 180 miles to his uncles house.
    8·1 answer
  • What is 1+1? Show your work.
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!