FindDistribution

FindDistribution[data]

finds a simple functional form to fit the distribution of data.

FindDistribution[data,n]

finds up to n best distributions.

FindDistribution[data,n,prop]

returns up to n best distributions associated with property prop.

FindDistribution[data,n,{prop1,prop2,}]

returns up to n best distributions associated with properties prop1, prop2, etc.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Create a list of uniformly distributed random integers:

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

Find the underlying distribution from the data:

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

Generate data sampled from an exponential distribution:

In[1]:=
Click for copyable input

Find the best distribution from the data:

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

Compare the PDFs for the original and estimated distributions:

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

Return the best three distributions:

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

Compare their Bayesian information criterion and Akaike information criterion values:

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

Scope  (3)

Options  (5)

Applications  (5)

Properties & Relations  (1)

See Also

FindDistributionParameters  DistributionFitTest  Likelihood  EstimatedDistribution  EmpiricalDistribution  SmoothKernelDistribution  FindFormula

Introduced in 2015
(10.3)
| Updated in 2017
(11.2)