Skip to content

BayesianDisaggregation

Evidence-Based Bayesian Disaggregation of Aggregate Indices

v0.2.1 · Jun 18, 2026 · MIT + file LICENSE

Description

Disaggregates an observed aggregate price index into sectoral components with a Bayesian state-space model in which the aggregate enters as a genuine observation density rather than as a renormalization identity. A random-walk-with-drift transition in log space (with partial pooling on the drift and the innovation scale) and an estimable cross-sectional concentration produce posterior draws of the sectoral indices with credible intervals, suitable as multiple-imputation input for downstream dynamic models. The Hamiltonian Monte Carlo engine follows Stan (Carpenter et al., 2017) <doi:10.18637/jss.v076.i01>; model comparison uses Pareto Smoothed Importance Sampling Leave-One-Out cross-validation (Vehtari, Gelman and Gabry, 2017) <doi:10.1007/s11222-016-9696-4>. A closed-form linear-Gaussian Kalman/RTS smoother provides an exact, MCMC-free Bayesian alternative for the same aggregate evidence.

Downloads

CRAN

306

Last 30 days

12933rd

676

Last 90 days

1.9K

Last year

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

r2u CRAN

9

Last 30 days

25

Last 90 days

61

Last year

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

autoCRAN

25

Last 7 days

124

Last 30 days

18

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 readxl dplyr tidyr stringr magrittr convergenceDFM BayesianDisaggregation

Version History

2 tracked
updated 0.2.1 ← 0.1.2 diff Jun 18, 2026
new 0.1.2 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Oct 16, 2025. Releases before tracking aren’t shown.