DataDistribution
DataDistribution[ddist,…]
represents a probability distribution of type ddist, estimated from a set of data.
Details
- DataDistribution objects are produced by functions such as EmpiricalDistribution, HistogramDistribution, SmoothKernelDistribution, KernelMixtureDistribution, and SurvivalDistribution.
- In standard output format, only the estimation method ddist and the dimensionality of the data are printed.
- DataDistribution can be used with such functions as Mean, CDF, and RandomVariate.
Examples
open allclose allBasic 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:
Scope (4)
DataDistribution objects can be created from five data-based distributions:
Any property that applies to a parametric distribution applies to data distributions:
Multivariate data distribution:
Scalar central moment for each marginal:
Multivariate central joint moment:
DataDistribution created from quantity data retains information about units:
Extract distribution of the data magnitude and the unit of the data:
Text
Wolfram Research (2010), DataDistribution, Wolfram Language function, https://reference.wolfram.com/language/ref/DataDistribution.html (updated 2016).
CMS
Wolfram Language. 2010. "DataDistribution." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/DataDistribution.html.
APA
Wolfram Language. (2010). DataDistribution. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DataDistribution.html