{ } Raw JSON

bundles / scipy 1.17.1 / scipy / stats / _discrete_distns / yulesimon_gen

class

scipy.stats._discrete_distns:yulesimon_gen

source: /scipy/stats/_discrete_distns.py :1765

Signature

class   yulesimon_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 Yule-Simon discrete random variable.

Extended Summary

%(before_notes)s

Notes

The probability mass function for the yulesimon is:

for , where . Here refers to the scipy.special.beta function.

The sampling of random variates is based on pg 553, Section 6.3 of [1]. Our notation maps to the referenced logic via .

For details see the wikipedia entry [2].

Aliases

  • scipy.stats._discrete_distns.yulesimon_gen