answer.
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
lana66690 [7]
2 years ago
5

4 Points] Under the HMM generative model, what is p(z1 = z2 = z3), the probability that the same die is used for the first three

rolls? b. [4 Points] Suppose that we observe the first two rolls. What is p(z1 = 1 | x1 = 2, x2 = 4), the probability that the casino used the fair die in the first roll?
Mathematics
1 answer:
RoseWind [281]2 years ago
4 0

Answer:

Step-by-step explanation:

We first examine a simple hidden Markov model (HMM). We observe a sequence of rolls of a four-sided die at an "occasionally dishonest casino", where at time t the observed outcome x_t Element {1, 2, 3, 4}. At each of these times, the casino can be in one of two states z_t Element {1, 2}. When z_t = 1 the casino uses a fair die, while when z_t = 2 the die is biased so that rolling a 1 is more likely. In particular: p (x_t = 1 | z_t = 1) = p (x_t = 2 | z_t = 1) = p (x_t = 3 | z_t = 2) = p (x_t = 4 | z_t = 1) = 0.25, p (X_t = 1 | z_t = 2) = 0.7, p (X_t = 2 | z_t = 2) = p (X_t = 3 | z_t = 2) = p (X_t = 4 | z_t = 2) = 0.1. Assume that the casino has an equal probability of starting in either state at time t = 1, so that p (z1 = 1) = p (z1 = 2) = 0.5. The casino usually uses the same die for multiple iterations, but occasionally switches states according to the following probabilities: p (z_t + 1 = 1 | z_t = 1) = 0.8, p (z_t = 2) = 0.9. The other transition probabilities you will need are the complements of these. a. Under the HMM generative model, what is p (z1 = z2 = z3), the probability that the same die is used for the first three rolls? b. Suppose that we observe the first two rolls. What is p (z1 = 1 | x1 = 2, x2 = 4), the probability that the casino used the fair die in the first roll? c. Using the backward algorithm, compute the probability that we observe the sequence x1 = 2, x2 = 3, x3 = 3, x4 = 3 and x5 = 1. Show your work (i.e., show each of your belief for based on time). Consider the final distribution at time t = 6 for both p (z_t = 1) = p (z_t = 2) = 1.

ANSWER:

Let say we have that the first state of the die is state 1. Therefore the probability of this is p(z1=1)=0.5.

Also the probability that the same die is used(i.e. casino would be in the same state) is p(z2=1|z1=1)=0.8.

Again, suppose the first state of the die is state 2. So, p(z1=2)=0.5 and p(z2=2|z1=2)=0.9.

Other transition probabilities can be written as

p(zt+1=2|zt=1)=1-p(zt+1=1|zt=1)=.2

p(zt+1=1|zt=2)=1-p(zt+1=2|zt=2)=.1

p(z3=1|z1=1) = [p(z3=1|z2=2)*p(z2=2|z1=1)]+[p(z3=1|z2=1)*p(z2=1|z1=1)] = 0.1*0.2+0.8*0.8 = 0.66

p(z3=2|z1=2) = [p(z3=2|z2=2)*p(z2=2|z1=2)]+[p(z3=2|z2=1)*p(z2=1|z1=2)] = 0.9*0.9+0.2*0.1 = 0.83

With this, the total probability that the same die is used for the first three rolls (i.e. casino would be in the same state) is  given thus;

{p(z1=1)*p(z3=1|z1=1)}*{p(z1=2)*p(z3=2|z1=2)}

=  0.5*0.66+0.5*0.83 = 0.745

Prob = 0.745

You might be interested in
James conducted an experiment with 4 possible outcomes. He determined that the experimental probability of event A happening is
Karolina [17]
By completing the experiment a few more times and combining the results to the trails already done

Hope this helps you!! xD 
8 0
1 year ago
Read 2 more answers
7. PRODUCTION A glass blower can form 8 simple vases or 2 elaborate vases in an hour. In a
JulsSmile [24]

