scipy.stats.erlang — SciPy v1.16.0 Manual (original) (raw)

scipy.stats.erlang = <scipy.stats._continuous_distns.erlang_gen object>[source]#

An Erlang continuous random variable.

As an instance of the rv_continuous class, erlang object inherits from it a collection of generic methods (see below for the full list), and completes them with details specific for this particular distribution.

Methods

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.