Package: combreg 0.2.0

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.1080/01621459.2026.2714575>, 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.zip(r-4.5-x86_64)
combreg_0.2.0.tgz(r-4.6-x86_64)combreg_0.2.0.tgz(r-4.6-arm64)combreg_0.2.0.tgz(r-4.5-x86_64)combreg_0.2.0.tgz(r-4.5-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://yuzh98.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

4.70 score 6 scripts 234 downloads 20 exports 5 dependencies

Last updated from:1a400d3145. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK247
linux-devel-x86_64OK253
source / vignettesOK200
linux-release-arm64OK241
linux-release-x86_64OK191
macos-release-arm64OK279
macos-release-x86_64OK326
macos-oldrel-arm64OK271
macos-oldrel-x86_64OK616
windows-devel-arm64OK442
windows-devel-x86_64OK316
windows-release-arm64OK433
windows-release-x86_64OK285
windows-oldrel-x86_64OK329
wasm-releaseOK107

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-20
Started: 2026-07-12

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-20
Started: 2026-07-12