← Back to home
Comparison · Analytics

rmediation vs simStateSpace

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

rmediation vs simStateSpace: at a glance

FeaturermediationsimStateSpace
SectorAnalyticsAnalytics
Velocity score3.80.0
Sparks · 30d10
Top themesmediation analysis, numerical integration, correctness, s7 classesstate-space-models, simulation, longitudinal-data, r-package
Last editorial update4h ago43m ago
WebsiteVisit →Visit →

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 →

What is simStateSpace?

State-space data simulation for R, filled in one function at a time

simStateSpace generates data from state-space models — discrete-time SSM and VAR, continuous-time linear SDE and Ornstein-Uhlenbeck — for use in simulation studies of longitudinal and intensive repeated-measures designs. Recent releases add moment and intercept helpers rather than new model families: SimMVN(), the LinSDE intercept functions, and consolidation of the four separate parameter-simulation functions into one. Release notes are terse, marked Patch, and typically name one or two functions.

Read the full simStateSpace trajectory →

rmediation vs simStateSpace: editorial side-by-side

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.

S
simStateSpace
ANALYTICS
0.0

State-space data simulation for R, filled in one function at a time

◆ Current state

simStateSpace generates data from state-space models — discrete-time SSM and VAR, continuous-time linear SDE and Ornstein-Uhlenbeck — for use in simulation studies of longitudinal and intensive repeated-measures designs. Recent releases add moment and intercept helpers rather than new model families: SimMVN(), the LinSDE intercept functions, and consolidation of the four separate parameter-simulation functions into one. Release notes are terse, marked Patch, and typically name one or two functions.

◆ Where it's heading

The package is being filled in methodically toward completeness across its four model families — whatever exists for the SSM side eventually appears for LinSDE and back again, as SSMInterceptEta/SSMInterceptY in 1.2.15 were followed by their LinSDE counterparts in 1.2.16. The other visible move was outward: bootstrap components were split into a separate bootStateSpace package, keeping this one to simulation alone. It sits in the same author's cluster of state-space and mediation packages, whose published methods papers the releases cite.

◆ Prediction

Expect the pattern to continue — small patch releases adding the missing counterpart function for a model family already served, with any larger capability likely spun out into its own package as bootstrapping was.

Alternatives to rmediation and simStateSpace

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

See all rmediation alternatives → · See all simStateSpace alternatives →

Recent activity from rmediation and simStateSpace

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

  1. 12h 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. 2mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  5. 4mo agosimStateSpaceLinSDE intercept helpers added; parameter simulators consolidated
  6. 6mo agosimStateSpaceSSM intercept functions added
  7. 10mo agosimStateSpacesimStateSpace 1.2.12
  8. 1y agosimStateSpaceLinSDECov() and LinSDEMean() added
  9. 1y agosimStateSpaceBootstrap components split into bootStateSpace
  10. 1y agosimStateSpaceParametric bootstrap functions across all four model families

Frequently asked questions

What is the difference between rmediation and simStateSpace?

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 rmediation better than simStateSpace?

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

What are the best alternatives to simStateSpace?

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