{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _continuous_distns / gennorm_gen

class

scipy.stats._continuous_distns:gennorm_gen

source: /scipy/stats/_continuous_distns.py:11520

Signature

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

Members

Summary

A (symmetric) generalized normal continuous random variable.

Extended Summary

%(before_notes)s

Notes

The (symmetric) generalized normal distribution is also known as the Subbotin distribution, exponential power distribution, and generalized error distribution [1].

The probability density function for gennorm is [1]:

where is a real number, and is the gamma function (scipy.special.gamma).

gennorm takes beta as a shape parameter for . For , it is identical to a Laplace distribution. For , it is identical to a normal distribution (with scale=1/sqrt(2)).

See also

laplace

Laplace distribution

norm

normal distribution

Aliases

  • scipy.stats._continuous_distns.gennorm_gen