A scalar state follows with , and we observe with . After step the belief is . The new observation is . What are the predicted and the updated beliefs?
Probabilistic models, Kalman filter
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can run one predict step and one update step of the Kalman filter with numbers.
Key idea
Predict: add the process noise to the variance. Update: , , .
Steps
- Predict. The mean stays at because the dynamics are plus noise. The variance grows by the process noise : .
- Compute the innovation variance , where is the observation noise variance.
- Kalman gain: . It says how much to trust the new measurement against the prediction.
- Update the mean and variance: , and . The final belief is .
- Sanity check: the variance 2 is below both and , since combining two sources gives less uncertainty. The mean lies midway because the two variances are equal.
Common mistakes
- Skipping the predict step and using in the gain.
- Adding standard deviations instead of variances.
- Forgetting that the gain uses variances: with larger the gain drops and we trust the prediction more.
How long your answer should be
5–6 lines.
Read this
Previous in Probabilistic models: Three binary variables form a chain MRF with , where if and if . What are , , and ?
Next in Probabilistic models: A 1D Gaussian mixture has two components with unit variance, means and , and weights and . For the data points and , what are the responsibilities of component 1? What are the M-step updates of and using only these two points (keeping the other parameters fixed)?