← Back to home
Comparison · Analytics

mrbayes vs socialmixr

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

mrbayes vs socialmixr: at a glance

Featuremrbayessocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesmendelian-randomization, bayesian-inference, stan, jagscontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update56m ago3h ago
WebsiteVisit →Visit →

What is mrbayes?

mrbayes spent 2026 auditing its own Bayesian MR estimators for coding errors.

mrbayes wraps Stan and JAGS implementations of Bayesian Mendelian randomization estimators — IVW, MR-Egger, radial Egger, and their multivariable forms. Most of the visible history is packaging work: dependency trimming, conditional examples so the package installs where JAGS will not compile, a maintainer handover. The 0.5.3 release in July 2026 breaks that pattern with a dense list of fixes inside the model code itself.

Read the full mrbayes trajectory →

What is socialmixr?

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

Read the full socialmixr trajectory →

mrbayes vs socialmixr: editorial side-by-side

M
mrbayes
ANALYTICS
0.0

mrbayes spent 2026 auditing its own Bayesian MR estimators for coding errors.

◆ Current state

mrbayes wraps Stan and JAGS implementations of Bayesian Mendelian randomization estimators — IVW, MR-Egger, radial Egger, and their multivariable forms. Most of the visible history is packaging work: dependency trimming, conditional examples so the package installs where JAGS will not compile, a maintainer handover. The 0.5.3 release in July 2026 breaks that pattern with a dense list of fixes inside the model code itself.

◆ Where it's heading

The package has moved from packaging upkeep into a correctness-audit phase. 0.5.3 fixes a hardcoded three-exposure loop in MVMR-Egger reporting, a broken joint-prior branch, a sigma parameterization error in radial Egger, and several prior specifications — the profile of a maintainer reading their own model files closely rather than responding to bug reports. Platform work continues underneath: an R 4.3.0 floor inherited through a transitive dependency chain, and segfault fixes on macOS ARM.

◆ Prediction

Expect further audit-driven patches to the remaining rjags and Stan model files rather than new estimators; the fixes in 0.5.3 cluster in the Egger variants, which suggests that is where the reading is still in progress.

S
socialmixr
ANALYTICS
0.0

socialmixr breaks its one-shot contact_matrix() call into a composable pipeline.

◆ Current state

socialmixr builds age-structured social contact matrices from survey data for infectious-disease modelling. Version 0.6.0 replaces the monolithic contact_matrix() entry point with a chain of composable steps — filter, assign age groups, weigh, compute, then symmetrise, split or convert per capita — behind a new contact_matrix S3 class. Survey downloading is being handed off to a separate contactsurveys package.

◆ Where it's heading

The arc from 0.4.0 to 0.6.0 is decomposition: first extracting helpers like assign_age_groups(), then moving downloads out of the package, and now exposing every stage of matrix construction as its own verb. Breaking changes are accepted at each step — preserved empty age groups, arrays instead of xtabs, [N,Inf) labels — with the new class inheriting from list so existing $matrix access keeps working. The label change is explicitly aligned with the contactmatrix package.

◆ Prediction

Expect the deprecated dotted argument names and the remaining in-package download paths to be removed once the contactsurveys handoff completes, leaving contact_matrix() as a thin wrapper over the pipeline.

Alternatives to mrbayes and socialmixr

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 mrbayes or socialmixr.

See all mrbayes alternatives → · See all socialmixr alternatives →

Recent activity from mrbayes and socialmixr

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

  1. 1mo agomrbayesEstimator audit fixes MVMR-Egger loops and radial Egger sigma
  2. 3mo agosocialmixrContact matrices become a composable pipeline
  3. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  4. 6mo agosocialmixrAge-group assignment and population lookup split out
  5. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  6. 1y agomrbayesMVMR rjags example gated on rjags being installed
  7. 1y agomrbayesExamples and tests skip when rstan or rjags is missing
  8. 1y agomrbayespkgdown site updated
  9. 1y agomrbayesHelper command added for installing JAGS
  10. 1y agomrbayesDependency surface trimmed; maintainer handover
  11. 2y agosocialmixrcontact_matrix() now takes survey objects only
  12. 2y agosocialmixrTest fixes for machine-precision failures

Frequently asked questions

What is the difference between mrbayes and socialmixr?

They serve adjacent needs but don't currently overlap on shipped themes. mrbayes and socialmixr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is mrbayes better than socialmixr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mrbayes and socialmixr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to mrbayes?

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

What are the best alternatives to socialmixr?

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