ecl-logo Documentation

EmpiricalDistributionPoints

EmpiricalDistributionPoints[edist]points

extracts the data points from an empirical distribution.

Details

  • If the distribution has units associated with it, the points come out as a QuantityArray.
  • Input
    Output
    General Options

Examples

Basic Examples  (3)

Extract the data from an empirical distribution:

If the distribution has units, the points come out as a QuantityArray:

Given a multivariate data distribution:

Additional Examples  (3)

Note that the points come out sorted:

Empirical distributions can contain non-numeric values:

Given a QuantityDistribution:

Options  (1)

MaximumDistributionPoints  (1)

Set the maximum number of points to return:

Possible Issues  (2)

Some operations affect data distributions in a way that makes it impossible to recover the original point set:

Information may be lost if the magnitude of weights differs by several orders of magnitude: