bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _continuous_distns / halfgennorm_gen
class
scipy.stats._continuous_distns:halfgennorm_gen
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_continuous_distns.py:11632
Signature
class halfgennorm_gen(momtype = 1, a = None, b = None, xtol = 1e-14, badvalue = None, name = None, longname = None, shapes = None, seed = None)Members
Summary
The upper half of a generalized normal continuous random variable.
Extended Summary
%(before_notes)s
Notes
The probability density function for halfgennorm is:
for . is the gamma function (scipy.special.gamma).
halfgennorm takes beta as a shape parameter for . For , it is identical to an exponential distribution. For , it is identical to a half normal distribution (with scale=1/sqrt(2)).
halfgennorm is the upper half of a generalized normal continuous random variable [1].
halfgennorm is a special case of the generalized gamma distribution [2], which is implemented in SciPy as gengamma: halfgennorm(beta) = gengamma(a=1/beta, c=beta).
See also
- expon
exponential distribution
- gengamma
generalized gamma distribution
- gennorm
generalized normal distribution
- halfnorm
half normal distribution
Aliases
scipy.stats._continuous_distns.halfgennorm_gen