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 fraction of 11 and 1/6 in decimal form​
cupoosta [38]
11.16 repeat only the six is repeating
6 0
3 years ago
Read 2 more answers
the temperature in an experiment is increased at a constant rate over a period of time until the temperature reaches 0 degrees c
dsp73

Answer:

x = 28 (So it takes 28 hours for the temperature to reach 0°C.)

y = -70 (So the temperature when the experiment begins is −70°C.)

Step-by-step explanation:

To find the the x value, you remove the y value or replace it with 0.

0 = 5/2x - 70

Next you move the variable.

70 (2/5) = x           (multiply 70 by 2 to get 140 and divide that by 5)

And now you simplify to get:

28

To find the y value, you remove the x value or replace it with 0.

y =  0 - 70

And now you simplify to get:

-70

x = 28

y = -70

7 0
2 years ago
Read 2 more answers
HELP ME PLEASE !!!!!!
koban [17]

Answer:

13.08

Step-by-step explanation:

Step 1: find the sum of all numbers

= 104.65

Step 2: divide by how many values there are

=8

Step 3: solve

104.65 ÷ 8 = 13.08125....

Step 4: round to the hundredths place

= about 13.08

5 0
3 years ago
Read 2 more answers
Kite E F G H is inscribed in a rectangle. Points F and H are midpoints of sides of the rectangle, and creates a side length of x
Hoochie [10]

Answer:

5 units

Step-by-step explanation:

Let point O be the point of intersection of the kite diagonals.

|OF| = 2, |OH| = 5

|FH| = |OF| + |OH| = 2 + 5 = 7

FH and EG are the diagonals of the kite. Hence the area of thee kite is:

Area of kite EFGH = (FH * EG) / 2

Substituting:

35 = (7 * |EG|) / 2

|EG| * 7 = 70

|EG| = 10 units

The longer diagonal of a kite bisects the shorter one, therefore |GO| = |EO| = 10 / 2 = 5 units

x = |GO| = |EO| = 5 units

7 0
3 years ago
Read 2 more answers
The _____ were victims of attempted genocide ?
Marta_Voda [28]
B Jews and Armenians
7 0
3 years ago
Other questions:
  • Consider the function f(x)=-2/3x +5 <br> what is f(-6) <br> enter your answer in the box <br> f(-6)=
    13·1 answer
  • A chef is going to use a mixture of two brands of Italian dressing. The first brand contains vinegar, and the second brand conta
    13·1 answer
  • What is the end behavior of the graph of the polynomial function f(x) = 2x^3 – 26x – 24?
    14·1 answer
  • Change 3/5 to a percent
    9·2 answers
  • Draw and label the figure described MN and PQ intersecting at point R
    7·2 answers
  • Each chicken lays 2 eggs and there were 42 eggs in the hen house. How many chickens are there?
    15·2 answers
  • 115% of 80 is what number?
    13·2 answers
  • Find an equation for the line with slope m=6/5 and which goes through the point (15,8)
    14·1 answer
  • Two functions are represented in different formats.
    12·1 answer
  • Question 1/14
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!