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 sum of the roots of the polynomial shown below?<br> f(x) = x^3 + 2x^2 - 11x-12
svp [43]

<u>Answer:  </u>

Sum of the roots of the polynomial x^{3}+2 x^{2}-11 x-12 \text { is }-2

<u>Solution:</u>

The general form of cubic polynomial is a x^{3}+b x^{2}+c x+d=0 ---- (1)

If we have any cubic polynomial a x^{3}+b x^{2}+c x+d=0 having roots \alpha , \beta , \theta

Sum of roots \alpha + \beta + \theta = \frac{-b}{a} ---(2)

From question given that,

x^{3}+2 x^{2}-11 x-12 --- (3)

On comparing equation (1) and (3), we get a = 1, b = 2, c = -11 and d = -12

Hence the sum of roots using eqn 2 is given as,

= \frac{-2}{1}

= -2

Hence the sum of the roots of the polynomial x^{3}+2 x^{2}-11 x-12 \text { is }-2

4 0
3 years ago
3(x+y)=y
andrew-mc [135]

3(x+y)=y

y is not equal to zero

*Solution  

1. The given equation is 3(x+y) = y and we are tasked to find the ratio between x and y. Distributing 3 to the terms in the parenthesis,  

                       3(x+y) = y

                     3x + 3y = y

Transposing 3y to the right side OR subtracting 3y from both the left-hand side and the right-hand side of the equation would give

                             3x = -2y

Dividing both sides of the equation by 3,  

                               x = (-2/3)y

Dividing both sides of the equation by y,  

                             x/y = -2/3

Therefore, the ratio x/y has a value of -2/3 provided that y is not equal to zero.  

                             

6 0
3 years ago
A small business just celebrated its 1-year anniversary they calculate that in one year they serve over 5110 customers on averag
Juli2301 [7.4K]
You’re correct answer would be : 14 lmk if this is correct if not I’m so SORRY
8 0
3 years ago
Use the distributive property to write an expression equivalent to 15(5+n)
Ratling [72]
The answer is i beleve 75+15n
8 0
3 years ago
I NEED HELP ASAP!!<br><br> Subtract.<br><br> -30-27= ?<br><br> -5-(-4)= ?
pashok25 [27]
-30-27= -57
When both numbers are negative, they are “added” in a sense, but remain negative.

-5-(-4)= -1
You have to multiply the (-4) by the “invisible” -1 on the outside before you add/subtract.
5 0
3 years ago
Other questions:
  • Time (in minutes)
    11·1 answer
  • A University of Florida student earns $15 per day delivering advertising brochures door-to-door, plus 75¢ for each person he int
    10·1 answer
  • Nadia wants to enclose a square garden with fencing. It has an area of 141 square feet. To the nearest​ foot, how much fencing w
    6·1 answer
  • During second period, Evan completed a grammar worksheet. He got 27 out of 36 questions correct. What percentage did Evan get co
    5·2 answers
  • What is the value of 2×3 to the third power +1÷7+5×8
    15·2 answers
  • Huixian needs to pack 171 pens 63 pencils and 27 erasers into identical gift bags so that each item is equally distributed among
    10·2 answers
  • Parker and his family are going on a trip to see Mount Rushmore. They will travel 55 miles per
    8·1 answer
  • Look at pic 10 pts will mark brainilest
    6·1 answer
  • Gia receives an allowance of $2 a week and already has $20 in savings. Michael receives an allowance of $3 a week and already ha
    7·1 answer
  • I have sum free ...... point s for yalll​
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!