← Back to home
Comparison · Analytics

distributions3 vs quantities

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

Shared themes:r-package

distributions3 vs quantities: at a glance

Featuredistributions3quantities
SectorAnalyticsAnalytics
Velocity score6.30.0
Sparks · 30d10
Top themesr-package, probability-distributions, empirical-distributions, likelihood-inferenceunits, measurement-uncertainty, error-propagation, r-package
Last editorial update9h ago4d ago
WebsiteVisit →Visit →

What is distributions3?

distributions3 0.3.0 adds sample-based distributions and likelihood derivatives

An R package giving probability distributions a consistent object interface - d/p/q/r functions, moments, and prodist() methods that pull a fitted distribution out of a regression object. Version 0.3.0 is the first substantive release under Achim Zeileis's maintenance, and it widens what a distribution is allowed to be: Empirical() represents a distribution by a random sample rather than by parameters, and numerical fallbacks now fill in cdf(), pdf(), quantile(), random() and the moments for any object that implements only some of them. New score() and hessian() generics compute first and second derivatives of the log-likelihood with respect to the parameters, analytically for a few distributions and numerically for the rest.

Read the full distributions3 trajectory →

What is quantities?

The glue package that makes R carry units and uncertainty through the same calculation.

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

Read the full quantities trajectory →

distributions3 vs quantities: editorial side-by-side

D6.3

distributions3 0.3.0 adds sample-based distributions and likelihood derivatives

◆ Current state

An R package giving probability distributions a consistent object interface - d/p/q/r functions, moments, and prodist() methods that pull a fitted distribution out of a regression object. Version 0.3.0 is the first substantive release under Achim Zeileis's maintenance, and it widens what a distribution is allowed to be: Empirical() represents a distribution by a random sample rather than by parameters, and numerical fallbacks now fill in cdf(), pdf(), quantile(), random() and the moments for any object that implements only some of them. New score() and hessian() generics compute first and second derivatives of the log-likelihood with respect to the parameters, analytically for a few distributions and numerically for the rest.

◆ Where it's heading

Growth used to arrive as new distribution families contributed from outside - the extreme-value set, Erlang, later the Poisson binomial. This release changes the axis: alongside two new distributions it adds an inference layer (score, hessian) and a forecast-evaluation one (crps() methods against scoringRules), which are capabilities about distributions rather than more of them. Dependency weight is being cut at the same time, with ggplot2 demoted to Suggests and glue replaced by base R sprintf().

◆ Prediction

With numeric fallbacks and the derivative generics in place, expect analytic score() and hessian() methods to be filled in across more of the distribution catalogue. The constructor-default change is the likeliest source of follow-up fixes, since calls like Poisson() now return a length-zero distribution where they previously errored.

Q
quantities
ANALYTICS
0.0

The glue package that makes R carry units and uncertainty through the same calculation.

◆ Current state

quantities combines the units and errors packages into one class so values keep both their measurement units and their uncertainty through arithmetic, subsetting and data frame operations. Recent releases have been narrow: fixes to the covariance and correlation implementations, and performance work on the data.frame methods. Most of the release traffic is coordination with its two parent packages.

◆ Where it's heading

The design settled with 0.2.0, which made uncertainty unit-aware and added correlation and covariance support for quantities objects. Since then the package behaves like the integration layer it is — releasing when units, errors, dplyr or ggplot2 shift underneath it rather than on its own schedule. Several releases consist only of test repairs against upstream changes.

◆ Prediction

Expect the next release to follow a units or errors change rather than introduce new behaviour of its own.

Alternatives to distributions3 and quantities

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 distributions3 or quantities.

See all distributions3 alternatives → · See all quantities alternatives →

Recent activity from distributions3 and quantities

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

  1. 10h agodistributions3Empirical distributions, plus score and hessian generics
  2. 29d agodistributions3Maintenance moves to Achim Zeileis; moment calculations corrected
  3. 10mo agodistributions3ggplot2 compatibility for the plotting functions
  4. 1y agoquantitiesFixes covariance and correlation implementations
  5. 1y agodistributions3Poisson binomial distribution, with a normal-approximation fallback
  6. 2y agoquantitiesFaster data.frame methods
  7. 3y agoquantitiesTest fixes for an upstream units change
  8. 3y agoquantitiesUncertainty becomes unit-aware; adds correlation support
  9. 3y agodistributions3is_discrete and is_continuous generics, plus elementwise type-safety
  10. 4y agodistributions3Extreme-value family, Erlang, and a plotting generic
  11. 5y agoquantitiesCompatibility fix for units 0.7-0
  12. 6y agoquantitiesFixes uncertainty propagation for offset unit conversions

Frequently asked questions

What is the difference between distributions3 and quantities?

Both compete on the same themes — r-package — within Analytics. distributions3 is currently shipping more aggressively (velocity 6.3 vs 0.0), with 1 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 distributions3 better than quantities?

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

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

What are the best alternatives to quantities?

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