ZipfDistribution

ZipfDistribution[]
represents a zeta distribution with parameter .

ZipfDistribution[n, ]
represents a Zipf distribution with range n.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (4)Basic Examples (4)

Probability density function:

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

With finite range:

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

Cumulative distribution function:

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

With finite range:

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

Mean:

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

Variance:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
New in 6 | Last modified in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »