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
Help if you’re good at math I’ll give brainliest
boyakko [2]

Answer:

(4,2)

Step-by-step explanation:

Just by looking at the graph, you can see that they intersect at (4,2). But just to check:

x - 2 = -0.5x + 4

1.5x = 6

x = 4

y = 4 - 2 = 2

(4,2)

6 0
3 years ago
Read 2 more answers
Find 4,290 + 3,602. Explain how to use mental math to solve.
lina2011 [118]
Answer: 7892

explanation: add each number individually left to right. 4+3 , 2+6 , 9+0 , 0+2
4 0
3 years ago
Please answer Fast!!!! I will award 100 points for correct answer
Tasya [4]

Answer:

52

Step-by-step explanation:

56+(x+72) =180

180 because it is supplementary

8 0
3 years ago
Read 2 more answers
Graph the functions and identify the domain and range. y=-1.5x^2
erma4kov [3.2K]
You can give random values such as <span> (1,2.5) (2,9) (-1,2.5) (-2,9) and it is a parabola. You'll see that the range is (-infinte, 0] and the domain is (-infinit, infinite). </span>I hope that this is the answer that you were looking for and it has helped you.
8 0
4 years ago
Read 2 more answers
Five times the sum of 173 and 32
Sladkaya [172]
173+32=205 , so 205 times 5 would equal 1,025 . so the answer would be 1,025 .
4 0
3 years ago
Read 2 more answers
Other questions:
  • How many centimeters are there in 1.23 x 10 to the negative 6th power
    5·1 answer
  • What is the square root of 98
    10·2 answers
  • Which images shows a reflection​
    14·1 answer
  • One day, the outdoor temperature increased by 5/10 degree every hour for 6 hours. How much did the temperature increase by the e
    10·1 answer
  • Subtract − 9 x − 7 −9x−7 from 8 x 2 − 5 x + 9 8x 2 −5x+9
    5·1 answer
  • Sasha is planning to create a garden with area 30 m2. She could use a
    13·1 answer
  • Solve for a 6 a=[?] a 10 Be sure to evaluate the square root
    11·1 answer
  • Which equation represents a line that passes through the two points in the table? y 3, 1 x6,6
    7·1 answer
  • 1. What is the perimeter of the rectangle?
    10·2 answers
  • HELP WITH THIS PLEASE
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!