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
Simon has 160160160 meters of fencing to build a rectangular garden.
yaroslaw [1]

Answer:

25

Step-by-step explanation:

had it on khan

6 0
2 years ago
Read 2 more answers
A rectangle’s length is 2 units more than twice its width. Its area is 40 square units. The equation w(2w + 2) = 40 can be used
barxatty [35]
I hope this helps you

5 0
2 years ago
Read 3 more answers
Which function represents the cost of a pizza with n Toppings
alukav5142 [94]

Correct answer is B... You can plug in values for n.  Plug in 1 for n and the out put is 12.  Plug in 2 for n and the output is 13.5

7 0
2 years ago
Read 2 more answers
During winter months freshwater fish sense the water getting colder,finding lakes and rivers to find warmer water.If a fish swim
atroni [7]
I believe this would be 28 feet. You find this by dividing 7/8 to get the decimal of the fraction. (Which is 0.875) Then multiply by 32 ft to get the answer. Hope this helps!
7 0
2 years ago
Read 2 more answers
Nathan is planning to ride his bike for 24 minutes.
Thepotemich [5.8K]

Answer:

who is nathan

Step-by-step explanation:

do u know her

3 0
2 years ago
Read 2 more answers
Other questions:
  • A health club charges a $130 yearly membership fee and $3 for each day a member uses the health facilities. If the member paid $
    5·1 answer
  • Solve for z a(t+z)=45z+67
    13·2 answers
  • oshua tracks the points he scores in 10 basketball games. In two games Joshua scored 8 points each, in one game he scored 3 poin
    5·1 answer
  • Peter mixes 4 1/2 cups of orange juice, 2 1/4 of ginger ale and 6 1/3 cups of strawberry lemonade to make some punch. What is th
    6·1 answer
  • Please help !!!! Joe runs 8.25 times around a track in 1,119.803 seconds. If one lap around the track is 402.3 meters, which is
    15·2 answers
  • Rachel is going to calculate the following expression: 3.32/1.66+18.4. She calculates the expression as it is written and then w
    15·2 answers
  • Josh decided to rent an SUV for a family trip he was planning. On the way
    14·1 answer
  • vector w has magnitude 25.0 and direction angle 41.7 degrees. Calculate the horizontal and vertical components of w
    14·1 answer
  • A triangular playground is to be enclosed using two pieces of fencing and the wall of a building. The wall of the building is 14
    12·1 answer
  • A marketing research company is estimating the average total compensation of CEOs in the service industry. Data were randomly co
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!