<u>Answer:</u>

a)x >= 4 , y

b)280 - 5 \times x

c) x = 4, y = 4  , $ 260

<u>Step-by-step explanation:</u>

a)Let, the glass bowler works for x hours on simple vases and y hours on elaborate vases.

According to the question,

y = 8 -x -----------(1)

Also, the glass blower has to make at least 40 vases in 8 hours.

So,  

8 \times x + 2 \times (8 - x)  >= 40

⇒ 6 \times x >= 24

⇒x >= 4 ---------(1)

⇒8 - x

⇒y----------(2)

b)Again profit of the glass blower, ( in $)

 = 30 \times x + 35 \times (8 - x)

= 280 - 5 \times x--------------(2)

which will be maximum when x is minimum which is 4 (from (1))

so y = 8 -x = 4

and the profit is,

(280 - 5 \times 4) (in $)

=$ 260

4 0
1 year ago
A line passes through the points (p, a) and (p, –a) where p and a are real numbers and p ≠ 0. Describe each of the following. Ex
MissTica

Answer:

Part A) The slope is undefined

Part B) The equation of the line is x=p

Part C) None y-intercept

Part D) The slope of a line perpendicular to the given line is equal to zero

Step-by-step explanation:

we have that

Describe

A) slope of the line

B) equation of the line

C) y-intercept

D) slope of a line perpendicular to the given line

Part A) slope of the line

we know that

The formula to calculate the slope between two points is equal to

m=\frac{y2-y1}{x2-x1}

we have

(p,a)\ (p,-a)

Substitute the values

m=\frac{-a-a}{p-p}

m=\frac{-2a}{0}  -----> the slope is undefined

Its a vertical line (parallel to the y-axis)

Part B) Equation of the line

we know that

The equation of a vertical line is equal to the x-coordinate of the points through which the line passes.

so

x=p

Part C) The y-intercept

The y-intercept is the value of y when the value of x is equal to zero

The vertical line not intercept the y-axis

so

None y-intercept

Part D) slope of a line perpendicular to the given line

A line perpendicular to the given line is a horizontal line (parallel to the x-axis)

therefore

The slope is equal to zero

6 0
2 years ago
Scaling up a 4 inch by 6 inch image by 50% results in which of the following image size
Monica [59]
50% or 1/2 of 4 is 2 50% or 1/2 of 6 is 3 so then just add them to the respective number since its going up by 50% or 2 in by 3 in \[\frac{ 6 }{ 9}\]
6 0
1 year ago
Read 2 more answers
There is a giant spinning wheel at a carnival.
kipiarov [429]

Answer:

3/12

Step-by-step explanation:

Theres 12 possibilities and she has 3 numbers which means each number has a 1 out of 12 chance of winning the prize. Molly has three numbers so she has a probability of 3/12 to win a prize.

3 0
2 years ago
Other questions:
  • The sum of the first 1 million primes is N. Without knowing N's value, one can determine that the ones'digit of N cannot be
    11·1 answer
  • Which rule was used to translate the image?
    13·2 answers
  • Write in miles per hour. Round to the nearest tenth. 211 ft/s
    9·1 answer
  • Jordan is a salesperson at the store. Jordan has a base monthly salary of $1,450 and also earns a commission of 5% on his monthl
    11·2 answers
  • if the total precipitation (rainfall and snow) for the year at a mountain town is expected to be 37.9 and it has already rained
    14·1 answer
  • Find the 11th term of the following geometric sequence.<br> 10, 50, 250, 1250
    11·2 answers
  • Without using your calculator, decide which of these is larger: log8 62 or log7 50. How confident are you of your answer? Explai
    15·1 answer
  • Use the properties of logarithms to prove log81000= log210.
    7·1 answer
  • An airline makes 200 reservations for a flight who holds 185 passengers. The probability that a passenger arrives for the flight
    8·1 answer
  • 12 pots cost $27 . what is the cost of 8 pots?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!