DataDistribution

DataDistribution[ddist,]

represents a probability distribution of type ddist, estimated from a set of data.

Details

Examples

open allclose all

Basic Examples  (4)

Create a univariate DataDistribution:

Using SmoothKernelDistribution:

Using HistogramDistribution:

Visualize the PDF of a data distribution:

Visualize the CDF of a data distribution:

Calculate moments of a data distribution:

Mean:

Variance:

Scope  (3)

DataDistribution objects can be created from five data-based distributions:

Any property that applies to a parametric distribution applies to data distributions:

Generating functions:

Random number generation:

Distribution functions:

Moments:

DataDistribution created from quantity data retains information about units:

Extract distribution of the data magnitude and the unit of the data:

Find basic moments:

Introduced in 2010
 (8.0)
 |
Updated in 2016
 (10.4)