← Back to home
Comparison · Infra & APIs

FoReco vs gkwdist

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

Shared themes:r-package

FoReco vs gkwdist: at a glance

FeatureFoRecogkwdist
SectorInfra & APIsInfra & APIs
Velocity score0.02.5
Sparks · 30d00
Top themesforecasting, hierarchical-reconciliation, time-series, s3-classesr-package, statistical-distributions, numerical-stability, mle
Last editorial update59m 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 gkwdist?

gkwdist keeps finding that its distributions were returning the wrong numbers.

The package implements the Generalized Kumaraswamy distribution family and its sub-families. The current release fixes six numerical defects, the most serious being that dgkw() returned zero for every input because internal helpers collided with same-named functions in R's public Rmath.h header. Log-likelihoods for three sub-families were also wrong for data near zero due to clamping instead of working in log space.

Read the full gkwdist trajectory →

FoReco vs gkwdist: 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.

G
gkwdist
INFRA · APIS
2.5

gkwdist keeps finding that its distributions were returning the wrong numbers.

◆ Current state

The package implements the Generalized Kumaraswamy distribution family and its sub-families. The current release fixes six numerical defects, the most serious being that dgkw() returned zero for every input because internal helpers collided with same-named functions in R's public Rmath.h header. Log-likelihoods for three sub-families were also wrong for data near zero due to clamping instead of working in log space.

◆ Where it's heading

Every release in this window is correctness work with an unchanged public API — critical MLE fixes in 1.1.3, a CRAN timing-test patch in 1.1.4, numerical corrections in 1.1.5. The recurring theme is that analytically correct formulas were being defeated by implementation details: name collisions, sign errors returning negative infinity where positive was required, and clamping thresholds that destroyed precision in the tails. Test infrastructure added in 1.1.2 validates analytical derivatives against numerical differentiation, which is how several of these were caught.

◆ Prediction

Expect further validation-driven fixes rather than new distributions, since the derivative-checking suite added earlier is still surfacing defects in existing routines.

Alternatives to FoReco and gkwdist

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 gkwdist.

See all FoReco alternatives → · See all gkwdist alternatives →

Recent activity from FoReco and gkwdist

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

  1. 7d agogkwdistv1.1.5 — Numerical correctness fixes and componentwise derivative validation
  2. 1mo agoFoRecoStrict argument validation and a pruned help index
  3. 1mo agoFoRecoEvery reconciliation function now returns a shared foreco object
  4. 2mo agogkwdistv1.1.4 — CRAN fix: skip timing-based tests on CRAN
  5. 3mo agogkwdistv1.1.3 — Critical MLE Bug Fixes & Numerical Corrections
  6. 3mo agoFoRecoBootstrap functions gain xreg; simulate() argument bug fixed
  7. 5mo agoFoRecoGaussian and sample-based probabilistic reconciliation added
  8. 7mo agogkwdistAdds analytical derivative validation across all sub-families
  9. 8mo agogkwdistRefactors the C++ backend around stable log-space utilities
  10. 1y agoFoRecoBounded reconciliation and an oracle shrunk covariance estimator
  11. 1y agoFoRecoBreaking rename: cs, te and ct prefixes across all functions

Frequently asked questions

What is the difference between FoReco and gkwdist?

Both compete on the same themes — r-package — within Infra & APIs. gkwdist 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 gkwdist?

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

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