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
Jesse needs 10 1/4 feet of chain to complete an outdoor project. He has two small pieces each measuring 2 1/8 feet and a third p
Effectus [21]

Answer:

= 2 1/4 feet

Step-by-step explanation:

Length of chain Jesse needs = 10 1/4 feet

Length of chain Jesse has:

Two small pieces each measuring 2 1/8 feet

= 2 × 2 1/8 feet

= 2 × 17/8

= 34/8 feet

Third piece measuring 3 3/4 feet

Total Length of chain Jesse has = 34/8 feet + 3 3/4 feet

= 34/8 + 15/4

= 34+30/8

= 64/8

= 8 feet

Total Length of chain Jesse has = 8 feet

Length of chain Jesse needs to purchase = Length of chain Jesse needs - Total Length of chain Jesse has

= 10 1/4 feet - 8 feet

= 2 1/4 feet

Length of chain Jesse needs to purchase = 2 1/4 feet

7 0
3 years ago
It costs $15 to attend a golf club with a local pro. Buckets of balls for practice during the club cost $5 each. Select the corr
Ksju [112]

Answer:

7 buckets

Step-by-step explanation:

50-15=35

35 divided by 5 is 7

4 0
3 years ago
B) 1) Which of the following represents the commutative property of addition?
ladessa [460]

Answer:

1

9 +7= 7+9

2

10 +2 =10 +2

Step-by-step explanation:

Hope this helps

3 0
3 years ago
In the figure shown, which pair of angles must be supplementary?
FrozenT [24]
Answer: C

Exp:

∠DXC = 90°
∠CXB = 90°
supplementary = 180°
90+90= 180
6 0
3 years ago
Read 2 more answers
Can someone help <br> Hello I’m struggling over here
Marina CMI [18]

Answer:

c)  2.25 L

Step-by-step explanation:

Amount of pineapple juice = 3/4 of 3 L

                                              = 0.75 * 3

                                               = 2.25 L

6 0
3 years ago
Other questions:
  • The steps for solving the equation 2x-3=7
    11·2 answers
  • Kamau is now 2 years older than Jane if James age is y now what will be the total age in 10 years​
    8·1 answer
  • Which equation describes the line with slope of 2 and
    10·1 answer
  • Jaydee was going to sell all of her stamp collection to buy a video game. After selling half of them she changed her mind. she b
    11·1 answer
  • Find the area for the following figure
    12·1 answer
  • vWhat is the probability of drawing either a king, a queen, or a jack from a deck of 52 playing cards
    9·2 answers
  • On long division what is 927 divided by 7
    10·2 answers
  • How many quarter make 100 dollars? ​
    8·2 answers
  • 1, 6, 13, 22, 33, 46, 61 what comes next???????
    14·2 answers
  • Consider two events, P and Q. The probability of event P occurring is 16. The probability of event Q occurring is 23. Which stat
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!