Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( iv ) Reflect on the two recursive relationships we have studied: Forward ( HW 4 ) , t = P ( Y 0 :

(iv) Reflect on the two recursive relationships we have studied:
Forward (HW4),t=P(Y0:t,xt)=P(Yt|xt)x?P(xt|xt-1=x)P(Y0:t-1,xt-1=x)
Backward (HW5),t=P(Yt+1:T|xt)=x?P(Yt+1|xt+1=x)P(xt+1=x|xt)P(Yt+2:T|xt+1=x)
Note t,t are vectors with length equal to the number of states of x. In this case, there are two
states. Then one can think of and as matrices with shape TN for N=2 states. We have
t,i=P(Y0:t,xt=xi) and t,i=P(Yt+1:T|xt=xi) where xi is the ith state of x.
Find an expression of P(Y0:T,xt) in terms of the forward and backward probabilities.
(v) Find an expression for P(xt=xi|Y0:T) using the forward and backward matrices.
(vi) Using the updated path.csv dataset from Brightspace (see Homework 5 code), plot the noisy path
(Y0:T), the clean path (x0:T), and the most likely states using P(xt|Y1:t),P(xt|Yt+1:T), and P(xt|Y0:T)
for tin{0,dots,T}. Plot the clean and noisy path over time so the x -axis is the position and the y -axis
is time. The provided helper code will be very useful for this problem.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions