liveBook · Manning

Filtering

As explained in Grokking Bayes

Filtering is the recursive estimation of the current hidden state conditional on observations available up to the current time.

Filtering estimates a hidden, changing state from observations that arrive over time. It separates how the state evolves from how measurements reveal it, then repeatedly predicts and corrects the estimate. section 9.15 section 9.3

Each filtering cycle has two steps:

  • Predict the next state using the current filtered belief and the state transition model, before seeing the next observation. section 9.3
  • Update the prediction with the new observation through the observation model, producing a revised belief about the current state. section 9.3

Tracking atmospheric CO₂

A state-space model can represent the true CO₂ concentration as latent, let it evolve year by year, and connect it to noisy measurements. Filtering predicts the next concentration and corrects that prediction when the next measurement arrives. section 9.3

Figure 9.4 The diagram of a filter algorithm, which alternates between the prediction step and the update step to recursively generate predictions for a time series.

Follow the prediction-and-update cycle visually as it generates successive time-series estimates. section 9.3

How Grokking Bayes covers it

How deep it goes
Defines recursive prediction and update steps, then notes Gaussian mean-covariance tracking and nonlinear filter variants.
Examples
Uses year-by-year CO₂ measurements and the prediction-correction diagram as concrete illustrations.
What it assumes
Builds from state transition and observation models while introducing the prediction-update cycle for latent dynamics.
What you can do after
Apply it via a state-space model to recursively estimate latent states and revise beliefs as observations arrive.
How it connects
Connects state-space models, Kalman filters, observation models, transition models, and forecasting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Bayes. The section links point to the parts of the book it draws on.