For a random variable with a continuous probability distribution and probability density function , the mean and variance areA finite mean requires . A finite variance additionally requires the second moment to be finite; without that condition the nonnegative integral for the variance may be infinite.
Expand the square and use linearity of expectation, together with and :This proof applies whenever the second moment is finite, and does not require the random variable to be continuous.
Normalization of the probability density function and the specified mean give two equations:Dividing the second by the first gives . ConsequentlyBoth are positive, as required for the stated probability density function.
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 isIts 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, soAlso, linearity of expectation and the mean and variance of the standard normal distribution giveUsing the probability density function to compute this expected value givesThese are the values and of the gamma function.
Articles by others on the same topic
There are currently no matching articles.