Expectation of the Half-Normal Distribution
The half-normal distribution follows from folding a centered normal distribution onto the positive axis.
The half-normal distribution follows from folding a centered normal distribution onto the positive axis.
The half-normal distribution arises when we take a centered normal random variable and keep only its magnitude. It is often used as a non-negative prior in Bayesian learning and also naturally models the size of fluctuations in processes like Brownian motion.
Formally, if
with probability density function:
then the random variable
is said to follow a half-normal disribution.
The expectation of the half-normal distribution has a clear practical meaning. For example, if we think of Brownian motion as modeling random fluctuations like particle movement, the expectation tells us the typical absolute distance from the starting point at a given time.
By the definition of the expectation of a random variable
To integrate the absolute value of , we split the integral at zero, resulting in
Using the change of variables , the first integral becomes
and since due to the symmetry of the normal density, the two integrals are equal and hence
To evaluate this integral, we use the substitution
which results in
Plugging the result back into Equation (7)
which concludes the derivation.
As expected, taking the absolute value of a symmetric variable shifts all the mass to the positive side, making the expectation positive but still slightly below the standard deviation. Intuitively, this reflects that the typical size is bigger than zero but still smaller than the full spread.