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
I have no clue what to do... please help
strojnjashka [21]

Answer:

Multiply the base by the exponent

Step-by-step explanation:

7 0
3 years ago
Please help :) I have no clue & math isn’t my strong subject.
melisa1 [442]

Equation of a line that is perpendicular to given line is y=\frac{-7}{4} x+\frac{7}{4}.

Equation of a line that is parallel to given line is y=\frac{4}{7} x-\frac{69}{7}.

Solution:

Given line y=\frac{4}{7} x+4.

Slope of this line, m_1 = \frac{4}{7}

$\text{Slope of perpendicular line} = \frac{-1}{\text{Slope of the given line} }

                                   $m_2=\frac{-1}{m_1}

                                          $=\frac{-1}{\frac{4}{7} }

Slope of perpendicular line, m_2=\frac{-7}{4}

Passes through the point (–7, 5). Here x_1=-7, y_1=5.

Point-slope formula:

y-y_1=m(x-x_1)

$y-(-7)=\frac{-7}{4} (x-5)

$y+7=\frac{-7}{4} x+\frac{35}{4}

Subtract 7 from both sides, we get

$y=\frac{-7}{4} x+\frac{7}{4}

Equation of a line that is perpendicular to given line is y=\frac{-7}{4} x+\frac{7}{4}.

To find the parallel line:

Slopes of parallel lines are equal.

m_1=m_3

$m_3=\frac{4}{7}

Passes through the point (–7, 5). Here x_1=-7, y_1=5.

Point-slope formula:

$y-(-7)=\frac{4}{7} (x-5)

$y+7=\frac{4}{7} x-\frac{20}{7}

Subtract 7 from both sides,

$y=\frac{4}{7} x-\frac{69}{7}

Equation of a line that is parallel to given line is y=\frac{4}{7} x-\frac{69}{7}.

7 0
3 years ago
Which polygon has an interior angle sum of 1080
Snezhnost [94]
The sum of the interior angles in a regular polygon is given by the formula 180<span>(n – 2), where n is the number of sides in the polygon. An octagon has </span>eight<span> sides, so the sum of the angles of the octagon is </span>180<span>(8 – 2) = </span>180(6<span>) = 1080 degrees. In other word your answer would be an octagon.
</span>
6 0
3 years ago
Read 2 more answers
Trish takes a Frenchy want to $5500 at a simple interest rate of 6% per year. Which of the following is closest to the amount of
lesya [120]

Answer:

F

Step-by-step explanation:

First, converting R percent to r a decimal

r = R/100 = 6%/100 = 0.06 per year,

then, solving our equation

I = 5500 × 0.06 × 2.5 = 825

I = $ 825.00

The simple interest accumulated

on a principal of $ 5,500.00

at a rate of 6% per year

for 2.5 years is $ 825.00.

4 0
3 years ago
X/6 -5 = -2 please help ASAP
Mars2501 [29]

Answer: x = 18

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • 6th grade math help me please! :))
    10·2 answers
  • Solve the given equation
    10·1 answer
  • Simplify: 9(a + b) + 4(3a + 2b)<br> A) 13a 13b <br> B) 21a + 17b <br> C) 21a + 2b <br> D) 38ab
    10·2 answers
  • Convert 17π/8 to degrees.
    15·1 answer
  • Given the area of a triangle is 25x2 + 10x - 8 and the base is 5x + 4, write the algebraic expression for the height.
    10·1 answer
  • I NEEDDD HELPPPP ASAPPPP ITS URGENTTT!!!!
    9·1 answer
  • Order -5,-7,0, and 4 from least to greatest
    9·2 answers
  • Which expression is equivalent to x + y + x + y + 3 [y + 5]
    5·1 answer
  • What are the next few terms after the following sequence? 1, 1/2, 1/3, 1/4
    13·1 answer
  • Which of the lines below has a negative slope?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!