bundles / scipy 1.17.1 / scipy / stats / _discrete_distns / zipf_gen
class
scipy.stats._discrete_distns:zipf_gen
Signature
class zipf_gen(a = 0, b = inf, name = None, badvalue = None, moment_tol = 1e-08, values = None, inc = 1, longname = None, shapes = None, seed = None)Members
Summary
A Zipf (Zeta) discrete random variable.
Extended Summary
%(before_notes)s
Notes
The probability mass function for zipf is:
for , .
zipf takes as shape parameter. is the Riemann zeta function (scipy.special.zeta)
The Zipf distribution is also known as the zeta distribution, which is a special case of the Zipfian distribution (zipfian).
%(after_notes)s
See also
- zipfian
Aliases
scipy.stats._discrete_distns.zipf_gen