The Gaussian distribution or normal distribution is a real univariate continuous Probability distribution. For a Random variable , the Probability density function is
where is the Expected value e is the Variance.
A standard normal distribution is defined as a normal distribution with and :
Moments#
The central and raw Moment-generating function for the Gaussian are
For a standard normal distribution, they simplify to
> Combine exponentials: > $$e^{t(x-\mu)}e^{-(x-\mu)^{2}/2\sigma ^{2}}=e^{t(x-\mu)-(x-\mu)^{2}/2\sigma ^{2}}> Substitute in the integral: > $$M_{X}(t)=\frac{1}{\sqrt{ 2\pi }\sigma}e^{\sigma ^{2}t^{2}/2}\int_{-\infty}^{+\infty}e^{-(x-\mu-\sigma ^{2}t)^{2}/2\sigma ^{2}}dxUse the following identity:
t(x-\mu)-\frac{(x-\mu)^{2}}{2\sigma ^{2}}&=t(x-\mu)- \frac{(x-\mu)^{2}}{2\sigma ^{2}}+ \frac{\sigma ^{2}t^{2}}{2}- \frac{\sigma ^{2}t^{2}}{2} \\ &=\left[- \frac{(x-\mu)^{2}}{2\sigma ^{2}}+ t(x-\mu)- \frac{\sigma ^{2}t^{2}}{2} \right]+ \frac{\sigma ^{2}t^{2}}{2} \\ \left( \text{extract } \frac{-1}{2\sigma ^{2}} \right)&=- \frac{1}{2\sigma ^{2}}[(x-\mu)^{2}- 2\sigma ^{2}t(x-\mu)+\sigma^{4}t^{2}]+ \frac{\sigma ^{2}t^{2}}{2} \\ (\text{recognize square})&=- \frac{1}{2\sigma ^{2}}[(x-\mu)-\sigma ^{2}t]^{2}+ \frac{\sigma ^{2}t^{2}}{2} \\ &=\frac{\sigma ^{2}t^{2}}{2}- \frac{(x-\mu+\sigma ^{2}t)^{2}}{2\sigma ^{2}} \end{align}
> The raw MGF follows immediately by > $$M_{X}^{*}(t)=e^{t\mu}M_{X}(t)=e^{t\mu+\sigma ^{2}t^{2}/2}This is a Gaussian integral with and . Gaussian integrals are equal to so
Some [[Function moments|moments]] are: - Raw 0. $\mu_{0}^{*}=1$ 1. $\mu_{1}^{*}=\mu$ ([[Expected value]]) - Central 0. $\mu_{0}=1$ 1. $\mu_{1}=0$ 2. $\mu_{2}=\sigma ^{2}$ ([[Variance]]) 3. $\mu_{3}=0$ 4. $\mu_{4}=3\sigma^{4}$ - Coefficients 1. $\gamma_{1}=0$ ([[skewness]], it is symmetrical around the mean) 2. $\gamma_{2}=0$ ([[kurtosis]]) These moments have particular significance, as the Gaussian distribution is the gold standard of distributions. It is extremely common, well-understood and well-behaved, so other distributions and their moments are frequently compared to it to get an idea of how they behave. For kurtosis in particular, negative values can be seen as "flatter than Gaussian" and positive ones as "more peaked than Gaussian." ### As sum of normal variables The sum of $N$ [[iid]] normal variables $X_{i}\sim \mathcal{N}(\mu,\sigma ^{2})$ is itself a normal distribution:For a standard normal we then have
Y=\sum_{i=1}^{N} X_{i}\sim \mathcal{N}(N\mu,N\sigma ^{2})
> [!quote]- Proof > The joint MGF of a sum of [[independent variables]] is the product of MGFs: > $$M_{Y}(t)=\prod_{i=1}^{N} M_{X_{i}}(t)=\prod_{i=1}^{N} e^{t\mu+t^{2}\sigma ^{2}/2}=e^{tN\mu+t^{2}N\sigma ^{2}/2}But this is the MGF of a Gaussian with mean and variance . Thus .