Zipfian Distribution
A random variable has the Zipfian distribution with parameters and if its probability mass function is given by
A random variable has the Zipfian distribution with parameters and if its probability mass function is given by
where
is the th generalized harmonic number of order . Other functions of this distribution are
“Zipf’s Law”, Wikipedia, https://en.wikipedia.org/wiki/Zipf%27s_law
Larry Leemis, “Zipf Distribution”, Univariate Distribution Relationships. http://www.math.wm.edu/~leemis/chart/UDR/PDFs/Zipf.pdf
Implementation: scipy.stats.zipfian