← Back to home
Comparison · Analytics

SimInf vs socialmixr

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

Shared themes:epidemiology

SimInf vs socialmixr: at a glance

FeatureSimInfsocialmixr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesepidemiology, stochastic-simulation, bayesian-inference, r-packagecontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update1h ago8h ago
WebsiteVisit →Visit →

What is SimInf?

SimInf 10.0 turns an epidemic simulator into a tool that fits models to real time series

SimInf simulates stochastic disease spread over networks of nodes, with a model parser that compiles user-specified transitions to C. Version 10.0.0 was a deliberate major break: the SimInf_pfilter S4 class and the bootstrap filtering interface were redesigned, a replicates slot was added to SimInf_model, a multi-particle variant of the split-step solver arrived, and the package gained Particle Markov Chain Monte Carlo fitting against observed time series. The follow-up 10.1.0 is a single zero-length memcpy fix found by CRAN's M1 checks.

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

SimInf vs socialmixr: editorial side-by-side

S
SimInf
ANALYTICS
0.0

SimInf 10.0 turns an epidemic simulator into a tool that fits models to real time series

◆ Current state

SimInf simulates stochastic disease spread over networks of nodes, with a model parser that compiles user-specified transitions to C. Version 10.0.0 was a deliberate major break: the SimInf_pfilter S4 class and the bootstrap filtering interface were redesigned, a replicates slot was added to SimInf_model, a multi-particle variant of the split-step solver arrived, and the package gained Particle Markov Chain Monte Carlo fitting against observed time series. The follow-up 10.1.0 is a single zero-length memcpy fix found by CRAN's M1 checks.

◆ Where it's heading

The package has been moving from simulation toward inference for several releases. The 9.x line built the input side — utilities for cleaning raw individual event data, variables and enumeration constants in the model parser — and 10.0.0 closed the loop by making the simulator fittable to data through PMCMC. The version number was incremented precisely because that required breaking the particle filter interface.

◆ Prediction

Fitting machinery this new usually needs a second pass on usability, so the next releases most likely focus on diagnostics and documentation around PMCMC rather than on the simulation core, which has been stable across the whole 9.x and 10.x history.

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

See all SimInf alternatives → · See all socialmixr alternatives →

Recent activity from SimInf and socialmixr

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

  1. 3mo agosocialmixrContact matrices become a composable pipeline
  2. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  3. 6mo agosocialmixrAge-group assignment and population lookup split out
  4. 9mo agoSimInfAvoid memcpy on zero-length continuous state vector
  5. 9mo agoSimInfPMCMC fitting arrives; particle filter interface redesigned
  6. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  7. 2y agoSimInfDocumentation link anchors; parser dependency fix
  8. 2y agoSimInfModel parser gains variables and enumeration constants
  9. 2y agosocialmixrcontact_matrix() now takes survey objects only
  10. 2y agoSimInfindividual_events() added for raw event data cleaning
  11. 2y agosocialmixrTest fixes for machine-precision failures
  12. 3y agoSimInfConfigure script uses R to locate the compiler

Frequently asked questions

What is the difference between SimInf and socialmixr?

Both compete on the same themes — epidemiology — within Analytics. SimInf 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 SimInf better than socialmixr?

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

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