Since is nonnegative, its cumulative distribution function is zero for . For ,
The last equality uses the symmetry of the standard normal distribution. Thus
Differentiate the cumulative distribution function for , using and . The probability density function is
Its value at zero can be assigned arbitrarily without changing any probability. Although this probability density function diverges as , and there is no point mass at zero. Equivalently, has a gamma distribution with shape and rate one.
The probability density function must integrate to one, so
Also, linearity of expectation and the mean and variance of the standard normal distribution give
Using the probability density function to compute this expected value gives
These are the values and of the gamma function.

Articles by others on the same topic (0)

There are currently no matching articles.