FRTN65
Exercise 14 (last)
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
Close
  • My dashboard
  • FRTN65
  • Assignments
  • Exercise 14 (last)
2022 HT/Autumn
  • Home
  • Modules
  • Quizzes
  • Assignments
  • Syllabus

Exercise 14 (last)

  • Due No Due Date
  • Points None

14.1 CRLB identity

Show the following equality, where for simplicity it is assumed that  LaTeX: \thetaθ is a scalar parameter

LaTeX: E\left(\left(\frac{dl(y,\theta)}{d\theta}\right)^2\right) = -E\left(\frac{d^2l(y,\theta)}{d\theta^2}\right)E((dl(y,θ)dθ)2)=−E(d2l(y,θ)dθ2).

Here LaTeX: ll denotes the log-likelihood function, i.e. LaTeX: l(y,\theta) = \log p(y;\theta)l(y,θ)=logp(y;θ)
(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

LaTeX: p(y;\theta) = \frac{1}{\theta} exp(-y/\theta), \; y\geq 0p(y;θ)=1θexp(−y/θ),y≥0

It is easy to check that LaTeX: E(y)=\thetaE(y)=θ and LaTeX: \textrm{cov}(y) = \theta^2cov(y)=θ2. Assume we have LaTeX: NN data points LaTeX: y_1,\ldots,y_Ny1,…,yNdrawn from LaTeX: p(y;\theta)p(y;θ). 

a) Show that LaTeX: \widehat{\theta} = \frac{1}{N}\sum_{k=1}^N y_kˆθ=1N∑Nk=1yk is a bias-free estimator of LaTeX: \thetaθ and determine the variance of LaTeX: \widehat{\theta} ˆθ.

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.

We will also talk about the exam.

Solutions:

(Please disregard the different problem numbering in these videos)

ex14_1.mp4 Download ex14_1.mp4Play media comment.

(Note: I made a slight error at the end, missing to move the minus sign over before defining LaTeX: I(\theta)I(θ))

ex14_2.mp4 Download ex14_2.mp4Play media comment.

(Note: And here I missed a transpose after 5 min, the formula should be LaTeX: \mathrm{Var}(Ax) = A\mathrm{Var}(x) A^TVar(Ax)=AVar(x)AT)

ex14_3.mp4 Download ex14_3.mp4Play media comment.

ex14_4.mp4 Download ex14_4.mp4Play media comment.

 

 

0
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

Find Rubric
Please include a title
Find a Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5
Previous
Next
Repitition Lab 3 - Modeling and controlling a quadcopter