← Back to home
Comparison · Analytics

bayestools vs rmediation

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

bayestools vs rmediation: at a glance

Featurebayestoolsrmediation
SectorAnalyticsAnalytics
Velocity score0.03.8
Sparks · 30d01
Top themesr-package, bayesian, jags, priorsmediation analysis, numerical integration, correctness, s7 classes
Last editorial update1h ago4h ago
WebsiteVisit →Visit →

What is bayestools?

The JAGS toolkit under RoBMA, shipping the standardization machinery its downstream rewrite needed

BayesTools provides the shared JAGS fitting, prior and summary infrastructure that the author's meta-analysis packages build on. The 0.2.x line filled in modeling primitives — prior_mixture() and mixed-posterior objects in 0.2.18, expression-valued priors and lme4-style uncorrelated random effects in 0.2.20, then a run of small diagnostic fixes for mixture and spike-and-slab priors. Version 0.3.0 in May 2026 adds automatic standardization of continuous predictors, default priors for unspecified factor and continuous terms, and functions to transform prior and posterior samples back to the original scale.

Read the full bayestools 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 →

bayestools vs rmediation: editorial side-by-side

B
bayestools
ANALYTICS
0.0

The JAGS toolkit under RoBMA, shipping the standardization machinery its downstream rewrite needed

◆ Current state

BayesTools provides the shared JAGS fitting, prior and summary infrastructure that the author's meta-analysis packages build on. The 0.2.x line filled in modeling primitives — prior_mixture() and mixed-posterior objects in 0.2.18, expression-valued priors and lme4-style uncorrelated random effects in 0.2.20, then a run of small diagnostic fixes for mixture and spike-and-slab priors. Version 0.3.0 in May 2026 adds automatic standardization of continuous predictors, default priors for unspecified factor and continuous terms, and functions to transform prior and posterior samples back to the original scale.

◆ Where it's heading

This package's releases are best read against what depends on them. The 0.2.x fixes track features appearing in RoBMA one version later, and 0.3.0 landed a single day before RoBMA 4.0.0 — the standardization and sample-transformation functions are the substrate that rewrite needed. The direction of the work is toward sensible defaults: default priors by predictor type, automatic standardization for sampling stability, and transformation back to interpretable scale so the convenience does not cost the user their units.

◆ Prediction

Given how tightly its releases track downstream needs, the next version is most likely driven by gaps surfacing in RoBMA 4.0.x rather than by independent feature work.

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

See all bayestools alternatives → · See all rmediation alternatives →

Recent activity from bayestools and rmediation

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

  1. 11h agormediationv1.7.0 — pprodnormal3() correctness fix
  2. 1mo agormediationp_prod3() renamed into the pprodnormal family
  3. 1mo agormediationProductNormal3: exact CDF for a product of three normals
  4. 1mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  5. 3mo agobayestoolsAdds automatic predictor standardization and type-based default priors
  6. 8mo agobayestoolsBayesTools 0.2.23
  7. 8mo agobayestoolsBayesTools 0.2.22
  8. 11mo agobayestoolsBayesTools 0.2.21
  9. 1y agobayestoolsBayesTools 0.2.20
  10. 1y agobayestoolsBayesTools 0.2.19

Frequently asked questions

What is the difference between bayestools and rmediation?

They serve adjacent needs but don't currently overlap on shipped themes. rmediation is currently shipping more aggressively (velocity 3.8 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 bayestools better than rmediation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. rmediation is currently shipping more aggressively (velocity 3.8 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 bayestools?

Top bayestools alternatives in Analytics are ranked by recent ship velocity. Browse the "bayestools alternatives" section above for the current picks, or visit /alternatives/bayestools 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.