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 diameter of a sphere? A.Twice the radius of the sphere B.The distance between two spheres C.The distance from the ce
dolphi86 [110]

Twice the raidus. okay, Im sure that how you spell Radius but anyway, Hope this helps.


3 0
3 years ago
What is the value of 2 + b(a? + 4) when a = 2 and b = 4?<br> A 22<br> B 34<br> C 2<br> D 48
lisov135 [29]

Answer: 26

Step-by-step explanation:

lets replace a and b with the numbers provided

2+4(2+4)=2+4(6)=2+24=26

4 0
3 years ago
What is 3.96 × 0.4, please help me ​
Kisachek [45]

Answer:

1.584

Step-by-step explanation:

1.584 = 3.96 × 0.4

8 0
3 years ago
Read 2 more answers
the area of a parallelogram shape land is on the square and length of its two adjacent sides are 25 m and 17 M find its diagonal
Alex787 [66]

Step-by-step explanation:

Draw diagonal AC

The triangle ABC has sides 17 and 25

Say AB is 17, BC is 25

Draw altitude on side BC from A , say h

h = 17 sin B

Area = 25*17 sin B = 408

sin B = 24/25

In ∆ ABC

Cos B = +- 7/25

= 625 + 289 — b^2 / 2*25*17

b^2 = 914 — 14*17 = 676

b = 26

h = 17*24/25 = 408/25 = 16.32

Draw the second diagonal BD

In ∆ BCD, draw altitude from D, say DE =h

BD^2 = h^2 + {(25 + sqrt (289 -h^2) }^2

BD^2 = 16.32^2 + (25 + 4.76)^2

= 885.6576 + 266.3424

BD = √ 1152 = 33.94 m

6 0
3 years ago
The coordinates of points A and L are negative 4 and 8, respectively. What is the coordinate of the midpoint between them?
olga nikolaevna [1]
The midpoints between 4 and 8 would be 6 because 4 5 6 7 8, the middle term is 6
6 0
3 years ago
Other questions:
  • Hello! I'm stuck on Pythagorean theorem in geometry. There are some numbers that suppose to have a line on top but I don't know
    15·1 answer
  • Which system of linear inequalities is graphed?
    5·2 answers
  • Determine an equation of a quadratic function with x intercepts of -3 and 5 that passes through the point A(4,-21)
    15·1 answer
  • The area of the parallelogram below is ____ square meters.
    8·1 answer
  • There is 12\15 of a pizza left. How many 3\10 pieces can be made from the leftover pizza?
    14·1 answer
  • Which points in the scatter plot are outliers?
    10·2 answers
  • PLEASE HELP!!!!! PLEASE
    8·1 answer
  • Find the area of the figure for 20 points and brainiest explain how you got it.
    8·2 answers
  • A fire truck has a ladder that can extend to 120 ft in length. The ladder can be safely raised to the maximum angle of 75 with t
    6·1 answer
  • Its math help me out
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!