← Back to home
Comparison · Analytics

SSN2 vs TrialEmulation

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

Shared themes:r-package

SSN2 vs TrialEmulation: at a glance

FeatureSSN2TrialEmulation
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesspatial-statistics, stream-networks, kriging, large-datacausal-inference, target-trial-emulation, duckdb, maintenance
Last editorial update28m ago1h ago
WebsiteVisit →Visit →

What is SSN2?

Stream-network spatial models learning to run on data that no longer fits in memory

SSN2 fits spatial statistical models on stream networks, where covariance follows flow-connected distance along the network rather than straight-line distance. It is the maintained successor to the original SSN package, published through JOSS in 2024, and leans on spmodel for its underlying model machinery. Recent releases have concentrated on the constraint that binds this class of model hardest: the distance matrix.

Read the full SSN2 trajectory →

What is TrialEmulation?

Target trial emulation held steady by dependency maintenance, not new methods.

TrialEmulation implements target trial emulation from observational data, using duckdb to handle the expanded per-period datasets that approach generates. Every release in the visible window is upkeep: two consecutive releases removing the archived parglm dependency, two fixing tests against testthat updates, and two tracking duckdb sampling changes. No methodological work appears in the feed since before February 2025.

Read the full TrialEmulation trajectory →

SSN2 vs TrialEmulation: editorial side-by-side

S
SSN2
ANALYTICS
0.0

Stream-network spatial models learning to run on data that no longer fits in memory

◆ Current state

SSN2 fits spatial statistical models on stream networks, where covariance follows flow-connected distance along the network rather than straight-line distance. It is the maintained successor to the original SSN package, published through JOSS in 2024, and leans on spmodel for its underlying model machinery. Recent releases have concentrated on the constraint that binds this class of model hardest: the distance matrix.

◆ Where it's heading

The first year was about establishing credibility and interoperability — a JOSS review, geopackage import support, deprecation of the SSN-to-SSN2 bridge, marginal means through emmeans. The 2025 releases turn to scale, moving distance matrices onto disk via filematrix and routing estimation and prediction through the local approximation. The 0.4.0 default change is the visible consequence: the neighbourhood size rises from 100 to 200, buying accuracy now that the surrounding machinery can afford it.

◆ Prediction

With the large-data path established and its default just retuned, the next work most likely tightens that approximation further or extends it to the model classes the local argument does not yet cover.

T0.0

Target trial emulation held steady by dependency maintenance, not new methods.

◆ Current state

TrialEmulation implements target trial emulation from observational data, using duckdb to handle the expanded per-period datasets that approach generates. Every release in the visible window is upkeep: two consecutive releases removing the archived parglm dependency, two fixing tests against testthat updates, and two tracking duckdb sampling changes. No methodological work appears in the feed since before February 2025.

◆ Where it's heading

The package is being kept installable rather than extended. Its dependency surface, duckdb for storage, parglm for fitting, testthat for checks, generates most of the release traffic, and CRAN archiving parglm forced two separate releases three months apart to fully excise it. The version numbering, still in the 0.0.4.x range after years, suggests the maintainers do not consider the API settled enough to promote.

◆ Prediction

Further releases will most likely be triggered by upstream dependency changes; the entries give no signal on when methodological work resumes.

Alternatives to SSN2 and TrialEmulation

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 SSN2 or TrialEmulation.

See all SSN2 alternatives → · See all TrialEmulation alternatives →

Recent activity from SSN2 and TrialEmulation

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

  1. 4mo agoTrialEmulationDocumentation references to the archived parglm removed
  2. 7mo agoTrialEmulationparglm dependency dropped after CRAN archiving
  3. 9mo agoTrialEmulationTest fixes for updated testthat, plus link updates
  4. 9mo agoTrialEmulationCompatibility fixes ahead of testthat 3.3.0
  5. 9mo agoSSN2Local neighbourhood default doubled to 200
  6. 10mo agoSSN2partition_factor regression fixed, spmodel floor raised
  7. 0y agoSSN2On-disk distance matrices lift the large-data ceiling
  8. 1y agoTrialEmulationTests updated for duckdb 1.3.0 sampling; R 4.1 now required
  9. 1y agoTrialEmulationTests updated for duckdb 1.2.0 sampling changes
  10. 1y agoSSN2Numeric stability fix for beta-family models
  11. 2y agoSSN2Geopackage import support and the JOSS review release
  12. 2y agoSSN2Snapshot tag marking JOSS acceptance

Frequently asked questions

What is the difference between SSN2 and TrialEmulation?

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

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

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

What are the best alternatives to TrialEmulation?

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