← Back to home
Comparison · Analytics

glmbayes vs rmediation

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

glmbayes vs rmediation: at a glance

Featureglmbayesrmediation
SectorAnalyticsAnalytics
Velocity score6.33.8
Sparks · 30d11
Top themesbayesian-statistics, generalized-linear-models, opencl, r-packagemediation analysis, numerical integration, correctness, s7 classes
Last editorial update1h ago2h 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 rmediation?

RMediation shipped a three-normal CDF, then found it was silently wrong.

RMediation is a long-standing CRAN package for confidence intervals on mediated effects, now built on an S7 class hierarchy. Over eight weeks it added ProductNormal3 for serial indirect effects of the form a1*a2*b, folded the engine into the existing pprodnormal naming family, and then replaced that engine outright after finding it returned wrong probabilities without warning. The dev branch is at 1.7.0; CRAN still serves 1.6.1.

Read the full rmediation trajectory →

glmbayes vs rmediation: 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.

R
rmediation
ANALYTICS
3.8

RMediation shipped a three-normal CDF, then found it was silently wrong.

◆ Current state

RMediation is a long-standing CRAN package for confidence intervals on mediated effects, now built on an S7 class hierarchy. Over eight weeks it added ProductNormal3 for serial indirect effects of the form a1*a2*b, folded the engine into the existing pprodnormal naming family, and then replaced that engine outright after finding it returned wrong probabilities without warning. The dev branch is at 1.7.0; CRAN still serves 1.6.1.

◆ Where it's heading

The package is moving from a hand-rolled numerical layer to one that checks itself: the new default integrator escalates its node count until successive rules agree, warns when it hits the cap instead of returning a number, and exposes a diagnostics argument for the convergence estimate. The correctness fix went to dev ahead of the CRAN window rather than being held for it, which suggests wrong-answer bugs are treated as release-blocking regardless of cadence. Serial mediation is where the new surface area is concentrated.

◆ Prediction

1.7.0 exists specifically to land before CRAN's 2026-08-21 update window, so the next move is a CRAN submission promoting it to main; whether hcubature survives past that as a cross-check option is the open question.

Alternatives to glmbayes and rmediation

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 rmediation.

See all glmbayes alternatives → · See all rmediation alternatives →

Recent activity from glmbayes and rmediation

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

  1. 9h agormediationv1.7.0 — pprodnormal3() correctness fix
  2. 10d agoglmbayesBack on CRAN after a configure policy fix
  3. 22d agoglmbayesOpenCL split out to nmathopencl; insight and bayestestR integration
  4. 1mo agormediationp_prod3() renamed into the pprodnormal family
  5. 1mo agormediationProductNormal3: exact CDF for a product of three normals
  6. 1mo agoglmbayesMulti-response models and conjugate GLM priors
  7. 1mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  8. 3mo agoglmbayesOpenCL kernels restructured and a binomial GPU bug fixed
  9. 3mo agoglmbayesVersion bump for CRAN resubmission
  10. 1y agoglmbayesCRAN-ready beta with the core S3 interface

Frequently asked questions

What is the difference between glmbayes and rmediation?

They serve adjacent needs but don't currently overlap on shipped themes. glmbayes is currently shipping more aggressively (velocity 6.3 vs 3.8), with 1 editorial sparks in the last 30 days against 1. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is glmbayes better than rmediation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. glmbayes is currently shipping more aggressively (velocity 6.3 vs 3.8), with 1 editorial sparks in the last 30 days against 1. 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 rmediation?

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