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
What is 89,659 rounded to the nearest hundred thousand?
n200080 [17]

<u><em>Answer:</em></u>

100,000


<u><em>Explanation:</em></u>

To round a number to the nearest hundred thousands, we need to check the digit in the ten thousands position:

1- If this digit is <u>less than 5</u>, we will round down. This means that the digit in the hundred thousands position will remain the same and all digits after it will be converted to zeroes

2- If this digit is <u>equal to or greater than 5</u>, we will round up. This means that we will add one to the digit in the hundred thousands position and convert all digit after it to zeroes


Now, the given number is:

89,659

The digit in the hundred thousands position is 0

The digit in the ten thousands position is 8 which is greater than 5. Therefore, we will round up following rule 2 written above

This means that 89,659 rounded to the nearest hundred thousands would be 100,000


Hope this helps :)

4 0
2 years ago
Read 2 more answers
The number of bacteria in a petri dish on the first day was 113 cells. If the number of bacteria increase at a rate of 82% per d
Tresset [83]

Answer:

4107 cells

Step-by-step explanation:

From the question, we have the following values:

Day 1 : 113 cells

Number of cells increases by day by 82%

Hence,

Day 2

113 × 82% = 92.66cells

Hence, Total number of bacteria cells for Day 2 = 113 + 92.66 = 205.66cells

Day 3

205.66 × 82% = 168.6412 cells

Hence, Total number of bacteria cells for Day 3 = 168.6412 + 205.66 = 374.3012 cells

Day 4

374.3012 × 82% = 306.926984 cells

Hence, Total number of bacteria cells for Day 4 = 306.926984 + 374.3012 = 681.228184 cells

Day 5

681.228184 × 82% = 558.60711088 cells

Hence, Total number of bacteria cells for Day 5 = 558.60711088 + 681.228184 = 1239.8352949 cells

Day 6

1239.8352949 × 82% = 1016.6649418 cells

Hence, Total number of bacteria cells for Day 5 = 1016.6649418 + 1239.8352949 = 2256.5002367 cells

Day 7

2256.5002367 × 82% = 1850.3301941 cells

Hence, Total number of bacteria cells for Day 7 = 1850.3301941 + 2256.5002367 = 4106.8304308 cells

Approximately to nearest whole number, the total number of bacteria cells that would be present after 7 days = 4107 cells

3 0
2 years ago
The time until recharge for a battery in a laptop computer under common conditions is normally distributed with mean of 265 minu
pochemuha

Answer:

a) 0.691 = 69.1% probability that a battery lasts more than four hours

b) 25% value = 231

75% value = 299

c) 183 minutes

Step-by-step explanation:

Problems of normally distributed samples are solved using the z-score formula.

In a set with mean \mu and standard deviation \sigma, the zscore of a measure X is given by:

Z = \frac{X - \mu}{\sigma}

The Z-score measures how many standard deviations the measure is from the mean. After finding the Z-score, we look at the z-score table and find the p-value associated with this z-score. This p-value is the probability that the value of the measure is smaller than X, that is, the percentile of X. Subtracting 1 by the pvalue, we get the probability that the value of the measure is greater than X.

In this problem, we have that:

\mu = 265, \sigma = 50

a) What is the probability that a battery lasts more than four hours?

4 hours = 4*60 = 240 minutes

This is 1 subtracted by the pvalue of Z when X = 240. So

Z = \frac{X - \mu}{\sigma}

Z = \frac{240 - 265}{50}

Z = -0.5

Z = -0.5 has a pvalue of 0.309

1 - 0.309 = 0.691

0.691 = 69.1% probability that a battery lasts more than four hours

b) What are the quartiles (the 25% and 75% values) of battery life?

25th percentile:

X when Z has a pvalue of 0.25. So X when Z = -0.675

Z = \frac{X - \mu}{\sigma}

-0.675 = \frac{X - 265}{50}

X - 265 = -0.675*50

X = 231

75th percentile:

X when Z has a pvalue of 0.75. So X when Z = 0.675

Z = \frac{X - \mu}{\sigma}

0.675 = \frac{X - 265}{50}

X - 265 = 0.675*50

X = 299

25% value = 231

75% value = 299

c) What value of life in minutes is exceeded with 95% probability?

The 100-95 = 5th percentile, which is the value of X when Z has a pvalue of 0.05. So X when Z = -1.645.

Z = \frac{X - \mu}{\sigma}

-1.645 = \frac{X - 265}{50}

X - 265 = -1.645*50

X = 183

8 0
2 years ago
Which function has a Vertex at the origin f(x)= (x+4)^2, f(x) x(x-4), f(x)=(x-4)(x+4), f(x)=-x^2
Studentka2010 [4]
First of all, we need to know what is the vertex means which is the maximum or minimum point of a parabola and the formula will be:
x=-b/2a
Where b and a from
f(x)=ax^2+bx+c
So do find which function has a vertex of origin. Let's find the vertex of all the function that we had:
f(x)=(x+4)^2
f(x)=(x+4)(x+4)
f(x)=x^2+8x+16
x=-b/2a
x=-8/2(1)
x=-8/2
x=-4
Not the right answer because the vertex needs to be origin which is x=0

f(x)=x(x-4)
f(x)=x^2-4x
x=-b/2a
x=-(-4)/2(2)
x=4/4
x=1
Not the right answer

f(x)=(x-4)(x+4)
f(x)=x^2-16
x=-0/2(1)
x=0
Yay! This is the right answer. As a result, f(x)=(x-4)(x+4) is your final answer. Hope it help!
7 0
2 years ago
Dan is watching The Birds in his backyard. Of the birds he watches, 9. Of them,or 45%, are sparrows. How many birds are in his b
ra1l [238]

If 9 of the sparrows is 45% of the birds in the backyard, 9/x = 45/100.

Cross multiply to get 9 * 100 = 45x; simplified is 900 = 45x or 20.

This means that there are 20 birds in the backyard. You can check this by dividing 9/20 which equals 45%

5 0
1 year ago
Other questions:
  • Suppose that you are a manager of a clothing store and have just purchased 100 shirts for $15 each. After a month of selling the
    12·2 answers
  • A clothing store bought a sweater for a certain price and marked it up 70%. The sweater didn't sell, so the store owner took 25%
    5·2 answers
  • Solve x2 + 12x = –11 by completing the square. Which is the solution set of the equation? {–11, –1} {–11, 1} {11, –1} {11, 1} ,
    10·2 answers
  • PLS HELP ME ASAP The table records the rainfall in two cities during a particular week. Which statements about the data are true
    6·2 answers
  • Mrs. Liang, the librarian, wants to compare the numbers of patrons who prefer e-books to paperback books. She decides to take a
    12·1 answer
  • How many solutions does the nonlinear system of equations graphed below have?
    9·2 answers
  • While shopping in France, Johnny notices the cost of apples is 3.20€/kg. Johnny isn't familiar with Euros or kilograms, and need
    5·2 answers
  • Consider the three functions: f(x) = Three-halves(4)x g(x) = Three-halves(4)–x h(x) = –Three-halves(4)x Which statements are tru
    10·2 answers
  • Kaitlyn solved the equation for x using the following calculations. Negative 5.4 + x = 12.2. Minus 5.4. x = 6.8. What error, if
    12·1 answer
  • 1.66666666667 as a fraction in simplest form
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!