← Back to home
Comparison · Analytics

cfrnow vs socialmixr

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

Shared themes:epidemiology

cfrnow vs socialmixr: at a glance

Featurecfrnowsocialmixr
SectorAnalyticsAnalytics
Velocity score5.00.0
Sparks · 30d00
Top themesepidemiology, bayesian-modelling, cfr-estimation, r-packagecontact matrices, epidemiology, pipeline api, breaking changes
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is cfrnow?

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

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

cfrnow vs socialmixr: editorial side-by-side

C
cfrnow
ANALYTICS
5.0

A Bayesian real-time CFR estimator that now ships stratified fits and posterior-predictive checks

◆ Current state

cfrnow estimates case fatality ratios from line-list data while an outbreak is still running, using a Bayesian mixture-cure survival model registered as an `epidist` model type. Three releases in a month took it from first public release to stratified, partially-pooled fits with posterior-predictive checking. It leans on `distspec` for delay parameterisation, which reached CRAN alongside the 0.2.1 patch.

◆ Where it's heading

The arc runs from producing a single corrected CFR number toward supporting a full model-checking workflow. 0.2.0 added the pieces a modeller needs to defend an estimate: replicate line lists replayed through the real-time truncation, an ascertainment-ratio correction for when fatal and non-fatal cases enter the line list at different rates, and per-group CFRs from `brms` formulas. Delay coverage widened from LogNormal and Gamma to Weibull in the same release.

◆ Prediction

Expect the next release to keep widening covariate and pooling support rather than adding new outcome types, since every 0.2.0 addition extended the existing formula interface instead of replacing it.

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

See all cfrnow alternatives → · See all socialmixr alternatives →

Recent activity from cfrnow and socialmixr

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

  1. 5d agocfrnowdistspec dependency moves to CRAN
  2. 5d agocfrnowStratified CFR fits, Weibull delays, posterior-predictive checks
  3. 1mo agocfrnowFirst release: real-time CFR from a Bayesian mixture-cure model
  4. 3mo agosocialmixrContact matrices become a composable pipeline
  5. 6mo agosocialmixrPatch: load_survey() handles files without cont_id
  6. 6mo agosocialmixrAge-group assignment and population lookup split out
  7. 1y agosocialmixrFaster survey loading and cached Zenodo lookups
  8. 2y agosocialmixrcontact_matrix() now takes survey objects only
  9. 2y agosocialmixrTest fixes for machine-precision failures

Frequently asked questions

What is the difference between cfrnow and socialmixr?

Both compete on the same themes — epidemiology — within Analytics. cfrnow is currently shipping more aggressively (velocity 5.0 vs 0.0), with 0 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 cfrnow better than socialmixr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. cfrnow is currently shipping more aggressively (velocity 5.0 vs 0.0), with 0 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 cfrnow?

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