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
Question#1 Please simplify..
riadik2000 [5.3K]
Hey there,
6x + 5 (x-2)
6x + 5x - 10
11x - 10

3x - 5 - x + 9 
3x - x - 5 + 9
2x + 4

3a + 5 - 8a + 1
3 (-1) + 5 - 8(-1) + 1
-3 + 5 + 8 + 1
11

Hope this helps :))

<em>~Top♥</em>

5 0
3 years ago
PLEASE HELP ASAP WILL MARK BRAINLIEST
luda_lava [24]

Answer:

x=11

Step-by-step explanation:

7x-9-4(x-1)=28

7x-9-4x+4=28

3x-5=28

3x=33

x=11

4 0
3 years ago
mrs peters bought 7 1/2 yards of fabric she needs another 4 7/8 yards how many yards of fabric does she need altogether
Nataliya [291]
7 1/2 = 15/2 = 60/8
4 7/8 = 39/8

60/8 + 39/8 = 99/8 = 12 3/8 yards
6 0
3 years ago
What's the slope for coordinates (-5,-5) (5,3)?
Karo-lina-s [1.5K]

Answer:

4/5

Step-by-step explanation:

slope = (difference in y)/(difference in x)

slope = (-5 - 3)/(-5 - 5)

slope = -8/(-10)

slope = 4/5

4 0
2 years ago
4. This box plot shows the number of marks earned by the boys in a class test. What was the lower quartile? 5.This box plot show
suter [353]

Answer:

4-lower- 18

5-upper-29

6- range-56

Step-by-step explanation:

If you look up a completed box plot you can tell where lower and upper quartiles are. Range is found by Max-Min

Hope I helped...!

4 0
3 years ago
Other questions:
  • I need help with this one
    7·1 answer
  • Simplify 4 squared plus 25
    8·1 answer
  • What is the sum of (7x-6y) and (x+y)
    11·1 answer
  • 1) Alexandra has $200 invested in the stock market. Her broker predicts that this investment will
    6·1 answer
  • A marketing firm conducts a survey to find out how many people use a product. One hundred people are contacted for the study and
    5·2 answers
  • A credit card company charges 24.99% annually for its interest rate. There is a a 2450 balance.how much interest would be charge
    8·1 answer
  • Add the linear expressions: 2n + 6 and 6n -2
    7·1 answer
  • You have just administered 3 tablets with a dose strength of 1.5mg tablets. What is the total dosage?
    9·2 answers
  • There are 10 animals in the field. some are buffalo and some are ducks there are 34 legs in all. how many of each animal are in
    5·1 answer
  • Write the decimal as a percent: 0.89
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!