DataDistribution

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

Create a univariate DataDistribution:

In[1]:=
Click for copyable input

Using SmoothKernelDistribution:

In[2]:=
Click for copyable input
Out[2]=

Using HistogramDistribution:

In[3]:=
Click for copyable input
Out[3]=

Visualize the PDF of a data distribution:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Visualize the CDF of a data distribution:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Calculate moments of a data distribution:

In[1]:=
Click for copyable input
Out[1]=

Mean:

In[2]:=
Click for copyable input
Out[2]=

Variance:

In[3]:=
Click for copyable input
Out[3]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »