← Back to home
Comparison · Analytics

DHARMa vs tulpaRatio

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

Shared themes:r-package

DHARMa vs tulpaRatio: at a glance

FeatureDHARMatulpaRatio
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesresidual-diagnostics, glmm, breaking-change, bayesianbayesian-inference, hmc-nuts, spatial-statistics, performance
Last editorial update1h ago19m ago
WebsiteVisit →Visit →

What is DHARMa?

DHARMa changed how GLMM residuals are simulated, so the same code now returns different numbers.

DHARMa generates scaled quantile residuals for fitted GLMMs and runs the dispersion, uniformity, and autocorrelation tests built on them. Version 0.5.0 changed the default simulation for hierarchical models from the model's own default, mostly unconditional, to conditional simulation, and states plainly that residuals will differ from those computed by older versions. The same release added brms to the supported model set and reworked how predictors are passed to plotting and testing functions.

Read the full DHARMa trajectory →

What is tulpaRatio?

A Bayesian ratio-modelling package that threw out its Stan dependency and wrote its own sampler

ratiod models ratios, rates and proportions hierarchically, with the stated position that a ratio is a derived quantity and inference should run on the latent numerator and denominator processes rather than their quotient. The 1.0.0 release shipped a native HMC/NUTS backend, removing the Stan dependency that packages in this space normally take as given. Everything since has been sampler optimisation, benchmarked against the Stan implementations it replaced.

Read the full tulpaRatio trajectory →

DHARMa vs tulpaRatio: editorial side-by-side

D
DHARMa
ANALYTICS
0.0

DHARMa changed how GLMM residuals are simulated, so the same code now returns different numbers.

◆ Current state

DHARMa generates scaled quantile residuals for fitted GLMMs and runs the dispersion, uniformity, and autocorrelation tests built on them. Version 0.5.0 changed the default simulation for hierarchical models from the model's own default, mostly unconditional, to conditional simulation, and states plainly that residuals will differ from those computed by older versions. The same release added brms to the supported model set and reworked how predictors are passed to plotting and testing functions.

◆ Where it's heading

The package has spent several releases widening which model backends it can diagnose, from glmmTMB through mgcv, phylolm and now brms, while methodological work has gone into handling correlated residuals via the rotation argument. Version 0.5.0 shifts from adding coverage to changing defaults for statistical power. The formula interface arriving across plotResiduals, testCategorical, testQuantiles and the autocorrelation tests suggests the API is being unified rather than extended function by function.

◆ Prediction

The next releases will likely broaden brms support past the simple-model restriction and continue converting remaining functions to the formula interface.

T
tulpaRatio
ANALYTICS
0.0

A Bayesian ratio-modelling package that threw out its Stan dependency and wrote its own sampler

◆ Current state

ratiod models ratios, rates and proportions hierarchically, with the stated position that a ratio is a derived quantity and inference should run on the latent numerator and denominator processes rather than their quotient. The 1.0.0 release shipped a native HMC/NUTS backend, removing the Stan dependency that packages in this space normally take as given. Everything since has been sampler optimisation, benchmarked against the Stan implementations it replaced.

◆ Where it's heading

The feed reads as one architectural bet followed by the work to justify it. After the native backend landed, the releases are a steady march of gradient and adaptation work — hand-coded gradients for more model families, L-BFGS mass matrix adaptation, an O2 build — each measured as a speed multiple against Stan. Coverage is tracked openly as a fraction (48 of 60 hand-coded configs), and unresolved problems are named rather than buried, including a deferred GP spatial bug.

◆ Prediction

The hand-coded gradient coverage count is the visible backlog, so the next releases most likely close the remaining configs and resolve the GP spatial issue that the benchmark release explicitly deferred.

Alternatives to DHARMa and tulpaRatio

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 DHARMa or tulpaRatio.

See all DHARMa alternatives → · See all tulpaRatio alternatives →

Recent activity from DHARMa and tulpaRatio

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

  1. 2mo agoDHARMaConditional simulation becomes the GLMM default, changing residuals
  2. 6mo agotulpaRatioHand-coded gradients reach binomial zero-inflated and hurdle models
  3. 6mo agotulpaRatioGaussian process sampling reaches roughly 4x Stan
  4. 7mo agotulpaRatioL-BFGS mass matrix adaptation for MSGP models
  5. 7mo agotulpaRatioBenchmarks published for 35 of 40 model configurations
  6. 7mo agotulpaRatioFirst stable release ships a native HMC/NUTS backend, no Stan required
  7. 1y agoDHARMaDHARMa 0.4.7
  8. 3y agoDHARMaDHARMa 0.4.6
  9. 4y agoDHARMaDHARMa 0.4.5
  10. 4y agoDHARMaDHARMa 0.4.4
  11. 5y agoDHARMaDHARMa 0.4.3

Frequently asked questions

What is the difference between DHARMa and tulpaRatio?

Both compete on the same themes — r-package — within Analytics. DHARMa and tulpaRatio 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 DHARMa better than tulpaRatio?

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

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

What are the best alternatives to tulpaRatio?

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