← Back to home
Comparison · Analytics

glmbayes vs treasury

A side-by-side editorial comparison of glmbayes and treasury — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

glmbayes vs treasury: at a glance

Featureglmbayestreasury
SectorAnalyticsAnalytics
Velocity score6.30.0
Sparks · 30d10
Top themesbayesian-statistics, generalized-linear-models, opencl, r-packagetreasury-rates, fixed-income, r-package, api-wrapper
Last editorial update1h ago40m ago
WebsiteVisit →Visit →

What is glmbayes?

A GPU-accelerated Bayesian GLM package buys its way into the standard R Bayesian toolchain

glmbayes fits Bayesian generalized linear models with optional OpenCL acceleration. The last four months moved it from a package with its own vocabulary to one that answers the insight and bayestestR generics the rest of the R Bayesian ecosystem is built on, while pushing the OpenCL kernels out into a separate nmathopencl dependency that carries CRAN Windows binaries. It returned to CRAN in August after an archival over a configure policy issue.

Read the full glmbayes trajectory →

What is treasury?

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

Read the full treasury trajectory →

glmbayes vs treasury: editorial side-by-side

G
glmbayes
ANALYTICS
6.3

A GPU-accelerated Bayesian GLM package buys its way into the standard R Bayesian toolchain

◆ Current state

glmbayes fits Bayesian generalized linear models with optional OpenCL acceleration. The last four months moved it from a package with its own vocabulary to one that answers the insight and bayestestR generics the rest of the R Bayesian ecosystem is built on, while pushing the OpenCL kernels out into a separate nmathopencl dependency that carries CRAN Windows binaries. It returned to CRAN in August after an archival over a configure policy issue.

◆ Where it's heading

The arc is about removing reasons not to use it. GPU support was previously blocked on Windows because the OpenCL kernels were vendored; splitting them into a CRAN package with binaries fixed that. The ecosystem work does the same thing for tooling — a glmb fit now responds to get_parameters, get_priors, simulate_prior and check_prior, so it drops into workflows built around easystats rather than requiring its own. The CRAN archival and the configure fixes that followed show how much of the effort goes into distribution rather than modelling.

◆ Prediction

get_priors() returning the full prior specification rather than a marginal table is the kind of detail that invites further bayestestR integration, and the diagnostic surface is the least built-out part of what has shipped so far.

T
treasury
ANALYTICS
0.0

A thin Treasury rates wrapper has stopped adding endpoints and started making its tables self-describing.

◆ Current state

treasury wraps the US Treasury's published rate feeds — bill rates, par yields, forward rates, long-term extrapolated rates, and the HQM and breakeven inflation curves — into one set of R functions. Since 0.3.0 every function returns a data.table, and 0.5.0 added optional on-disk response caching with a one-day default. The most recent release is about data fidelity rather than reach: identifying columns, correct maturity labels, and locale-safe date parsing.

◆ Where it's heading

Endpoint coverage looks essentially complete, so the work has moved to the metadata a downstream analyst needs to join and audit results — cusip and maturity_date on bill quotes, the feed's updated_at stamp, and the extrapolation factor behind 2002-2006 long-term rate estimates. Error handling is tightening in the same direction: an out-of-range month now fails with a message instead of quietly returning nothing. That is the profile of a wrapper moving from coverage to correctness, where the remaining bugs are the subtle ones that only surface in other people's locales.

◆ Prediction

Expect further column-level enrichment and input validation on the endpoints already covered rather than new data sources, since the structural pieces — data.table returns and caching — are already in place.

Alternatives to glmbayes and treasury

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either glmbayes or treasury.

See all glmbayes alternatives → · See all treasury alternatives →

Recent activity from glmbayes and treasury

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 10d agoglmbayesBack on CRAN after a configure policy fix
  2. 22d agoglmbayesOpenCL split out to nmathopencl; insight and bayestestR integration
  3. 1mo agotreasuryBill rates gain CUSIP and maturity date; locale bug fixed
  4. 1mo agoglmbayesMulti-response models and conjugate GLM priors
  5. 3mo agoglmbayesOpenCL kernels restructured and a binomial GPU bug fixed
  6. 3mo agoglmbayesVersion bump for CRAN resubmission
  7. 4mo agotreasuryOptional response caching, one day by default
  8. 11mo agotreasuryRate functions renamed to singular for consistency
  9. 1y agoglmbayesCRAN-ready beta with the core S3 interface
  10. 1y agotreasuryEvery function now returns a data.table
  11. 2y agotreasuryHQM, coupon-issue and breakeven inflation curves added

Frequently asked questions

What is the difference between glmbayes and treasury?

Both compete on the same themes — r-package — within Analytics. glmbayes is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is glmbayes better than treasury?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. glmbayes is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to glmbayes?

Top glmbayes alternatives in Analytics are ranked by recent ship velocity. Browse the "glmbayes alternatives" section above for the current picks, or visit /alternatives/glmbayes for the full list with editorial commentary on each.

What are the best alternatives to treasury?

Top treasury alternatives in Analytics are ranked by recent ship velocity. Browse the "treasury alternatives" section above for the current picks, or visit /alternatives/treasury for the full list with editorial commentary on each.