Interactive element. Drag the sliders to adjust the simulation speed, assimilation interval, observation error, and forecast error. 

Kalman filter (Lemniscate)

This sandbox illustrates the influence of forecast error, observation error, assimilation frequency, and model fidelity on the performance of a Kalman filter. Similar to my other interactive example, this element implements the Kalman Filter for a simple model. Specifically, the true state of this model follows a lemniscate (the shape of an infinity symbol). The user can choose between the following three models:

Explore the different models, and see how their behaviour changes for different assimilation intervals, observation errors, and forecast errors. The log density plot in the top right showcases the log probability of the true state given the state estimate. The higher this quantity is on average, the better your state estimate follows the (unknown) true state.