This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _continuous_distns / erlang_gen

class

scipy.stats._continuous_distns:erlang_gen

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_continuous_distns.py:3777

Signature

class erlang_gen(momtype = 1, a = None, b = None, xtol = 1e-14, badvalue = None, name = None, longname = None, shapes = None, seed = None)

Members

Summary

An Erlang continuous random variable.

Extended Summary

%(before_notes)s

Notes

The Erlang distribution is a special case of the Gamma distribution, with the shape parameter a an integer. Note that this restriction is not enforced by erlang. It will, however, generate a warning the first time a non-integer value is used for the shape parameter.

Refer to gamma for examples.

See also

gamma

Aliases

  • scipy.stats._continuous_distns.erlang_gen