VerifiedEvidence: highv1.0.0

Kalman Filter

A recursive algorithm estimating a dynamic system's unknown state over time by combining noisy observations with a model of how the system evolves.

Last reviewedDarrin Baines IP Ltd

Concept Architecture

Concept

Theoretically, Kalman Filter is a recursive state estimation algorithm that estimates the unobserved state of a dynamic system by combining information from a mathematical process model and sequential noisy observations. It is based on Bayesian estimation under linear system dynamics and Gaussian error assumptions, producing minimum mean squared error estimates of the underlying state variables. In health economics, the Kalman filter is used in dynamic state-space models, longitudinal data analysis and disease progression modelling when health states cannot be observed directly.

Mathematically, Kalman Filter is formulated as a recursive prediction?correction algorithm consisting of a state equation describing system evolution and an observation equation relating the hidden state to observed measurements. At each time step, the filter predicts the next system state and updates that prediction using new observations while accounting for uncertainty in both the model and the measurements. The algorithm recursively updates the state estimate and its associated covariance matrix.

In practice, Kalman Filter is applied to estimate latent disease severity, monitor patient trajectories, model healthcare utilisation and analyse longitudinal health data. It is implemented within state-space modelling frameworks using specialised statistical software and is particularly valuable when observations are incomplete, noisy or collected sequentially over time. Although less common than Markov models in health economic evaluation, the Kalman filter is used in dynamic modelling and parameter estimation where recursive state estimation is required.


Purpose

Used to estimate unobserved dynamic system states from sequential noisy observations, enabling longitudinal disease progression and dynamic health system processes to be modelled accurately.


Mathematical Formulae

Primary Formula

Prediction step:

x??|??? = Ax????|??? + Bu?

Update step:

x??|? = x??|??? + K?(z? ? Hx??|???)

where:

  • x??|??? is the predicted state estimate
  • x??|? is the updated state estimate
  • A is the state transition matrix
  • B is the control matrix
  • u? is the control input
  • z? is the observation vector
  • H is the observation matrix
  • K? is the Kalman gain.

Supporting Formulae

Kalman gain:

K? = P?|???H?(HP?|???H? + R)??

Covariance prediction:

P?|??? = AP???|???A? + Q

where:

  • P is the state covariance matrix
  • Q is the process noise covariance matrix
  • R is the observation noise covariance matrix.

Related Mathematical Methods

  • State-space modelling
  • Bayesian estimation
  • Recursive estimation
  • Linear dynamic systems
  • Time-series analysis
  • Hidden Markov models
  • Maximum likelihood estimation

Example

A disease progression model estimates an unobserved disease severity score from quarterly biomarker measurements collected over three years.

The state equation models progression between visits, while observed biomarker values are incorporated through the observation equation. At each quarter, the Kalman filter combines the predicted disease state with the new biomarker measurement to produce an updated estimate with reduced uncertainty. These estimated disease states are subsequently used to predict healthcare costs and quality-adjusted life-years within the economic model.


Excel Implementation

FunctionExample FormulaHealth Economics Application
MMULT=MMULT(A1:C3,D1:D3)Perform matrix multiplication during prediction and update steps.
MINVERSE=MINVERSE(A1:C3)Calculate matrix inverses required for the Kalman gain.
TRANSPOSE=TRANSPOSE(A1:C3)Calculate matrix transposes in covariance updates.
SUM=SUM(B2:D2)Aggregate state estimates or covariance components.
LET=LET(...)Organise recursive matrix calculations in advanced Excel implementations.

VBA (Optional)

Automate recursive prediction and updating of latent health states from sequential observations using the Kalman filtering algorithm.


Sources

  • Kalman RE. A new approach to linear filtering and prediction problems. Transactions of the ASME: Journal of Basic Engineering. 1960;82(1):35?45.
  • Durbin J, Koopman SJ. Time Series Analysis by State Space Methods. 2nd ed. Oxford University Press; 2012.
  • Harvey AC. Forecasting, Structural Time Series Models and the Kalman Filter. Cambridge University Press; 1989.
  • Briggs A, Claxton K, Sculpher M. Decision Modelling for Health Economic Evaluation. Oxford University Press; 2006.
  • Drummond MF, Sculpher MJ, Claxton K, Stoddart GL, Torrance GW. Methods for the Economic Evaluation of Health Care Programmes. 4th ed. Oxford University Press; 2015.

Library

Publications

1
  • BookFeatured

    Decision Modelling for Health Economic Evaluation — Briggs, Claxton & Sculpher, 1st Edition ed., 2006 (Oxford University Press)

    Foundational textbook on decision-analytic modelling for economic evaluation, covering decision trees, Markov models, handling parameter and structural uncertainty, probabilistic sensitivity analysis, and value of information. Volume 1 in the Handbooks in Health Economic Evaluation series.

Frequently Asked Questions (6)

  • What is a Kalman filter?

    A recursive algorithm estimating a dynamic system's unknown state over time by combining noisy observations with a model of how the system evolves.

    Source: Kalman 1960

  • What problem does a Kalman filter solve?

    A Kalman filter estimates the changing state of a system that cannot be observed directly, using measurements that are noisy and incomplete. It combines two sources of information, a prediction of where the system should be from a model of how it evolves, and the latest imperfect measurement, weighting each by its reliability to form a better estimate than either alone. This lets it track a quantity through time despite uncertainty in both the model and the data. Kalman (1960) introduced the method.

    Source: Kalman 1960

  • How does a Kalman filter work?

    A Kalman filter works in two repeating steps. In the prediction step, it uses a model of the system's dynamics to project the current state estimate and its uncertainty forward to the next time. In the update step, it combines this prediction with the new observation, weighting each by its uncertainty, to produce a refined estimate with reduced uncertainty. This predict-and-update cycle, applied recursively as observations arrive, tracks the evolving state, giving an estimate that balances the model and the measurements.

    Source: Kalman 1960

  • Why is the Kalman filter recursive?

    The Kalman filter is recursive because it updates its estimate using only the current state estimate and the latest observation, rather than reprocessing all past data at each step. This makes it efficient, since it does not need to store or revisit the entire history, and suitable for real-time estimation as observations arrive continuously. The recursive structure carries forward a summary of past information in the current estimate and its uncertainty, so each new observation refines the estimate incrementally.

    Source: Press et al. 2007

  • What are the assumptions of the Kalman filter?

    The standard Kalman filter assumes the system dynamics and the relationship between state and observations are linear, and that the process and measurement noise are normally distributed with known variances. Under these assumptions, it produces the optimal estimate in a least-squares sense. Where the system is non-linear, extensions such as the extended or unscented Kalman filter are used to approximate the filter, since the linear assumptions no longer hold, so the basic filter is exact only for linear, Gaussian systems.

    Source: Kalman 1960

  • Where is the Kalman filter used?

    The Kalman filter is used to estimate and track the changing state of systems from noisy measurements in fields such as navigation, control, signal processing, and economics. In health and epidemiology, it can be applied to estimate evolving quantities, such as the state of an epidemic or a physiological signal, from imperfect observations over time. Wherever a dynamic quantity must be inferred from a sequence of noisy measurements combined with a model of its evolution, the Kalman filter provides a systematic estimation method.

    Source: Press et al. 2007

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 9 Oct 2025

Content version: 1.0.0

Canonical Identity

Term code
HE-EM-MP-021

Stable URI · Machine-readable · Resolvable · CC BY 4.0