Nested Sequential Monte Carlo for the Bayesian Mallows Model
Overview
Provides nested sequential Monte Carlo algorithms for performing sequential inference in the Bayesian Mallows model, which is a widely used probability model for rank and preference data. The package implements the SMC2 (Sequential Monte Carlo Squared) algorithm for handling sequentially arriving rankings and pairwise preferences, including support for complete rankings, partial rankings, and pairwise comparisons. The methods are based on Sorensen (2025) doi:10.1214/25-BA1564.
Major changes
- Introduced
use_backward_simulationargument inset_smc_options()to toggle Particle Gibbs with Backward Simulation (PG-BSi) during the rejuvenation step for mixture models. This vastly improves the effective sample size per second for clustering models.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 13
- Examples that run
- 75%6 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 15% with a bibliography file
Downloads
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2026-02-03
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 3.4 KB / 4 files
- Download size
- 289 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("BayesMallowsSMC2")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1214/25-ba1564.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.