Jump to content

Half-normal distribution

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ZéroBot (talk | contribs) at 18:14, 27 March 2012 (r2.7.1) (Robot: Adding fr:Loi demi-normale). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

The half-normal distribution is a special case of the folded normal distribution.

Let be a standard normal distribution, , then is a half-normal distribution. Specifically a folded standard normal distribution where the fold occurs at a cumulative probability of p = 0.5 (i.e. at the mean, which is zero).

Using the parametrization of the normal distribution, the probability density function (PDF) of the half-normal is given by

,

Where .

Alternatively using a scaled precision (inverse of the variance) parametrization (to avoid issues if is near zero), obtained by setting , the probability density function is given by

,

where .


The cumulative distribution function (CDF) is given by

Using the change-of-variables , the CDF can be written as

where erf(x) is the error function, a standard function in many mathematical software packages.

The expectation is then given by

The variance is given by

Since this is proportional to the variance σ2 of X, σ can be seen as a scale parameter of the new distribution.

The entropy of the half-normal distribution is exactly one bit less the entropy of a zero-mean normal distribution with the same second moment about 0. This can be understood intuitively since the magnitude operator reduces information by one bit (if the probability distribution at its input is even). Alternatively, since a half-normal distribution is always positive, the one bit it would take to record whether a standard normal random variable were positive (say, a 1) or negative (say, a 0) is no longer necessary. Thus,

References