gamma#

class gamma(a=1.0, loc=0.0, scale=1.0, **kwargs)[source]#

Bases: Dist

Gamma distribution (specifically, scipy.stats.gamma)

Parameters:
  • a (float) – the shape parameter, sometimes called k (default 1.0)

  • loc (float) – the location parameter, which shifts the position of the distribution (default 0.0)

  • scale (float) – the scale parameter, sometimes called θ (default 1.0)

Attributes

bitgen

state

Get the current state

state_int

Get the integer corresponding to the current state

Methods

make_rvs()[source]#

Use SciPy rather than NumPy to include the scale parameter