Package: combreg 0.2.0

Hugh Zheng

combreg: Bayesian Regression for Combinatorial Response Data

Bayesian regression whose response data are integer-valued vectors subject to combinatorial constraints in the form of Ay<=b. Implements the Metropolis-Hastings-within-Gibbs sampler of Zheng et al. (2026+) <doi:10.48550/arXiv.2504.11630>, an unconstrained probit baseline for comparison, benchmarking helpers, MCMC and regression diagnostics (effective sample sizes, split-Rhat, structured reports), plotting methods (trace, autocorrelation, violin, effective-sample-size, sampling-efficiency, residual heat map), and utilities for constraint validation (total unimodularity, feasibility) and data simulation.

Authors:Hugh Zheng [aut, cre, cph]

combreg_0.2.0.tar.gz
combreg_0.2.0.zip(r-4.7-x86_64)combreg_0.2.0.zip(r-4.7-arm64)combreg_0.2.0.zip(r-4.6-x86_64)combreg_0.2.0.zip(r-4.6-arm64)
combreg_0.2.0.tar.gz(r-4.7-arm64)combreg_0.2.0.tar.gz(r-4.7-x86_64)combreg_0.2.0.tar.gz(r-4.6-arm64)combreg_0.2.0.tar.gz(r-4.6-x86_64)
combreg_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
combreg/json (API)

# Install 'combreg' in R:
install.packages('combreg', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/yuzh98/combreg/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

openblascppopenmp

3.00 score 6 scripts 184 downloads 20 exports 5 dependencies

Last updated from:0261705b6b. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK181
linux-devel-x86_64OK208
source / vignettesOK270
linux-release-arm64OK183
linux-release-x86_64OK220
windows-devel-arm64OK301
windows-devel-x86_64OK322
windows-release-arm64OK333
windows-release-x86_64OK299
wasm-releaseOK103

Exports:coef_precomputecrrcrr_benchmarkcrr_constraintscrr_controlcrr_diagnosticscrr_esscrr_ppccrr_priorcrr_rhatdraw_utilitydual_feasibleinit_dualis_feasibleis_tumrandom_constraintssample_dualsample_utilitysimulate_crrupdate_coef

Dependencies:codalatticeRcppRcppArmadillotruncnorm

Diagnostics and benchmarking
Setup: simulate and fit | The diagnostics report | Reading the goodness-of-fit checks | Standalone ESS and split-Rhat | Standalone posterior predictive checks | Reading the report table | Plotting methods | Benchmarking against the unconstrained baseline | A non-trivial example: bipartite matching

Last update: 2026-07-29
Started: 2026-07-29

Introduction to combreg
The model | Defining constraints | Simulating data and fitting | Why constraints matter | The adaptive zeta_block controller | Customizing the sampler | Formula interface | Building custom models from primitives

Last update: 2026-07-29
Started: 2026-07-29