Skip to content

wex

Exact Observation Weights for the Kalman Filter and Smoother

v0.1.1 · Apr 3, 2026 · MIT + file LICENSE

Description

Computes exact observation weights for the Kalman filter and smoother, following Koopman and Harvey (2003) <www.sciencedirect.com/science/article/pii/S0165188902000611>. The package provides tools for analyzing linear Gaussian state-space models, allowing users to quantify the contribution of individual observations to filtered and smoothed state estimates. These weights can be used for interpretation, decomposition, and diagnostic analysis in time series models, including applications such as dynamic factor models. See the README for examples.

Downloads

602

Last 30 days

6590th

1.7K

Last 90 days

5.6K

Last year

Trend: +1.2% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies FKF KFAS cforecast wex

Version History

updated 0.1.1 ← 0.1.0 diff Apr 3, 2026
new 0.1.0 Mar 10, 2026