← Back to home
Comparison · Infra & APIs

FoReco vs sps

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

Shared themes:r-package

FoReco vs sps: at a glance

FeatureFoRecosps
SectorInfra & APIsInfra & APIs
Velocity score0.02.5
Sparks · 30d00
Top themesforecasting, hierarchical-reconciliation, time-series, s3-classesr-package, survey-sampling, sequential-poisson, performance
Last editorial update53m ago1d ago
WebsiteVisit →Visit →

What is FoReco?

Forecast reconciliation with a real object model, five years after it started returning bare matrices.

FoReco reconciles hierarchical forecasts across cross-sectional, temporal, and cross-temporal frameworks, and now covers both point and probabilistic reconciliation. The 1.3.0 release gave every reconciliation function a shared foreco S3 class carrying framework, function, forecast type, and reconciliation metadata, which replaced the loose attribute-and-helper pattern the package had used since 1.0.0. The follow-up 1.3.1 turned the same attention on the API's edges: strict argument validation with errors that name the expected and supplied values, and a help index pruned down to user-facing functions only.

Read the full FoReco trajectory →

What is sps?

sps keeps sanding down sequential Poisson sampling rather than adding to it.

The package implements sequential Poisson sampling for survey design, covering inclusion probabilities, proportional allocation, replicate weights, and take-all strata. Recent releases are small and tightly scoped: a divisor method helper, an iterator that draws a sample one unit at a time, automatic selection of the replicate-weight parameter, and repeated performance work on inclusion probability calculation.

Read the full sps trajectory →

FoReco vs sps: editorial side-by-side

F
FoReco
INFRA · APIS
0.0

Forecast reconciliation with a real object model, five years after it started returning bare matrices.

◆ Current state

FoReco reconciles hierarchical forecasts across cross-sectional, temporal, and cross-temporal frameworks, and now covers both point and probabilistic reconciliation. The 1.3.0 release gave every reconciliation function a shared foreco S3 class carrying framework, function, forecast type, and reconciliation metadata, which replaced the loose attribute-and-helper pattern the package had used since 1.0.0. The follow-up 1.3.1 turned the same attention on the API's edges: strict argument validation with errors that name the expected and supplied values, and a help index pruned down to user-facing functions only.

◆ Where it's heading

The package is completing a reversal it started in 1.0.0. That release simplified outputs to plain matrices and pushed metadata into attributes reachable via recoinfo(); 1.3.0 removed recoinfo() outright and put the structure back as a class with components(), summary(), and plot() methods. The direction is toward being infrastructure rather than a function library — the class is exported through new_foreco_class() and a sibling package has already adopted it. Method coverage has meanwhile broadened from optimal combination into non-negative algorithms, bounded reconciliation, and Gaussian and sample-based probabilistic variants.

◆ Prediction

The soft-deprecated res2matrix() is flagged for removal, so a subsequent release should finish that cleanup; with the class now exported, expect more methods to hang off foreco objects rather than more top-level functions.

S
sps
INFRA · APIS
2.5

sps keeps sanding down sequential Poisson sampling rather than adding to it.

◆ Current state

The package implements sequential Poisson sampling for survey design, covering inclusion probabilities, proportional allocation, replicate weights, and take-all strata. Recent releases are small and tightly scoped: a divisor method helper, an iterator that draws a sample one unit at a time, automatic selection of the replicate-weight parameter, and repeated performance work on inclusion probability calculation.

◆ Where it's heading

Development is consolidation rather than expansion. Most releases either speed up an existing routine or remove a decision the user previously had to make by hand, such as picking the smallest parameter that keeps replicate weights non-negative. Documentation and tooling get comparable attention to the algorithms, with a dedicated vignette on inclusion probabilities and a recent switch of test and documentation infrastructure. The API surface has been essentially stable across the window.

◆ Prediction

Expect continued small ergonomic and performance releases against the existing function set rather than new sampling designs, which is the pattern every release in this window follows.

Alternatives to FoReco and sps

Other Infra & APIs 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 FoReco or sps.

See all FoReco alternatives → · See all sps alternatives →

Recent activity from FoReco and sps

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

  1. 1mo agospsDocumentation polish; switches to tinytest and litedown
  2. 1mo agoFoRecoStrict argument validation and a pruned help index
  3. 1mo agoFoRecoEvery reconciliation function now returns a shared foreco object
  4. 3mo agoFoRecoBootstrap functions gain xreg; simulate() argument bug fixed
  5. 5mo agoFoRecoGaussian and sample-based probabilistic reconciliation added
  6. 9mo agospsFixes extra argument handling in sps_iterator()
  7. 0y agospsAdds divisor_method() and a one-unit-at-a-time sampling iterator
  8. 1y agospsAdds an inclusion-probability vignette and faster partial sorting
  9. 1y agoFoRecoBounded reconciliation and an oracle shrunk covariance estimator
  10. 1y agospsAutomatic tau selection for replicate weights
  11. 1y agoFoRecoBreaking rename: cs, te and ct prefixes across all functions
  12. 2y agospsAdds becomes_ta() for take-all stratum sample sizes

Frequently asked questions

What is the difference between FoReco and sps?

Both compete on the same themes — r-package — within Infra & APIs. sps is currently shipping more aggressively (velocity 2.5 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 FoReco better than sps?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. sps is currently shipping more aggressively (velocity 2.5 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 Infra & APIs products to evaluate alongside.

What are the best alternatives to FoReco?

Top FoReco alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "FoReco alternatives" section above for the current picks, or visit /alternatives/foreco for the full list with editorial commentary on each.

What are the best alternatives to sps?

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