Linear Innovations State Space Unobserved Components Model
Overview
Unobserved components time series model using the linear innovations state space representation (single source of error) with choice of error distributions and option for dynamic variance. Methods for estimation using automatic differentiation, automatic model selection and ensembling, prediction, filtering, simulation and backtesting. Based on the model described in Hyndman et al (2012) doi:10.1198/jasa.2011.tm09771.
- Work around RTMB AD eigen failures on M1 macOS. CRAN M1MAC/R-devel checks fail
while taping RTMB's AD overload for non-symmetric eigen decompositions, with an
invalid advector error inside the complex eigenvector normalization path.
This appears to be platform and toolchain sensitive: Apple silicon, especially M1 (but not M3),
does not provide the same extended precision behavior as some x86 paths, and the
reduced floating-point headroom can expose fragile complex eigen/AD calculations.
Added a lazy runtime capability check for RTMB AD eigen support. Normal platforms
continue to use RTMB's AD eigen constraints. If the capability check fails, the
package falls back only for eigenvalue constraints: constraint values are
computed with numeric base::eigen() and constraint Jacobians are computed by
central finite differences. The likelihood, scores, and other TMB/RTMB AD paths
remain unchanged.
Show all changes in 1.0.3Hide the rest of the changes in 1.0.3
- Exposed
tsissm_capabilities()to report the detected RTMB AD eigen capability,
source of the decision, RTMB/TMB versions, and platform details.
- Documented the
tsissm.rtmb_ad_eigenoption underestimate()so users can force RTMB AD
eigen constraints or force the finite-difference fallback for diagnostics.
- Also avoided a fragile vignette conversion through
as_flextable()by printing
the model summary directly.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-22
- ERROR12 OK, 1 ERROR2026-05-02
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 38 (2 internal)includes a package overview page
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 20%
- Documented parameters
- 100%
- Return-value docs
- 80%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 8
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/tsmodels/tsissm on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing tsissm adds 129 packages (73 with compiled code, 103 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.
- flextablefix by Oct 22
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.3Latest
- 1.0.2
- 1.0.12025-04-28
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-04-28
- Total releases
- 3 / 1 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 70 KB / 3 files
- Download size
- 763 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("tsissm")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.