Skip to content

bssm

Bayesian Inference of Non-Linear and Non-Gaussian State Space Models

v2.0.3 · Sep 24, 2025 · GPL (>= 2)

Description

Efficient methods for Bayesian inference of state space models via Markov chain Monte Carlo (MCMC) based on parallel importance sampling type weighted estimators (Vihola, Helske, and Franks, 2020, <doi:10.1111/sjos.12492>), particle MCMC, and its delayed acceptance version. Gaussian, Poisson, binomial, negative binomial, and Gamma observation densities and basic stochastic volatility models with linear-Gaussian state dynamics, as well as general non-linear Gaussian models and discretised diffusion models are supported. See Helske and Vihola (2021, <doi:10.32614/RJ-2021-103>) for details.

Downloads

2.9K

Last 30 days

2472nd

8.6K

Last 90 days

24.8K

Last year

Trend: -2.8% (30d vs prior 30d)

CRAN Check Status

7 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘bssm/libs/bssm.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘bssm/libs/bssm.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'bssm/libs/x64/bssm.dll':
  Found non-API call to R: 'R_UnboundValue'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 34.7Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs  30.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 35.1Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs  30.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.7Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs   3.2Mb
NOTE r-patched-linux-x86_64

compiled code

File ‘bssm/libs/bssm.so’:
  Found non-API call to R: ‘R_UnboundValue’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 34.7Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs  30.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 35.1Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs  30.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.7Mb
  sub-directories of 1Mb or more:
    data   1.1Mb
    doc    2.8Mb
    libs   3.2Mb

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies bayesplot checkmate coda diagis dplyr posterior Rcpp rlang tidyr Ecfun bssm

Version History

new 2.0.3 Mar 10, 2026
updated 2.0.3 ← 2.0.2 diff Sep 23, 2025
updated 2.0.2 ← 2.0.1 diff Oct 26, 2023
updated 2.0.1 ← 2.0.0 diff May 3, 2022
updated 2.0.0 ← 1.1.7-1 diff Nov 25, 2021
updated 1.1.7-1 ← 1.1.7 diff Sep 20, 2021
updated 1.1.7 ← 1.1.6 diff Sep 19, 2021
updated 1.1.6 ← 1.1.5 diff Sep 5, 2021
updated 1.1.5 ← 1.1.4 diff Jul 9, 2021
updated 1.1.4 ← 1.1.3-2 diff Apr 12, 2021
updated 1.1.3-2 ← 1.1.3-1 diff Feb 25, 2021
updated 1.1.3-1 ← 1.1.2 diff Feb 21, 2021
updated 1.1.2 ← 1.1.0 diff Feb 7, 2021
updated 1.1.0 ← 1.0.1-1 diff Jan 19, 2021
updated 1.0.1-1 ← 1.0.0 diff Nov 11, 2020
updated 1.0.0 ← 0.1.11 diff Jun 8, 2020
updated 0.1.11 ← 0.1.10 diff Feb 25, 2020
updated 0.1.10 ← 0.1.9 diff Feb 3, 2020
updated 0.1.9 ← 0.1.8-1 diff Jan 27, 2020
updated 0.1.8-1 ← 0.1.8 diff Jan 6, 2020