WLJS LogoWLJS Notebook

EmpiricalDistribution

EmpiricalDistribution[{x1, x2, ...}] represents an empirical distribution based on the data values xi.

EmpiricalDistribution[{{x1, y1, ...}, {x2, y2, ...}, ...}] represents a multivariate empirical distribution.

EmpiricalDistribution[{w1, w2, ...} -> {d1, d2, ...}] represents an empirical distribution where data values di occur with weights wi.

Examples

Create an empirical distribution from data:

EmpiricalDistribution[{1, 2, 2, 3, 3, 3, 4}]

Please visit the official Wolfram Language Reference for more details.

On this page