← Back to home
Comparison · Analytics

medsim vs rmediation

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

Shared themes:mediation analysisr package

medsim vs rmediation: at a glance

Featuremedsimrmediation
SectorAnalyticsAnalytics
Velocity score6.33.8
Sparks · 30d11
Top themesmediation analysis, monte carlo, reproducibility, hpcmediation analysis, numerical integration, correctness, s7 classes
Last editorial update53m ago53m ago
WebsiteVisit →Visit →

What is medsim?

medsim is turning simulation runs into auditable artifacts, not just fast ones.

medsim is a young Monte Carlo harness for mediation-analysis simulation studies, first tagged in May 2026 and already at 0.5.1. The last two releases moved the package's center of gravity from running simulations to proving a run is trustworthy: chunk provenance headers, a single-SHA assertion across chunks, and a pilot-subset positive control. The statistical work sits in the missing-data line added in 0.2.0 — Fleishman non-normal generators, rate-calibrated MCAR/MAR/MNAR amputation, and a validated D4-stacked MBCO estimator.

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

medsim vs rmediation: editorial side-by-side

M
medsim
ANALYTICS
6.3

medsim is turning simulation runs into auditable artifacts, not just fast ones.

◆ Current state

medsim is a young Monte Carlo harness for mediation-analysis simulation studies, first tagged in May 2026 and already at 0.5.1. The last two releases moved the package's center of gravity from running simulations to proving a run is trustworthy: chunk provenance headers, a single-SHA assertion across chunks, and a pilot-subset positive control. The statistical work sits in the missing-data line added in 0.2.0 — Fleishman non-normal generators, rate-calibrated MCAR/MAR/MNAR amputation, and a validated D4-stacked MBCO estimator.

◆ Where it's heading

The arc is toward defensible HPC runs: each 0.5.x gate closes a way a cluster job could silently produce wrong output, and 0.5.1 extends the same suspicion to the estimator itself by exposing the branch disagreement the standard ARIV averages away. Releases are cadenced against discovered defects rather than a roadmap — 0.5.0 cites seven findings from a pre-integration review, and 0.5.1 cites an adversarial review of 0.5.0. The audit surface is widening faster than the method surface.

◆ Prediction

The collapse-audit exclusion list has now been patched twice for method-specific diagnostic columns, so the next likely move is a contract letting methods declare their own discrete fields instead of medsim naming them centrally.

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

See all medsim alternatives → · See all rmediation alternatives →

Recent activity from medsim and rmediation

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

  1. 7h agomedsimmedsim 0.5.1 — fixed-branch ARIV
  2. 8h agormediationv1.7.0 — pprodnormal3() correctness fix
  3. 16d agomedsimmedsim 0.5.0 — chunked-run integrity
  4. 1mo agormediationp_prod3() renamed into the pprodnormal family
  5. 1mo agormediationProductNormal3: exact CDF for a product of three normals
  6. 1mo agomedsimseed= now honored in sequential fallback paths
  7. 1mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  8. 2mo agomedsimDocs and dependency metadata synced to the 0.2.0 state
  9. 2mo agomedsimMissing-data mediation: amputation, non-normal DGMs, D4-MBCO
  10. 3mo agomedsimv0.1.1 — cleanup release

Frequently asked questions

What is the difference between medsim and rmediation?

Both compete on the same themes — mediation analysis, r package — within Analytics. medsim 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 medsim better than rmediation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. medsim 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 medsim?

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