There is a newer version of the record available.

Published August 27, 2026 | Version 0.3.6

Hobbs: A General-Purpose Probabilistic Programming System for High Dimensional Bayesian Data Analysis in R

Authors/Creators

Description

Abstract: General-purpose probabilistic programming makes Bayesian data analysis broadly accessible,

but its computational cost can become prohibitive as model dimension grows. The R package hobbs

(High dimensiOnal Bayesian omniBus Sampler) is a probabilistic programming language and system

designed to make high-dimensional Bayesian analysis practical by trading modest syntactic complexity

for substantially greater computational efficiency. It allows reusable code for model-specific

computational strategies to be expressed directly within the model program. hobbs implements

adaptive scalar Metropolis-within-Gibbs sampling using parameter-local blocks that evaluate only

the posterior terms affected by each proposal. Deterministic caches update linear predictors and

other derived quantities incrementally, while optional distribution caches reduce repeated numerical

calculations. The R interface translates model programs into compiled C code, while a reusable Rust

engine performs sampling and writes posterior draws and diagnostics. Two high-dimensional case

studies demonstrate how these features support models with tens of thousands to more than one

hundred thousand parameters within a single general modeling framework. Together, these results

show that hobbs can retain the flexibility of general-purpose probabilistic programming while making

large, computationally intensive Bayesian models practical.

Files

GLMM_model_diagram.pdf

Files (1.1 MB)

Name Size
md5:94befb07330f84c4f3048985cb217c61
9.1 kB Download
md5:0475dcbdb8afd68aabad7163bc9084a5
39.6 kB Download
md5:1d4d35d39c5a7dadba8beebd7cd7a687
192.2 kB Preview Download
md5:486ed5701d32e04cf9cea2388e0312c9
155.7 kB Preview Download
md5:65c715a62786d1d69ae5bf1e9901c16e
65.8 kB Download
md5:0ad6fb5c5975e890da6d8c9b84c9d00a
6.3 kB Download
md5:bbd08a59fe2b1566fe65fa47393c3e9e
471.2 kB Preview Download
md5:2b710e95a283c9a4acc67dd08cbbd02f
59.6 kB Download
md5:e004339c3dfa5a6a9a3db0c96617d53e
66.0 kB Download

Additional details

Software

Repository URL
https://github.com/hobbs-dev/hobbs
Programming language
R
Development Status
Active