Exercise 14 (last)
- Due No Due Date
- Points None
14.1 CRLB identity
Show the following equality, where for simplicity it is assumed that is a scalar parameter
.
Here denotes the log-likelihood function, i.e.
(You can make appropriate assumptions of regularity of functions if needed.)
14.2 CRLB for exponential distribution
The pdf for an exponentional distribution is given by
It is easy to check that and
. Assume we have
data points
drawn from
.
a) Show that is a bias-free estimator of
and determine the variance of
.
b) Calculate the CRLB, and show that the estimator in a) is efficient, i.e. achieves the Cramer Rao lower bound.
14.3 Kalman Filter for improved GPS positioning
Download the matlabb code gps.m Download gps.m and study how the motion model described on the lecture is implemented and how it improves tracking performance.
a) Change sigma2 from 1e-1 to 1e-3 and describe what happens to the position estimates
b) The code contains the following lines
kalman1 = ss(A-A*M*C,A*M,eye(4),zeros(4,2),h);
kalman0 = ss(A-A*M*C,A*M,eye(4)-M*C,M,h);
Explain why this gives the kalman filter without and with direct term (predictor vs filter).
14.4 Particle filter
Study the code PF.m Download PF.m and identify where the height measurement is used to update the weights.
The code assumes the height sensor has a normally distributed error. How should the code on lines 80 and 83 be updated if the height sensor error was instead uniformly distributed in the interval [-a,a] (the parameter a is assumed known). You do not have to change the code.
Solutions:
(Please disregard the different problem numbering in these videos)
ex14_1.mp4 Download ex14_1.mp4
(Note: I made a slight error at the end, missing to move the minus sign over before defining )
ex14_2.mp4 Download ex14_2.mp4
(Note: And here I missed a transpose after 5 min, the formula should be )
ex14_3.mp4 Download ex14_3.mp4
ex14_4.mp4 Download ex14_4.mp4