Articulo de referencia

Distribución normal

En teoría de probabilidad y estadística , una distribución normal o distribución gaussiana es un tipo de distribución de probabilidad continua para una variable aleatoria de val...

En teoría de probabilidad y estadística , una distribución normal o distribución gaussiana es un tipo de distribución de probabilidad continua para una variable aleatoria de valor real . La forma general de su función de densidad de probabilidad es El parámetro es la media o esperanza de la distribución (y también su mediana y moda ), mientras que el parámetro es la varianza . La desviación estándar de la distribución es (sigma). Se dice que una variable aleatoria con una distribución gaussiana tiene una distribución normal y se denomina desviación normal . f ( x ) = 1 2 π σ 2 e ( x μ ) 2 2 σ 2 . {\displaystyle f(x)={\frac {1}{\sqrt {2\pi \sigma ^{2}}}}e^{-{\frac {(x-\mu )^{2}}{2\sigma ^{2}}}}\,.} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} σ {\textstyle \sigma }

Las distribuciones normales son importantes en estadística y se utilizan a menudo en las ciencias naturales y sociales para representar variables aleatorias de valor real cuyas distribuciones no se conocen. [2] [3] Su importancia se debe en parte al teorema del límite central . Este afirma que, en determinadas condiciones, el promedio de muchas muestras (observaciones) de una variable aleatoria con media y varianza finitas es en sí mismo una variable aleatoria, cuya distribución converge a una distribución normal a medida que aumenta el número de muestras. Por lo tanto, las cantidades físicas que se espera que sean la suma de muchos procesos independientes, como los errores de medición , a menudo tienen distribuciones que son casi normales. [4]

Además, las distribuciones gaussianas tienen algunas propiedades únicas que son valiosas en los estudios analíticos. Por ejemplo, cualquier combinación lineal de un conjunto fijo de desviaciones normales independientes es una desviación normal. Muchos resultados y métodos, como la propagación de la incertidumbre y el ajuste de parámetros por mínimos cuadrados [5] , se pueden derivar analíticamente en forma explícita cuando las variables relevantes se distribuyen normalmente.

A veces, a una distribución normal se la denomina informalmente curva de campana . [6] Sin embargo, muchas otras distribuciones tienen forma de campana (como la distribución de Cauchy , la t de Student y las distribuciones logísticas ). Para conocer otros nombres, consulte Nomenclatura .

La distribución de probabilidad univariante se generaliza para vectores en la distribución normal multivariante y para matrices en la distribución normal matricial .

Definiciones

Distribución normal estándar

El caso más simple de una distribución normal se conoce como distribución normal estándar o distribución normal unitaria . Este es un caso especial cuando y , y se describe mediante esta función de densidad de probabilidad (o densidad): La variable tiene una media de 0 y una varianza y desviación estándar de 1. La densidad tiene su pico en y puntos de inflexión en y . μ = 0 {\textstyle \mu =0} σ 2 = 1 {\textstyle \sigma ^{2}=1} φ ( z ) = e z 2 2 2 π . {\displaystyle \varphi (z)={\frac {e^{\frac {-z^{2}}{2}}}{\sqrt {2\pi }}}\,.} z {\textstyle z} φ ( z ) {\textstyle \varphi (z)} 1 2 π {\textstyle {\frac {1}{\sqrt {2\pi }}}} z = 0 {\textstyle z=0} z = + 1 {\textstyle z=+1} z = 1 {\textstyle z=-1}

Aunque la densidad anterior se conoce más comúnmente como la normal estándar, algunos autores han utilizado ese término para describir otras versiones de la distribución normal. Carl Friedrich Gauss , por ejemplo, una vez definió la normal estándar como que tiene una varianza de , y Stephen Stigler [7] una vez definió la normal estándar como que tiene una forma funcional simple y una varianza de φ ( z ) = e z 2 π , {\displaystyle \varphi (z)={\frac {e^{-z^{2}}}{\sqrt {\pi }}},} 1 2 {\displaystyle {\frac {1}{2}}} φ ( z ) = e π z 2 , {\displaystyle \varphi (z)=e^{-\pi z^{2}},} σ 2 = 1 / ( 2 π ) . {\textstyle \sigma ^{2}=1/(2\pi ).}

Distribución normal general

Toda distribución normal es una versión de la distribución normal estándar, cuyo dominio ha sido ampliado por un factor (la desviación estándar) y luego traducido por (el valor medio): σ {\textstyle \sigma } μ {\textstyle \mu }

f ( x μ , σ 2 ) = 1 σ φ ( x μ σ ) . {\displaystyle f(x\mid \mu ,\sigma ^{2})={\frac {1}{\sigma }}\varphi \left({\frac {x-\mu }{\sigma }}\right)\,.}

La densidad de probabilidad debe escalarse de modo que la integral siga siendo 1. 1 / σ {\textstyle 1/\sigma }

Si es una desviación normal estándar , entonces tendrá una distribución normal con valor esperado y desviación estándar . Esto es equivalente a decir que la distribución normal estándar se puede escalar/estirar por un factor de y desplazar por para producir una distribución normal diferente, llamada . Por el contrario, si es una desviación normal con parámetros y , entonces esta distribución se puede volver a escalar y desplazar mediante la fórmula para convertirla en la distribución normal estándar. Esta variante también se denomina forma estandarizada de . Z {\textstyle Z} X = σ Z + μ {\textstyle X=\sigma Z+\mu } μ {\textstyle \mu } σ {\textstyle \sigma } Z {\textstyle Z} σ {\textstyle \sigma } μ {\textstyle \mu } X {\textstyle X} X {\textstyle X} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} X {\textstyle X} Z = ( X μ ) / σ {\textstyle Z=(X-\mu )/\sigma } X {\textstyle X}

Notación

La densidad de probabilidad de la distribución gaussiana estándar (distribución normal estándar, con media cero y varianza unitaria) se denota a menudo con la letra griega ( phi ). [8] La forma alternativa de la letra griega phi, , también se utiliza con bastante frecuencia. ϕ {\textstyle \phi } φ {\textstyle \varphi }

La distribución normal a menudo se denomina o . [9] Por lo tanto, cuando una variable aleatoria se distribuye normalmente con media y desviación estándar , se puede escribir N ( μ , σ 2 ) {\textstyle N(\mu ,\sigma ^{2})} N ( μ , σ 2 ) {\textstyle {\mathcal {N}}(\mu ,\sigma ^{2})} X {\textstyle X} μ {\textstyle \mu } σ {\textstyle \sigma }

X N ( μ , σ 2 ) . {\displaystyle X\sim {\mathcal {N}}(\mu ,\sigma ^{2}).}

Parametrizaciones alternativas

Algunos autores abogan por utilizar la precisión como parámetro que define el ancho de la distribución, en lugar de la desviación estándar o la varianza . La precisión se define normalmente como el recíproco de la varianza, . [10] La fórmula para la distribución se convierte entonces en τ {\textstyle \tau } σ {\textstyle \sigma } σ 2 {\textstyle \sigma ^{2}} 1 / σ 2 {\textstyle 1/\sigma ^{2}}

f ( x ) = τ 2 π e τ ( x μ ) 2 / 2 . {\displaystyle f(x)={\sqrt {\frac {\tau }{2\pi }}}e^{-\tau (x-\mu )^{2}/2}.}

Se afirma que esta elección tiene ventajas en los cálculos numéricos cuando está muy cerca de cero y simplifica las fórmulas en algunos contextos, como en la inferencia bayesiana de variables con distribución normal multivariada . σ {\textstyle \sigma }

Alternativamente, el recíproco de la desviación estándar podría definirse como la precisión , en cuyo caso la expresión de la distribución normal se convierte en τ = 1 / σ {\textstyle \tau '=1/\sigma }

f ( x ) = τ 2 π e ( τ ) 2 ( x μ ) 2 / 2 . {\displaystyle f(x)={\frac {\tau '}{\sqrt {2\pi }}}e^{-(\tau ')^{2}(x-\mu )^{2}/2}.}

Según Stigler, esta formulación es ventajosa debido a una fórmula mucho más simple y fácil de recordar, y a fórmulas aproximadas simples para los cuantiles de la distribución.

Las distribuciones normales forman una familia exponencial con parámetros naturales y , y estadísticas naturales x y x 2 . Los parámetros de expectativa dual para la distribución normal son η 1 = μ y η 2 = μ 2 + σ 2 . θ 1 = μ σ 2 {\textstyle \textstyle \theta _{1}={\frac {\mu }{\sigma ^{2}}}} θ 2 = 1 2 σ 2 {\textstyle \textstyle \theta _{2}={\frac {-1}{2\sigma ^{2}}}}

Función de distribución acumulativa

La función de distribución acumulativa (CDF) de la distribución normal estándar, usualmente denotada con la letra griega mayúscula ( phi ), es la integral Φ {\textstyle \Phi }

Φ ( x ) = 1 2 π x e t 2 / 2 d t . {\displaystyle \Phi (x)={\frac {1}{\sqrt {2\pi }}}\int _{-\infty }^{x}e^{-t^{2}/2}\,dt\,.}

Función de error

La función de error relacionada da la probabilidad de una variable aleatoria, con distribución normal de media 0 y varianza 1/2 dentro del rango . Es decir: erf ( x ) {\textstyle \operatorname {erf} (x)} [ x , x ] {\textstyle [-x,x]}

erf ( x ) = 1 π x x e t 2 d t = 2 π 0 x e t 2 d t . {\displaystyle \operatorname {erf} (x)={\frac {1}{\sqrt {\pi }}}\int _{-x}^{x}e^{-t^{2}}\,dt={\frac {2}{\sqrt {\pi }}}\int _{0}^{x}e^{-t^{2}}\,dt\,.}

Estas integrales no se pueden expresar en términos de funciones elementales y, a menudo, se dice que son funciones especiales . Sin embargo, se conocen muchas aproximaciones numéricas; consulte más información a continuación.

Las dos funciones están estrechamente relacionadas, a saber:

Φ ( x ) = 1 2 [ 1 + erf ( x 2 ) ] . {\displaystyle \Phi (x)={\frac {1}{2}}\left[1+\operatorname {erf} \left({\frac {x}{\sqrt {2}}}\right)\right]\,.}

Para una distribución normal genérica con densidad , media y varianza , la función de distribución acumulativa es f {\textstyle f} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}}

F ( x ) = Φ ( x μ σ ) = 1 2 [ 1 + erf ( x μ σ 2 ) ] . {\displaystyle F(x)=\Phi \left({\frac {x-\mu }{\sigma }}\right)={\frac {1}{2}}\left[1+\operatorname {erf} \left({\frac {x-\mu }{\sigma {\sqrt {2}}}}\right)\right]\,.}

El complemento de la función de distribución acumulativa normal estándar, , se suele denominar función Q , especialmente en textos de ingeniería. [11] [12] Da la probabilidad de que el valor de una variable aleatoria normal estándar supere a : . Otras definiciones de la función -, todas las cuales son transformaciones simples de , también se utilizan ocasionalmente. [13] Q ( x ) = 1 Φ ( x ) {\textstyle Q(x)=1-\Phi (x)} X {\textstyle X} x {\textstyle x} P ( X > x ) {\textstyle P(X>x)} Q {\textstyle Q} Φ {\textstyle \Phi }

La gráfica de la función de distribución acumulativa normal estándar tiene simetría rotacional doble alrededor del punto (0,1/2); es decir, . Su antiderivada (integral indefinida) se puede expresar de la siguiente manera: Φ {\textstyle \Phi } Φ ( x ) = 1 Φ ( x ) {\textstyle \Phi (-x)=1-\Phi (x)} Φ ( x ) d x = x Φ ( x ) + φ ( x ) + C . {\displaystyle \int \Phi (x)\,dx=x\Phi (x)+\varphi (x)+C.}

La función de distribución acumulativa de la distribución normal estándar se puede ampliar mediante la integración por partes en una serie:

Φ ( x ) = 1 2 + 1 2 π e x 2 / 2 [ x + x 3 3 + x 5 3 5 + + x 2 n + 1 ( 2 n + 1 ) ! ! + ] . {\displaystyle \Phi (x)={\frac {1}{2}}+{\frac {1}{\sqrt {2\pi }}}\cdot e^{-x^{2}/2}\left[x+{\frac {x^{3}}{3}}+{\frac {x^{5}}{3\cdot 5}}+\cdots +{\frac {x^{2n+1}}{(2n+1)!!}}+\cdots \right]\,.}

donde denota el factorial doble . ! ! {\textstyle !!}

También se puede derivar una expansión asintótica de la función de distribución acumulativa para valores grandes de x mediante la integración por partes. Para obtener más información, consulte Función de error#Expansión asintótica . [14]

Se puede encontrar una aproximación rápida a la función de distribución acumulativa de la distribución normal estándar utilizando una aproximación de la serie de Taylor:

Φ ( x ) 1 2 + 1 2 π k = 0 n ( 1 ) k x ( 2 k + 1 ) 2 k k ! ( 2 k + 1 ) . {\displaystyle \Phi (x)\approx {\frac {1}{2}}+{\frac {1}{\sqrt {2\pi }}}\sum _{k=0}^{n}{\frac {(-1)^{k}x^{(2k+1)}}{2^{k}k!(2k+1)}}\,.}

Cálculo recursivo con desarrollo de la serie de Taylor

La naturaleza recursiva de la familia de derivadas se puede utilizar para construir fácilmente una expansión de la serie de Taylor rápidamente convergente utilizando entradas recursivas sobre cualquier punto de valor conocido de la distribución : e a x 2 {\textstyle e^{ax^{2}}} Φ ( x 0 ) {\textstyle \Phi (x_{0})}

Φ ( x ) = n = 0 Φ ( n ) ( x 0 ) n ! ( x x 0 ) n , {\displaystyle \Phi (x)=\sum _{n=0}^{\infty }{\frac {\Phi ^{(n)}(x_{0})}{n!}}(x-x_{0})^{n}\,,}

dónde:

Φ ( 0 ) ( x 0 ) = 1 2 π x 0 e t 2 / 2 d t Φ ( 1 ) ( x 0 ) = 1 2 π e x 0 2 / 2 Φ ( n ) ( x 0 ) = ( x 0 Φ ( n 1 ) ( x 0 ) + ( n 2 ) Φ ( n 2 ) ( x 0 ) ) , n 2 . {\displaystyle {\begin{aligned}\Phi ^{(0)}(x_{0})&={\frac {1}{\sqrt {2\pi }}}\int _{-\infty }^{x_{0}}e^{-t^{2}/2}\,dt\\\Phi ^{(1)}(x_{0})&={\frac {1}{\sqrt {2\pi }}}e^{-x_{0}^{2}/2}\\\Phi ^{(n)}(x_{0})&=-\left(x_{0}\Phi ^{(n-1)}(x_{0})+(n-2)\Phi ^{(n-2)}(x_{0})\right),&n\geq 2\,.\end{aligned}}}

Utilizando la serie de Taylor y el método de Newton para la función inversa

Una aplicación de la expansión de la serie de Taylor anterior es utilizar el método de Newton para invertir el cálculo. Es decir, si tenemos un valor para la función de distribución acumulativa , , pero no conocemos la x necesaria para obtener , podemos utilizar el método de Newton para encontrar x, y utilizar la expansión de la serie de Taylor anterior para minimizar el número de cálculos. El método de Newton es ideal para resolver este problema porque la primera derivada de , que es una integral de la distribución estándar normal, es la distribución estándar normal y está disponible para su uso en la solución del método de Newton. Φ ( x ) {\textstyle \Phi (x)} Φ ( x ) {\textstyle \Phi (x)} Φ ( x ) {\textstyle \Phi (x)}

Para resolver, seleccione una solución aproximada conocida, , para el . deseado puede ser un valor de una tabla de distribución, o una estimación inteligente seguida de un cálculo de utilizando cualquier medio deseado para calcular. Utilice este valor de y la expansión de la serie de Taylor anterior para minimizar los cálculos. x 0 {\textstyle x_{0}} Φ ( x ) {\textstyle \Phi (x)} x 0 {\textstyle x_{0}} Φ ( x 0 ) {\textstyle \Phi (x_{0})} x 0 {\textstyle x_{0}}

Repita el siguiente proceso hasta que la diferencia entre el calculado y el deseado , que llamaremos , esté por debajo de un error aceptablemente pequeño, como 10 −5 , 10 −15 , etc.: Φ ( x n ) {\textstyle \Phi (x_{n})} Φ {\textstyle \Phi } Φ ( desired ) {\textstyle \Phi ({\text{desired}})}

x n + 1 = x n Φ ( x n , x 0 , Φ ( x 0 ) ) Φ ( desired ) Φ ( x n ) , {\displaystyle x_{n+1}=x_{n}-{\frac {\Phi (x_{n},x_{0},\Phi (x_{0}))-\Phi ({\text{desired}})}{\Phi '(x_{n})}}\,,}

dónde

Φ ( x , x 0 , Φ ( x 0 ) ) {\textstyle \Phi (x,x_{0},\Phi (x_{0}))} es la solución de una serie de Taylor usando y Φ ( x ) {\textstyle \Phi (x)} x 0 {\textstyle x_{0}} Φ ( x 0 ) {\textstyle \Phi (x_{0})}

Φ ( x n ) = 1 2 π e x n 2 / 2 . {\displaystyle \Phi '(x_{n})={\frac {1}{\sqrt {2\pi }}}e^{-x_{n}^{2}/2}\,.}

Cuando los cálculos repetidos convergen a un error inferior al valor aceptablemente pequeño elegido, x será el valor necesario para obtener a del valor deseado, . Φ ( x ) {\textstyle \Phi (x)} Φ ( desired ) {\textstyle \Phi ({\text{desired}})}

Desviación estándar y cobertura

Para la distribución normal, los valores menores a una desviación estándar de la media representan el 68,27% del conjunto; mientras que dos desviaciones estándar de la media representan el 95,45%; y tres desviaciones estándar representan el 99,73%.

Alrededor del 68% de los valores extraídos de una distribución normal están dentro de una desviación estándar σ de la media; alrededor del 95% de los valores se encuentran dentro de dos desviaciones estándar; y alrededor del 99,7% están dentro de tres desviaciones estándar. [6] Este hecho se conoce como la regla 68-95-99,7 (empírica) o la regla de 3 sigma .

Más precisamente, la probabilidad de que una desviación normal se encuentre en el rango entre y está dada por Para 12 dígitos significativos, los valores para son: μ n σ {\textstyle \mu -n\sigma } μ + n σ {\textstyle \mu +n\sigma } F ( μ + n σ ) F ( μ n σ ) = Φ ( n ) Φ ( n ) = erf ( n 2 ) . {\displaystyle F(\mu +n\sigma )-F(\mu -n\sigma )=\Phi (n)-\Phi (-n)=\operatorname {erf} \left({\frac {n}{\sqrt {2}}}\right).} n = 1 , 2 , , 6 {\textstyle n=1,2,\ldots ,6}

Para valores grandes , se puede utilizar la aproximación . n {\textstyle n} 1 p e n 2 / 2 n π / 2 {\textstyle 1-p\approx {\frac {e^{-n^{2}/2}}{n{\sqrt {\pi /2}}}}}

Función cuantil

La función cuantil de una distribución es la inversa de la función de distribución acumulativa. La función cuantil de la distribución normal estándar se denomina función probit y se puede expresar en términos de la función de error inversa : Para una variable aleatoria normal con media y varianza , la función cuantil es El cuantil de la distribución normal estándar se denota comúnmente como . Estos valores se utilizan en pruebas de hipótesis , construcción de intervalos de confianza y gráficos Q-Q . Una variable aleatoria normal excederá con probabilidad , y quedará fuera del intervalo con probabilidad . En particular, el cuantil es 1,96 ; por lo tanto, una variable aleatoria normal quedará fuera del intervalo solo en el 5% de los casos. Φ 1 ( p ) = 2 erf 1 ( 2 p 1 ) , p ( 0 , 1 ) . {\displaystyle \Phi ^{-1}(p)={\sqrt {2}}\operatorname {erf} ^{-1}(2p-1),\quad p\in (0,1).} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} F 1 ( p ) = μ + σ Φ 1 ( p ) = μ + σ 2 erf 1 ( 2 p 1 ) , p ( 0 , 1 ) . {\displaystyle F^{-1}(p)=\mu +\sigma \Phi ^{-1}(p)=\mu +\sigma {\sqrt {2}}\operatorname {erf} ^{-1}(2p-1),\quad p\in (0,1).} Φ 1 ( p ) {\textstyle \Phi ^{-1}(p)} z p {\textstyle z_{p}} X {\textstyle X} μ + z p σ {\textstyle \mu +z_{p}\sigma } 1 p {\textstyle 1-p} μ ± z p σ {\textstyle \mu \pm z_{p}\sigma } 2 ( 1 p ) {\textstyle 2(1-p)} z 0.975 {\textstyle z_{0.975}} μ ± 1.96 σ {\textstyle \mu \pm 1.96\sigma }

La siguiente tabla muestra el cuartil que se encontrará en el rango con una probabilidad especificada . Estos valores son útiles para determinar el intervalo de tolerancia para promedios de muestra y otros estimadores estadísticos con distribuciones normales (o asintóticamente normales). [15] La siguiente tabla muestra , no como se definió anteriormente. z p {\textstyle z_{p}} X {\textstyle X} μ ± z p σ {\textstyle \mu \pm z_{p}\sigma } p {\textstyle p} 2 erf 1 ( p ) = Φ 1 ( p + 1 2 ) {\textstyle {\sqrt {2}}\operatorname {erf} ^{-1}(p)=\Phi ^{-1}\left({\frac {p+1}{2}}\right)} Φ 1 ( p ) {\textstyle \Phi ^{-1}(p)}

Para números pequeños , la función cuantil tiene la expansión asintótica útil [ cita requerida ] p {\textstyle p} Φ 1 ( p ) = ln 1 p 2 ln ln 1 p 2 ln ( 2 π ) + o ( 1 ) . {\textstyle \Phi ^{-1}(p)=-{\sqrt {\ln {\frac {1}{p^{2}}}-\ln \ln {\frac {1}{p^{2}}}-\ln(2\pi )}}+{\mathcal {o}}(1).}

Propiedades

La distribución normal es la única distribución cuyos cumulantes más allá de los dos primeros (es decir, distintos de la media y la varianza ) son cero. También es la distribución continua con la entropía máxima para una media y varianza especificadas. [16] [17] Geary ha demostrado, suponiendo que la media y la varianza son finitas, que la distribución normal es la única distribución donde la media y la varianza calculadas a partir de un conjunto de valores extraídos independientes son independientes entre sí. [18] [19]

La distribución normal es una subclase de las distribuciones elípticas . La distribución normal es simétrica respecto de su media y no es cero en toda la línea real. Como tal, puede no ser un modelo adecuado para variables que son inherentemente positivas o fuertemente sesgadas, como el peso de una persona o el precio de una acción . Dichas variables pueden describirse mejor mediante otras distribuciones, como la distribución log-normal o la distribución de Pareto .

El valor de la distribución normal es prácticamente cero cuando el valor se encuentra a más de unas pocas desviaciones estándar de la media (por ejemplo, una dispersión de tres desviaciones estándar cubre toda la distribución total, excepto el 0,27%). Por lo tanto, puede no ser un modelo apropiado cuando se espera una fracción significativa de valores atípicos (valores que se encuentran a muchas desviaciones estándar de la media) y los mínimos cuadrados y otros métodos de inferencia estadística que son óptimos para las variables distribuidas normalmente suelen volverse muy poco confiables cuando se aplican a esos datos. En esos casos, se debe suponer una distribución de colas más pesadas y aplicar los métodos de inferencia estadística robustos adecuados . x {\textstyle x}

La distribución gaussiana pertenece a la familia de distribuciones estables que son las que atraen las sumas de distribuciones independientes idénticamente distribuidas, independientemente de que la media o la varianza sean finitas o no. A excepción de la gaussiana, que es un caso límite, todas las distribuciones estables tienen colas pesadas y varianza infinita. Es una de las pocas distribuciones que son estables y que tienen funciones de densidad de probabilidad que se pueden expresar analíticamente, las otras son la distribución de Cauchy y la distribución de Lévy .

Simetrías y derivadas

La distribución normal con densidad (media y varianza ) tiene las siguientes propiedades: f ( x ) {\textstyle f(x)} μ {\textstyle \mu } σ 2 > 0 {\textstyle \sigma ^{2}>0}

  • Es simétrica alrededor del punto que es al mismo tiempo la moda , la mediana y la media de la distribución. [20] x = μ , {\textstyle x=\mu ,}
  • Es unimodal : su primera derivada es positiva para negativa para y cero sólo en x < μ , {\textstyle x<\mu ,} x > μ , {\textstyle x>\mu ,} x = μ . {\textstyle x=\mu .}
  • El área delimitada por la curva y el eje es la unidad (es decir, igual a uno). x {\textstyle x}
  • Su primera derivada es f ( x ) = x μ σ 2 f ( x ) . {\textstyle f'(x)=-{\frac {x-\mu }{\sigma ^{2}}}f(x).}
  • Su segunda derivada es f ( x ) = ( x μ ) 2 σ 2 σ 4 f ( x ) . {\textstyle f''(x)={\frac {(x-\mu )^{2}-\sigma ^{2}}{\sigma ^{4}}}f(x).}
  • Su densidad tiene dos puntos de inflexión (donde la segunda derivada de es cero y cambia de signo), ubicados a una desviación estándar de la media, es decir en y [20] f {\textstyle f} x = μ σ {\textstyle x=\mu -\sigma } x = μ + σ . {\textstyle x=\mu +\sigma .}
  • Su densidad es logarítmica-cóncava . [20]
  • Su densidad es infinitamente diferenciable , de hecho supersuave , de orden 2. [21]

Además, la densidad de la distribución normal estándar (es decir, y ) también tiene las siguientes propiedades: φ {\textstyle \varphi } μ = 0 {\textstyle \mu =0} σ = 1 {\textstyle \sigma =1}

  • Su primera derivada es φ ( x ) = x φ ( x ) . {\textstyle \varphi '(x)=-x\varphi (x).}
  • Su segunda derivada es φ ( x ) = ( x 2 1 ) φ ( x ) {\textstyle \varphi ''(x)=(x^{2}-1)\varphi (x)}
  • De manera más general, su derivada n- ésima es donde es el n -ésimo polinomio de Hermite (probabilista) . [22] φ ( n ) ( x ) = ( 1 ) n He n ( x ) φ ( x ) , {\textstyle \varphi ^{(n)}(x)=(-1)^{n}\operatorname {He} _{n}(x)\varphi (x),} He n ( x ) {\textstyle \operatorname {He} _{n}(x)}
  • La probabilidad de que una variable distribuida normalmente con y conocidos esté en un conjunto particular, se puede calcular utilizando el hecho de que la fracción tiene una distribución normal estándar. X {\textstyle X} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} Z = ( X μ ) / σ {\textstyle Z=(X-\mu )/\sigma }

Momentos

Los momentos simples y absolutos de una variable son los valores esperados de y , respectivamente. Si el valor esperado de es cero, estos parámetros se denominan momentos centrales; de lo contrario, estos parámetros se denominan momentos no centrales. Por lo general, solo nos interesan los momentos con orden entero . X {\textstyle X} X p {\textstyle X^{p}} | X | p {\textstyle |X|^{p}} μ {\textstyle \mu } X {\textstyle X}   p {\textstyle \ p}

Si tiene una distribución normal, los momentos no centrales existen y son finitos para cualquier número cuya parte real sea mayor que −1. Para cualquier entero no negativo , los momentos centrales simples son: [23] Aquí denota el factorial doble , es decir, el producto de todos los números de a 1 que tienen la misma paridad que X {\textstyle X} p {\textstyle p} p {\textstyle p} E [ ( X μ ) p ] = { 0 if  p  is odd, σ p ( p 1 ) ! ! if  p  is even. {\displaystyle \operatorname {E} \left[(X-\mu )^{p}\right]={\begin{cases}0&{\text{if }}p{\text{ is odd,}}\\\sigma ^{p}(p-1)!!&{\text{if }}p{\text{ is even.}}\end{cases}}} n ! ! {\textstyle n!!} n {\textstyle n} n . {\textstyle n.}

Los momentos absolutos centrales coinciden con los momentos simples para todos los órdenes pares, pero son distintos de cero para los órdenes impares. Para cualquier entero no negativo p , {\textstyle p,}

E [ | X μ | p ] = σ p ( p 1 ) ! ! { 2 π if  p  is odd 1 if  p  is even = σ p 2 p / 2 Γ ( p + 1 2 ) π . {\displaystyle {\begin{aligned}\operatorname {E} \left[|X-\mu |^{p}\right]&=\sigma ^{p}(p-1)!!\cdot {\begin{cases}{\sqrt {\frac {2}{\pi }}}&{\text{if }}p{\text{ is odd}}\\1&{\text{if }}p{\text{ is even}}\end{cases}}\\&=\sigma ^{p}\cdot {\frac {2^{p/2}\Gamma \left({\frac {p+1}{2}}\right)}{\sqrt {\pi }}}.\end{aligned}}} La última fórmula es válida también para cualquier número no entero. Cuando la media de los momentos simples y absolutos se pueden expresar en términos de funciones hipergeométricas confluentes y [24] p > 1. {\textstyle p>-1.} μ 0 , {\textstyle \mu \neq 0,} 1 F 1 {\textstyle {}_{1}F_{1}} U . {\textstyle U.}

E [ X p ] = σ p ( i 2 ) p U ( p 2 , 1 2 , 1 2 ( μ σ ) 2 ) , E [ | X | p ] = σ p 2 p / 2 Γ ( 1 + p 2 ) π 1 F 1 ( p 2 , 1 2 , 1 2 ( μ σ ) 2 ) . {\displaystyle {\begin{aligned}\operatorname {E} \left[X^{p}\right]&=\sigma ^{p}\cdot (-i{\sqrt {2}})^{p}U\left(-{\frac {p}{2}},{\frac {1}{2}},-{\frac {1}{2}}\left({\frac {\mu }{\sigma }}\right)^{2}\right),\\\operatorname {E} \left[|X|^{p}\right]&=\sigma ^{p}\cdot 2^{p/2}{\frac {\Gamma \left({\frac {1+p}{2}}\right)}{\sqrt {\pi }}}{}_{1}F_{1}\left(-{\frac {p}{2}},{\frac {1}{2}},-{\frac {1}{2}}\left({\frac {\mu }{\sigma }}\right)^{2}\right).\end{aligned}}}

Estas expresiones siguen siendo válidas incluso si no es un número entero. Véase también polinomios de Hermite generalizados . p {\textstyle p}

La esperanza de condicionada al evento que se encuentra en un intervalo está dada por donde y respectivamente son la densidad y la función de distribución acumulada de . Esto se conoce como el coeficiente de Mills inverso . Tenga en cuenta que anteriormente, se utiliza la densidad de en lugar de la densidad normal estándar como en el coeficiente de Mills inverso, por lo que aquí tenemos en lugar de . X {\textstyle X} X {\textstyle X} [ a , b ] {\textstyle [a,b]} E [ X a < X < b ] = μ σ 2 f ( b ) f ( a ) F ( b ) F ( a ) , {\displaystyle \operatorname {E} \left[X\mid a<X<b\right]=\mu -\sigma ^{2}{\frac {f(b)-f(a)}{F(b)-F(a)}}\,,} f {\textstyle f} F {\textstyle F} X {\textstyle X} b = {\textstyle b=\infty } f {\textstyle f} X {\textstyle X} σ 2 {\textstyle \sigma ^{2}} σ {\textstyle \sigma }

Transformada de Fourier y función característica

La transformada de Fourier de una densidad normal con media y varianza es [25] f {\textstyle f} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}}

f ^ ( t ) = f ( x ) e i t x d x = e i μ t e 1 2 ( σ t ) 2 , {\displaystyle {\hat {f}}(t)=\int _{-\infty }^{\infty }f(x)e^{-itx}\,dx=e^{-i\mu t}e^{-{\frac {1}{2}}(\sigma t)^{2}}\,,}

donde es la unidad imaginaria . Si la media , el primer factor es 1, y la transformada de Fourier es, además de un factor constante, una densidad normal en el dominio de la frecuencia , con media 0 y varianza . En particular, la distribución normal estándar es una función propia de la transformada de Fourier. i {\textstyle i} μ = 0 {\textstyle \mu =0} 1 / σ 2 {\textstyle 1/\sigma ^{2}} φ {\textstyle \varphi }

En teoría de la probabilidad, la transformada de Fourier de la distribución de probabilidad de una variable aleatoria de valor real está estrechamente relacionada con la función característica de esa variable, que se define como el valor esperado de , en función de la variable real (el parámetro de frecuencia de la transformada de Fourier). Esta definición se puede extender analíticamente a una variable de valor complejo . [26] La relación entre ambas es: X {\textstyle X} φ X ( t ) {\textstyle \varphi _{X}(t)} e i t X {\textstyle e^{itX}} t {\textstyle t} t {\textstyle t} φ X ( t ) = f ^ ( t ) . {\displaystyle \varphi _{X}(t)={\hat {f}}(-t)\,.}

Funciones generadoras de momentos y cumulantes

La función generadora de momentos de una variable aleatoria real es el valor esperado de , en función del parámetro real . Para una distribución normal con densidad , media y varianza , la función generadora de momentos existe y es igual a X {\textstyle X} e t X {\textstyle e^{tX}} t {\textstyle t} f {\textstyle f} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}}

M ( t ) = E [ e t X ] = f ^ ( i t ) = e μ t e σ 2 t 2 / 2 . {\displaystyle M(t)=\operatorname {E} \left[e^{tX}\right]={\hat {f}}(it)=e^{\mu t}e^{\sigma ^{2}t^{2}/2}\,.} Para cualquier k {\displaystyle k} , el coeficiente de t k / k ! {\displaystyle t^{k}/k!} en la función generadora de momentos (expresada como una serie de potencia exponencial en t {\displaystyle t} ) es el valor esperado de la distribución normal E [ X k ] {\displaystyle E[X^{k}]} .

La función generadora cumulante es el logaritmo de la función generadora de momentos, es decir

g ( t ) = ln M ( t ) = μ t + 1 2 σ 2 t 2 . {\displaystyle g(t)=\ln M(t)=\mu t+{\tfrac {1}{2}}\sigma ^{2}t^{2}\,.}

Los coeficientes de esta serie de potencias exponenciales definen los cumulantes, pero como se trata de un polinomio cuadrático en t {\displaystyle t} , solo los dos primeros cumulantes son distintos de cero, es decir, la media  y la varianza  . μ {\textstyle \mu } σ 2 {\displaystyle \sigma ^{2}}

Algunos autores prefieren trabajar con la función característica E[ e itX ] = e iμtσ 2 t 2 /2 y ln E[ e itX ] = iμt1/2σ2t2 .

Operador y clase Stein

Dentro del método de Stein, el operador de Stein y la clase de una variable aleatoria son y la clase de todas las funciones absolutamente continuas . X N ( μ , σ 2 ) {\textstyle X\sim {\mathcal {N}}(\mu ,\sigma ^{2})} A f ( x ) = σ 2 f ( x ) ( x μ ) f ( x ) {\textstyle {\mathcal {A}}f(x)=\sigma ^{2}f'(x)-(x-\mu )f(x)} F {\textstyle {\mathcal {F}}} f : R R  such that  E [ | f ( X ) | ] < {\textstyle f:\mathbb {R} \to \mathbb {R} {\mbox{ such that }}\mathbb {E} [|f'(X)|]<\infty }

Límite de varianza cero

En el límite cuando tiende a cero, la densidad de probabilidad tiende eventualmente a cero en cualquier , pero crece sin límite si , mientras que su integral permanece igual a 1. Por lo tanto, la distribución normal no puede definirse como una función ordinaria cuando . σ 2 {\textstyle \sigma ^{2}} f ( x ) {\textstyle f(x)} x μ {\textstyle x\neq \mu } x = μ {\textstyle x=\mu } σ 2 = 0 {\textstyle \sigma ^{2}=0}

Sin embargo, se puede definir la distribución normal con varianza cero como una función generalizada ; específicamente, como una función delta de Dirac traducida por la media , es decir Su función de distribución acumulativa es entonces la función escalón de Heaviside traducida por la media , es decir δ {\textstyle \delta } μ {\textstyle \mu } f ( x ) = δ ( x μ ) . {\textstyle f(x)=\delta (x-\mu ).} μ {\textstyle \mu } F ( x ) = { 0 if  x < μ 1 if  x μ . {\displaystyle F(x)={\begin{cases}0&{\text{if }}x<\mu \\1&{\text{if }}x\geq \mu \,.\end{cases}}}

Entropía máxima

De todas las distribuciones de probabilidad sobre los números reales con una media finita especificada y una varianza finita  , la distribución normal es la que tiene una entropía máxima . [27] Para ver esto, sea una variable aleatoria continua con densidad de probabilidad . La entropía de se define como [28] [29] [30] μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} N ( μ , σ 2 ) {\textstyle N(\mu ,\sigma ^{2})} X {\textstyle X} f ( x ) {\textstyle f(x)} X {\textstyle X} H ( X ) = f ( x ) ln f ( x ) d x , {\displaystyle H(X)=-\int _{-\infty }^{\infty }f(x)\ln f(x)\,dx\,,}

donde se entiende que es cero siempre que . Esta función se puede maximizar, sujeta a las restricciones de que la distribución esté correctamente normalizada y tenga una media y varianza especificadas, mediante el uso del cálculo variacional . Se define una función con tres multiplicadores de Lagrange : f ( x ) log f ( x ) {\textstyle f(x)\log f(x)} f ( x ) = 0 {\textstyle f(x)=0}

L = f ( x ) ln f ( x ) d x λ 0 ( 1 f ( x ) d x ) λ 1 ( μ f ( x ) x d x ) λ 2 ( σ 2 f ( x ) ( x μ ) 2 d x ) . {\displaystyle L=-\int _{-\infty }^{\infty }f(x)\ln f(x)\,dx-\lambda _{0}\left(1-\int _{-\infty }^{\infty }f(x)\,dx\right)-\lambda _{1}\left(\mu -\int _{-\infty }^{\infty }f(x)x\,dx\right)-\lambda _{2}\left(\sigma ^{2}-\int _{-\infty }^{\infty }f(x)(x-\mu )^{2}\,dx\right)\,.}

Con máxima entropía, una pequeña variación de producirá una variación de que es igual a 0: δ f ( x ) {\textstyle \delta f(x)} f ( x ) {\textstyle f(x)} δ L {\textstyle \delta L} L {\textstyle L}

0 = δ L = δ f ( x ) ( ln f ( x ) 1 + λ 0 + λ 1 x + λ 2 ( x μ ) 2 ) d x . {\displaystyle 0=\delta L=\int _{-\infty }^{\infty }\delta f(x)\left(-\ln f(x)-1+\lambda _{0}+\lambda _{1}x+\lambda _{2}(x-\mu )^{2}\right)\,dx\,.}

Dado que esto debe ser válido para cualquier α pequeño , el factor que se multiplica debe ser cero, y al resolver se obtiene: δ f ( x ) {\textstyle \delta f(x)} δ f ( x ) {\textstyle \delta f(x)} f ( x ) {\textstyle f(x)}

f ( x ) = exp ( 1 + λ 0 + λ 1 x + λ 2 ( x μ ) 2 ) . {\displaystyle f(x)=\exp \left(-1+\lambda _{0}+\lambda _{1}x+\lambda _{2}(x-\mu )^{2}\right)\,.}

Las restricciones de Lagrange que están correctamente normalizadas y tienen la media y varianza especificadas se satisfacen si y solo si , , y se eligen de modo que La entropía de una distribución normal es igual a que es independiente de la media . f ( x ) {\textstyle f(x)} λ 0 {\textstyle \lambda _{0}} λ 1 {\textstyle \lambda _{1}} λ 2 {\textstyle \lambda _{2}} f ( x ) = 1 2 π σ 2 e ( x μ ) 2 2 σ 2 . {\displaystyle f(x)={\frac {1}{\sqrt {2\pi \sigma ^{2}}}}e^{-{\frac {(x-\mu )^{2}}{2\sigma ^{2}}}}\,.} X N ( μ , σ 2 ) {\textstyle X\sim N(\mu ,\sigma ^{2})} H ( X ) = 1 2 ( 1 + ln 2 σ 2 π ) , {\displaystyle H(X)={\tfrac {1}{2}}(1+\ln 2\sigma ^{2}\pi )\,,} μ {\textstyle \mu }

Otras propiedades

  1. Si la función característica de alguna variable aleatoria es de la forma en un entorno de cero, donde es un polinomio , entonces el teorema de Marcinkiewicz (llamado así por Józef Marcinkiewicz ) afirma que puede ser como máximo un polinomio cuadrático y, por lo tanto, es una variable aleatoria normal. [31] La consecuencia de este resultado es que la distribución normal es la única distribución con un número finito (dos) de cumulantes distintos de cero . ϕ X {\textstyle \phi _{X}} X {\textstyle X} ϕ X ( t ) = exp Q ( t ) {\textstyle \phi _{X}(t)=\exp Q(t)} Q ( t ) {\textstyle Q(t)} Q {\textstyle Q} X {\textstyle X}
  2. Si y son conjuntamente normales y no correlacionados , entonces son independientes . El requisito de que y sean conjuntamente normales es esencial; sin él la propiedad no se cumple. [32] [33] [prueba] Para las variables aleatorias no normales, la no correlación no implica independencia. X {\textstyle X} Y {\textstyle Y} X {\textstyle X} Y {\textstyle Y}
  3. La divergencia de Kullback-Leibler de una distribución normal respecto de otra está dada por: [34] La distancia de Hellinger entre las mismas distribuciones es igual a X 1 N ( μ 1 , σ 1 2 ) {\textstyle X_{1}\sim N(\mu _{1},\sigma _{1}^{2})} X 2 N ( μ 2 , σ 2 2 ) {\textstyle X_{2}\sim N(\mu _{2},\sigma _{2}^{2})} D K L ( X 1 X 2 ) = ( μ 1 μ 2 ) 2 2 σ 2 2 + 1 2 ( σ 1 2 σ 2 2 1 ln σ 1 2 σ 2 2 ) {\displaystyle D_{\mathrm {KL} }(X_{1}\parallel X_{2})={\frac {(\mu _{1}-\mu _{2})^{2}}{2\sigma _{2}^{2}}}+{\frac {1}{2}}\left({\frac {\sigma _{1}^{2}}{\sigma _{2}^{2}}}-1-\ln {\frac {\sigma _{1}^{2}}{\sigma _{2}^{2}}}\right)} H 2 ( X 1 , X 2 ) = 1 2 σ 1 σ 2 σ 1 2 + σ 2 2 exp ( 1 4 ( μ 1 μ 2 ) 2 σ 1 2 + σ 2 2 ) {\displaystyle H^{2}(X_{1},X_{2})=1-{\sqrt {\frac {2\sigma _{1}\sigma _{2}}{\sigma _{1}^{2}+\sigma _{2}^{2}}}}\exp \left(-{\frac {1}{4}}{\frac {(\mu _{1}-\mu _{2})^{2}}{\sigma _{1}^{2}+\sigma _{2}^{2}}}\right)}
  4. La matriz de información de Fisher para una distribución normal con respecto a y es diagonal y toma la forma μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} I ( μ , σ 2 ) = ( 1 σ 2 0 0 1 2 σ 4 ) {\displaystyle {\mathcal {I}}(\mu ,\sigma ^{2})={\begin{pmatrix}{\frac {1}{\sigma ^{2}}}&0\\0&{\frac {1}{2\sigma ^{4}}}\end{pmatrix}}}
  5. La distribución conjugada anterior de la media de una distribución normal es otra distribución normal. [35] Específicamente, si son iid y la distribución anterior es , entonces la distribución posterior para el estimador de será x 1 , , x n {\textstyle x_{1},\ldots ,x_{n}} N ( μ , σ 2 ) {\textstyle \sim N(\mu ,\sigma ^{2})} μ N ( μ 0 , σ 0 2 ) {\textstyle \mu \sim N(\mu _{0},\sigma _{0}^{2})} μ {\textstyle \mu } μ x 1 , , x n N ( σ 2 n μ 0 + σ 0 2 x ¯ σ 2 n + σ 0 2 , ( n σ 2 + 1 σ 0 2 ) 1 ) {\displaystyle \mu \mid x_{1},\ldots ,x_{n}\sim {\mathcal {N}}\left({\frac {{\frac {\sigma ^{2}}{n}}\mu _{0}+\sigma _{0}^{2}{\bar {x}}}{{\frac {\sigma ^{2}}{n}}+\sigma _{0}^{2}}},\left({\frac {n}{\sigma ^{2}}}+{\frac {1}{\sigma _{0}^{2}}}\right)^{-1}\right)}
  6. La familia de distribuciones normales no solo forma una familia exponencial (EF), sino que de hecho forma una familia exponencial natural (NEF) con función de varianza cuadrática ( NEF-QVF ). Muchas propiedades de las distribuciones normales se generalizan a propiedades de las distribuciones NEF-QVF, distribuciones NEF o distribuciones EF en general. Las distribuciones NEF-QVF comprenden 6 familias, incluidas las distribuciones Poisson, Gamma, binomial y binomial negativa, mientras que muchas de las familias comunes estudiadas en probabilidad y estadística son NEF o EF.
  7. En geometría de la información , la familia de distribuciones normales forma una variedad estadística con curvatura constante . La misma familia es plana con respecto a las conexiones (±1) y . [36] 1 {\textstyle -1} ( e ) {\textstyle \nabla ^{(e)}} ( m ) {\textstyle \nabla ^{(m)}}
  8. Si se distribuyen según , entonces . Nótese que no hay ningún supuesto de independencia. [37] X 1 , , X n {\textstyle X_{1},\dots ,X_{n}} N ( 0 , σ 2 ) {\textstyle N(0,\sigma ^{2})} E [ max i X i ] σ 2 ln n {\textstyle E[\max _{i}X_{i}]\leq \sigma {\sqrt {2\ln n}}}

Teorema del límite central

A medida que aumenta el número de eventos discretos, la función comienza a parecerse a una distribución normal.
Comparación de funciones de densidad de probabilidad para la suma de dados de 6 caras para mostrar su convergencia a una distribución normal con un aumento de , de acuerdo con el teorema del límite central. En el gráfico inferior derecho, los perfiles suavizados de los gráficos anteriores se reescalan, se superponen y se comparan con una distribución normal (curva negra). p ( k ) {\textstyle p(k)} n {\textstyle n} n a {\textstyle na}

El teorema del límite central establece que, en determinadas condiciones (bastante comunes), la suma de muchas variables aleatorias tendrá una distribución aproximadamente normal. Más específicamente, donde son variables aleatorias independientes e idénticamente distribuidas con la misma distribución arbitraria, media y varianza cero y su media está escalada por Entonces, a medida que aumenta, la distribución de probabilidad de tenderá a la distribución normal con media y varianza cero . X 1 , , X n {\textstyle X_{1},\ldots ,X_{n}} σ 2 {\textstyle \sigma ^{2}} Z {\textstyle Z} n {\textstyle {\sqrt {n}}} Z = n ( 1 n i = 1 n X i ) {\displaystyle Z={\sqrt {n}}\left({\frac {1}{n}}\sum _{i=1}^{n}X_{i}\right)} n {\textstyle n} Z {\textstyle Z} σ 2 {\textstyle \sigma ^{2}}

El teorema puede extenderse a variables que no son independientes y/o no están distribuidas idénticamente si se imponen ciertas restricciones al grado de dependencia y a los momentos de las distribuciones. ( X i ) {\textstyle (X_{i})}

Muchas estadísticas de prueba , puntuaciones y estimadores que se encuentran en la práctica contienen sumas de ciertas variables aleatorias, e incluso más estimadores pueden representarse como sumas de variables aleatorias mediante el uso de funciones de influencia . El teorema del límite central implica que esos parámetros estadísticos tendrán distribuciones asintóticamente normales.

El teorema del límite central también implica que ciertas distribuciones pueden aproximarse mediante la distribución normal, por ejemplo:

  • La distribución binomial es aproximadamente normal con media y varianza grandes y no demasiado cercanas a 0 o 1. B ( n , p ) {\textstyle B(n,p)} n p {\textstyle np} n p ( 1 p ) {\textstyle np(1-p)} n {\textstyle n} p {\textstyle p}
  • La distribución de Poisson con parámetro es aproximadamente normal con media y varianza , para valores grandes de . [38] λ {\textstyle \lambda } λ {\textstyle \lambda } λ {\textstyle \lambda } λ {\textstyle \lambda }
  • La distribución de chi-cuadrado es aproximadamente normal con media y varianza , para valores grandes . χ 2 ( k ) {\textstyle \chi ^{2}(k)} k {\textstyle k} 2 k {\textstyle 2k} k {\textstyle k}
  • La distribución t de Student es aproximadamente normal con media 0 y varianza 1 cuando es grande. t ( ν ) {\textstyle t(\nu )} ν {\textstyle \nu }

La precisión de estas aproximaciones depende del propósito para el que se necesitan y de la tasa de convergencia a la distribución normal. Normalmente, estas aproximaciones son menos precisas en los extremos de la distribución.

El teorema de Berry-Esseen proporciona un límite superior general para el error de aproximación en el teorema del límite central y las expansiones de Edgeworth proporcionan mejoras en la aproximación .

Este teorema también se puede utilizar para justificar la modelización de la suma de muchas fuentes de ruido uniformes como ruido gaussiano . Véase AWGN .

Operaciones y funciones de variables normales

a: Densidad de probabilidad de una función de una variable normal con y . b: Densidad de probabilidad de una función de dos variables normales y , donde , , , , y . c: Mapa de calor de la densidad de probabilidad conjunta de dos funciones de dos variables normales correlacionadas y , donde , , , , y . d: Densidad de probabilidad de una función de 4 variables normales estándar iid. Estas se calculan mediante el método numérico de trazado de rayos. [39] cos x 2 {\textstyle \cos x^{2}} x {\textstyle x} μ = 2 {\textstyle \mu =-2} σ = 3 {\textstyle \sigma =3} x y {\textstyle x^{y}} x {\textstyle x} y {\textstyle y} μ x = 1 {\textstyle \mu _{x}=1} μ y = 2 {\textstyle \mu _{y}=2} σ x = 0.1 {\textstyle \sigma _{x}=0.1} σ y = 0.2 {\textstyle \sigma _{y}=0.2} ρ x y = 0.8 {\textstyle \rho _{xy}=0.8} x {\textstyle x} y {\textstyle y} μ x = 2 {\textstyle \mu _{x}=-2} μ y = 5 {\textstyle \mu _{y}=5} σ x 2 = 10 {\textstyle \sigma _{x}^{2}=10} σ y 2 = 20 {\textstyle \sigma _{y}^{2}=20} ρ x y = 0.495 {\textstyle \rho _{xy}=0.495} i = 1 4 | x i | {\textstyle \sum _{i=1}^{4}\vert x_{i}\vert }

La densidad de probabilidad , la distribución acumulativa y la distribución acumulativa inversa de cualquier función de una o más variables normales independientes o correlacionadas se pueden calcular con el método numérico de trazado de rayos [39] (código Matlab). En las siguientes secciones, analizamos algunos casos especiales.

Operaciones sobre una sola variable normal

Si se distribuye normalmente con media y varianza , entonces X {\textstyle X} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}}

  • a X + b {\textstyle aX+b} , para cualquier número real y , también se distribuye normalmente, con media y varianza . Es decir, la familia de distribuciones normales está cerrada ante transformaciones lineales . a {\textstyle a} b {\textstyle b} a μ + b {\textstyle a\mu +b} a 2 σ 2 {\textstyle a^{2}\sigma ^{2}}
  • La exponencial de se distribuye log-normalmente : . X {\textstyle X} e X ln ( N ( μ , σ 2 ) ) {\textstyle e^{X}\sim \ln(N(\mu ,\sigma ^{2}))}
  • La sigmoide estándar de tiene una distribución logit-normal : . X {\textstyle X} σ ( X ) P ( N ( μ , σ 2 ) ) {\textstyle \sigma (X)\sim P({\mathcal {N}}(\mu ,\,\sigma ^{2}))}
  • El valor absoluto de tiene una distribución normal plegada : . Si esto se conoce como distribución seminormal . X {\textstyle X} | X | N f ( μ , σ 2 ) {\textstyle {\left|X\right|\sim N_{f}(\mu ,\sigma ^{2})}} μ = 0 {\textstyle \mu =0}
  • El valor absoluto de los residuos normalizados, , tiene distribución chi con un grado de libertad: . | X μ | / σ {\textstyle |X-\mu |/\sigma } | X μ | / σ χ 1 {\textstyle |X-\mu |/\sigma \sim \chi _{1}}
  • El cuadrado de tiene una distribución chi-cuadrado no central con un grado de libertad: . Si , la distribución se denomina simplemente chi-cuadrado . X / σ {\textstyle X/\sigma } X 2 / σ 2 χ 1 2 ( μ 2 / σ 2 ) {\textstyle X^{2}/\sigma ^{2}\sim \chi _{1}^{2}(\mu ^{2}/\sigma ^{2})} μ = 0 {\textstyle \mu =0}
  • La verosimilitud logarítmica de una variable normal es simplemente el logaritmo de su función de densidad de probabilidad : dado que se trata de un cuadrado escalado y desplazado de una variable normal estándar, se distribuye como una variable chi-cuadrado escalada y desplazada. x {\textstyle x} ln p ( x ) = 1 2 ( x μ σ ) 2 ln ( σ 2 π ) . {\displaystyle \ln p(x)=-{\frac {1}{2}}\left({\frac {x-\mu }{\sigma }}\right)^{2}-\ln \left(\sigma {\sqrt {2\pi }}\right).}
  • La distribución de la variable restringida a un intervalo se denomina distribución normal truncada . X {\textstyle X} [ a , b ] {\textstyle [a,b]}
  • ( X μ ) 2 {\textstyle (X-\mu )^{-2}} tiene una distribución de Lévy con ubicación 0 y escala . σ 2 {\textstyle \sigma ^{-2}}
Operaciones sobre dos variables normales independientes
  • Si y son dos variables aleatorias normales independientes , con medias , y varianzas , , entonces su suma también se distribuirá normalmente, [prueba] con media y varianza . X 1 {\textstyle X_{1}} X 2 {\textstyle X_{2}} μ 1 {\textstyle \mu _{1}} μ 2 {\textstyle \mu _{2}} σ 1 2 {\textstyle \sigma _{1}^{2}} σ 2 2 {\textstyle \sigma _{2}^{2}} X 1 + X 2 {\textstyle X_{1}+X_{2}} μ 1 + μ 2 {\textstyle \mu _{1}+\mu _{2}} σ 1 2 + σ 2 2 {\textstyle \sigma _{1}^{2}+\sigma _{2}^{2}}
  • En particular, si y son desviaciones normales independientes con media y varianza cero , entonces y también son independientes y se distribuyen normalmente, con media y varianza cero . Este es un caso especial de la identidad de polarización . [40] X {\textstyle X} Y {\textstyle Y} σ 2 {\textstyle \sigma ^{2}} X + Y {\textstyle X+Y} X Y {\textstyle X-Y} 2 σ 2 {\textstyle 2\sigma ^{2}}
  • Si , son dos desviaciones normales independientes con media y varianza , y , son números reales arbitrarios, entonces la variable también se distribuye normalmente con media y varianza . De ello se deduce que la distribución normal es estable (con exponente ). X 1 {\textstyle X_{1}} X 2 {\textstyle X_{2}} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} a {\textstyle a} b {\textstyle b} X 3 = a X 1 + b X 2 ( a + b ) μ a 2 + b 2 + μ {\displaystyle X_{3}={\frac {aX_{1}+bX_{2}-(a+b)\mu }{\sqrt {a^{2}+b^{2}}}}+\mu } μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} α = 2 {\textstyle \alpha =2}
  • Si , son distribuciones normales, entonces su media geométrica normalizada es una distribución normal con y (ver aquí para una visualización). X k N ( m k , σ k 2 ) {\textstyle X_{k}\sim {\mathcal {N}}(m_{k},\sigma _{k}^{2})} k { 0 , 1 } {\textstyle k\in \{0,1\}} 1 R n X 0 α ( x ) X 1 1 α ( x ) d x X 0 α X 1 1 α {\textstyle {\frac {1}{\int _{\mathbb {R} ^{n}}X_{0}^{\alpha }(x)X_{1}^{1-\alpha }(x)\,{\text{d}}x}}X_{0}^{\alpha }X_{1}^{1-\alpha }} N ( m α , σ α 2 ) {\textstyle {\mathcal {N}}(m_{\alpha },\sigma _{\alpha }^{2})} m α = α m 0 σ 1 2 + ( 1 α ) m 1 σ 0 2 α σ 1 2 + ( 1 α ) σ 0 2 {\textstyle m_{\alpha }={\frac {\alpha m_{0}\sigma _{1}^{2}+(1-\alpha )m_{1}\sigma _{0}^{2}}{\alpha \sigma _{1}^{2}+(1-\alpha )\sigma _{0}^{2}}}} σ α 2 = σ 0 2 σ 1 2 α σ 1 2 + ( 1 α ) σ 0 2 {\textstyle \sigma _{\alpha }^{2}={\frac {\sigma _{0}^{2}\sigma _{1}^{2}}{\alpha \sigma _{1}^{2}+(1-\alpha )\sigma _{0}^{2}}}}
Operaciones sobre dos variables normales estándar independientes

Si y son dos variables aleatorias normales estándar independientes con media 0 y varianza 1, entonces X 1 {\textstyle X_{1}} X 2 {\textstyle X_{2}}

  • Su suma y diferencia se distribuyen normalmente con media cero y varianza dos: . X 1 ± X 2 N ( 0 , 2 ) {\textstyle X_{1}\pm X_{2}\sim {\mathcal {N}}(0,2)}
  • Su producto sigue la distribución de producto [41] con función de densidad donde es la función de Bessel modificada de segundo tipo . Esta distribución es simétrica alrededor de cero, ilimitada en , y tiene la función característica . Z = X 1 X 2 {\textstyle Z=X_{1}X_{2}} f Z ( z ) = π 1 K 0 ( | z | ) {\textstyle f_{Z}(z)=\pi ^{-1}K_{0}(|z|)} K 0 {\textstyle K_{0}} z = 0 {\textstyle z=0} ϕ Z ( t ) = ( 1 + t 2 ) 1 / 2 {\textstyle \phi _{Z}(t)=(1+t^{2})^{-1/2}}
  • Su relación sigue la distribución estándar de Cauchy : . X 1 / X 2 Cauchy ( 0 , 1 ) {\textstyle X_{1}/X_{2}\sim \operatorname {Cauchy} (0,1)}
  • Su norma euclidiana tiene la distribución de Rayleigh . X 1 2 + X 2 2 {\textstyle {\sqrt {X_{1}^{2}+X_{2}^{2}}}}

Operaciones sobre múltiples variables normales independientes

  • Cualquier combinación lineal de desviaciones normales independientes es una desviación normal.
  • Si son variables aleatorias normales estándar independientes, entonces la suma de sus cuadrados tiene la distribución de chi-cuadrado con grados de libertad. X 1 , X 2 , , X n {\textstyle X_{1},X_{2},\ldots ,X_{n}} n {\textstyle n} X 1 2 + + X n 2 χ n 2 . {\displaystyle X_{1}^{2}+\cdots +X_{n}^{2}\sim \chi _{n}^{2}.}
  • Si son variables aleatorias independientes distribuidas normalmente con medias y varianzas , entonces su media muestral es independiente de la desviación estándar muestral , [42] lo que se puede demostrar utilizando el teorema de Basu o el teorema de Cochran . [43] La relación de estas dos cantidades tendrá la distribución t de Student con grados de libertad: X 1 , X 2 , , X n {\textstyle X_{1},X_{2},\ldots ,X_{n}} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} n 1 {\textstyle n-1} t = X ¯ μ S / n = 1 n ( X 1 + + X n ) μ 1 n ( n 1 ) [ ( X 1 X ¯ ) 2 + + ( X n X ¯ ) 2 ] t n 1 . {\displaystyle t={\frac {{\overline {X}}-\mu }{S/{\sqrt {n}}}}={\frac {{\frac {1}{n}}(X_{1}+\cdots +X_{n})-\mu }{\sqrt {{\frac {1}{n(n-1)}}\left[(X_{1}-{\overline {X}})^{2}+\cdots +(X_{n}-{\overline {X}})^{2}\right]}}}\sim t_{n-1}.}
  • Si , son variables aleatorias normales estándar independientes, entonces la relación de sus sumas de cuadrados normalizadas tendrá la distribución F con ( n , m ) grados de libertad: [44] X 1 , X 2 , , X n {\textstyle X_{1},X_{2},\ldots ,X_{n}} Y 1 , Y 2 , , Y m {\textstyle Y_{1},Y_{2},\ldots ,Y_{m}} F = ( X 1 2 + X 2 2 + + X n 2 ) / n ( Y 1 2 + Y 2 2 + + Y m 2 ) / m F n , m . {\displaystyle F={\frac {\left(X_{1}^{2}+X_{2}^{2}+\cdots +X_{n}^{2}\right)/n}{\left(Y_{1}^{2}+Y_{2}^{2}+\cdots +Y_{m}^{2}\right)/m}}\sim F_{n,m}.}

Operaciones sobre múltiples variables normales correlacionadas

  • Una forma cuadrática de un vector normal, es decir, una función cuadrática de múltiples variables normales independientes o correlacionadas, es una variable de chi-cuadrado generalizada . q = x i 2 + x j + c {\textstyle q=\sum x_{i}^{2}+\sum x_{j}+c}

Operaciones sobre la función de densidad

La distribución normal dividida se define de manera más directa en términos de unir secciones escaladas de las funciones de densidad de diferentes distribuciones normales y reescalar la densidad para integrarla en una sola. La distribución normal truncada resulta de reescalar una sección de una sola función de densidad.

Divisibilidad infinita y teorema de Cramér

Para cualquier entero positivo , cualquier distribución normal con media y varianza es la distribución de la suma de desviaciones normales independientes, cada una con media y varianza . Esta propiedad se llama divisibilidad infinita . [45] n {\textstyle {\text{n}}} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} n {\textstyle {\text{n}}} μ n {\textstyle {\frac {\mu }{n}}} σ 2 n {\textstyle {\frac {\sigma ^{2}}{n}}}

Por el contrario, si y son variables aleatorias independientes y su suma tiene una distribución normal, entonces tanto como deben ser desviaciones normales. [46] X 1 {\textstyle X_{1}} X 2 {\textstyle X_{2}} X 1 + X 2 {\textstyle X_{1}+X_{2}} X 1 {\textstyle X_{1}} X 2 {\textstyle X_{2}}

Este resultado se conoce como teorema de descomposición de Cramér y equivale a decir que la convolución de dos distribuciones es normal si y solo si ambas son normales. El teorema de Cramér implica que una combinación lineal de variables independientes no gaussianas nunca tendrá una distribución exactamente normal, aunque puede aproximarse a ella de forma arbitraria. [31]

El teorema de Kac-Bernstein

El teorema de Kac-Bernstein establece que si y son independientes y y también son independientes, entonces tanto X como Y deben tener necesariamente distribuciones normales. [47] [48] X {\textstyle X} Y {\textstyle Y} X + Y {\textstyle X+Y} X Y {\textstyle X-Y}

De manera más general, si son variables aleatorias independientes, entonces dos combinaciones lineales distintas y serán independientes si y solo si todas son normales y , donde denota la varianza de . [47] X 1 , , X n {\textstyle X_{1},\ldots ,X_{n}} a k X k {\textstyle \sum {a_{k}X_{k}}} b k X k {\textstyle \sum {b_{k}X_{k}}} X k {\textstyle X_{k}} a k b k σ k 2 = 0 {\textstyle \sum {a_{k}b_{k}\sigma _{k}^{2}=0}} σ k 2 {\textstyle \sigma _{k}^{2}} X k {\textstyle X_{k}}

Extensiones

El concepto de distribución normal, una de las distribuciones más importantes en la teoría de la probabilidad, se ha extendido mucho más allá del marco estándar del caso univariado (es decir, unidimensional) (caso 1). Todas estas extensiones también se denominan leyes normales o gaussianas , por lo que existe cierta ambigüedad en los nombres.

Una variable aleatoria X tiene una distribución normal de dos piezas si tiene una distribución

f X ( x ) = N ( μ , σ 1 2 )  if  x μ {\displaystyle f_{X}(x)=N(\mu ,\sigma _{1}^{2}){\text{ if }}x\leq \mu } f X ( x ) = N ( μ , σ 2 2 )  if  x μ {\displaystyle f_{X}(x)=N(\mu ,\sigma _{2}^{2}){\text{ if }}x\geq \mu }

donde μ es la media y σ 1 2 y σ 2 2 son las varianzas de la distribución a la izquierda y a la derecha de la media respectivamente.

Se han determinado la media, la varianza y el tercer momento central de esta distribución [49]

E ( X ) = μ + 2 π ( σ 2 σ 1 ) {\displaystyle \operatorname {E} (X)=\mu +{\sqrt {\frac {2}{\pi }}}(\sigma _{2}-\sigma _{1})} V ( X ) = ( 1 2 π ) ( σ 2 σ 1 ) 2 + σ 1 σ 2 {\displaystyle \operatorname {V} (X)=\left(1-{\frac {2}{\pi }}\right)(\sigma _{2}-\sigma _{1})^{2}+\sigma _{1}\sigma _{2}} T ( X ) = 2 π ( σ 2 σ 1 ) [ ( 4 π 1 ) ( σ 2 σ 1 ) 2 + σ 1 σ 2 ] {\displaystyle \operatorname {T} (X)={\sqrt {\frac {2}{\pi }}}(\sigma _{2}-\sigma _{1})\left[\left({\frac {4}{\pi }}-1\right)(\sigma _{2}-\sigma _{1})^{2}+\sigma _{1}\sigma _{2}\right]}

donde E( X ), V( X ) y T( X ) son la media, la varianza y el tercer momento central respectivamente.

Uno de los principales usos prácticos de la ley de Gauss es modelar las distribuciones empíricas de muchas variables aleatorias diferentes que se encuentran en la práctica. En tal caso, una posible extensión sería una familia más rica de distribuciones, que tuviera más de dos parámetros y, por lo tanto, pudiera ajustarse a la distribución empírica con mayor precisión. Los ejemplos de tales extensiones son:

  • Distribución de Pearson : una familia de distribuciones de probabilidad de cuatro parámetros que extienden la ley normal para incluir diferentes valores de asimetría y curtosis.
  • La distribución normal generalizada , también conocida como distribución de potencia exponencial, permite colas de distribución con comportamientos asintóticos más gruesos o más delgados.

Inferencia estadística

Estimación de parámetros

A menudo sucede que no conocemos los parámetros de la distribución normal, pero queremos estimarlos . Es decir, si tenemos una muestra de una población normal, nos gustaría conocer los valores aproximados de los parámetros y . El enfoque estándar para este problema es el método de máxima verosimilitud , que requiere maximizar la función de log-verosimilitud : ( x 1 , , x n ) {\textstyle (x_{1},\ldots ,x_{n})} N ( μ , σ 2 ) {\textstyle {\mathcal {N}}(\mu ,\sigma ^{2})} μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} ln L ( μ , σ 2 ) = i = 1 n ln f ( x i μ , σ 2 ) = n 2 ln ( 2 π ) n 2 ln σ 2 1 2 σ 2 i = 1 n ( x i μ ) 2 . {\displaystyle \ln {\mathcal {L}}(\mu ,\sigma ^{2})=\sum _{i=1}^{n}\ln f(x_{i}\mid \mu ,\sigma ^{2})=-{\frac {n}{2}}\ln(2\pi )-{\frac {n}{2}}\ln \sigma ^{2}-{\frac {1}{2\sigma ^{2}}}\sum _{i=1}^{n}(x_{i}-\mu )^{2}.} Tomando derivadas con respecto a y y resolviendo el sistema resultante de condiciones de primer orden se obtienen las estimaciones de máxima verosimilitud : μ {\textstyle \mu } σ 2 {\textstyle \sigma ^{2}} μ ^ = x ¯ 1 n i = 1 n x i , σ ^ 2 = 1 n i = 1 n ( x i x ¯ ) 2 . {\displaystyle {\hat {\mu }}={\overline {x}}\equiv {\frac {1}{n}}\sum _{i=1}^{n}x_{i},\qquad {\hat {\sigma }}^{2}={\frac {1}{n}}\sum _{i=1}^{n}(x_{i}-{\overline {x}})^{2}.}

Entonces es como sigue: ln L ( μ ^ , σ ^ 2 ) {\textstyle \ln {\mathcal {L}}({\hat {\mu }},{\hat {\sigma }}^{2})}

ln L ( μ ^ , σ ^ 2 ) = ( n / 2 ) [ ln ( 2 π σ ^ 2 ) + 1 ] {\displaystyle \ln {\mathcal {L}}({\hat {\mu }},{\hat {\sigma }}^{2})=(-n/2)[\ln(2\pi {\hat {\sigma }}^{2})+1]}

Media de la muestra

El estimador se denomina media muestral , ya que es la media aritmética de todas las observaciones. La estadística es completa y suficiente para , y por lo tanto, por el teorema de Lehmann-Scheffé , es el estimador insesgado de varianza mínima uniforme (UMVU). [50] En muestras finitas se distribuye normalmente: La varianza de este estimador es igual al elemento μμ de la matriz de información de Fisher inversa . Esto implica que el estimador es eficiente en muestras finitas . De importancia práctica es el hecho de que el error estándar de es proporcional a , es decir, si uno desea disminuir el error estándar en un factor de 10, uno debe aumentar el número de puntos en la muestra en un factor de 100. Este hecho se usa ampliamente para determinar los tamaños de muestra para encuestas de opinión y el número de ensayos en simulaciones de Monte Carlo . μ ^ {\displaystyle \textstyle {\hat {\mu }}} x ¯ {\displaystyle \textstyle {\overline {x}}} μ {\textstyle \mu } μ ^ {\displaystyle \textstyle {\hat {\mu }}} μ ^ N ( μ , σ 2 / n ) . {\displaystyle {\hat {\mu }}\sim {\mathcal {N}}(\mu ,\sigma ^{2}/n).} I 1 {\displaystyle \textstyle {\mathcal {I}}^{-1}} μ ^ {\displaystyle \textstyle {\hat {\mu }}} 1 / n {\displaystyle \textstyle 1/{\sqrt {n}}}

Desde el punto de vista de la teoría asintótica , es consistente , es decir, converge en probabilidad a cuando . El estimador también es asintóticamente normal , lo que es un corolario simple del hecho de que es normal en muestras finitas: μ ^ {\displaystyle \textstyle {\hat {\mu }}} μ {\textstyle \mu } n {\textstyle n\rightarrow \infty } n ( μ ^ μ ) d N ( 0 , σ 2 ) . {\displaystyle {\sqrt {n}}({\hat {\mu }}-\mu )\,\xrightarrow {d} \,{\mathcal {N}}(0,\sigma ^{2}).}

Varianza de la muestra

El estimador se denomina varianza muestral , ya que es la varianza de la muestra ( ). En la práctica, a menudo se utiliza otro estimador en lugar del . Este otro estimador se denota , y también se denomina varianza muestral , lo que representa una cierta ambigüedad en la terminología; su raíz cuadrada se denomina desviación estándar muestral . El estimador se diferencia de por tener ( n − 1) en lugar de  n en el denominador (la llamada corrección de Bessel ): La diferencia entre y se vuelve insignificantemente pequeña para n grandes . Sin embargo, en muestras finitas, la motivación detrás del uso de es que es un estimador insesgado del parámetro subyacente , mientras que está sesgado. Además, por el teorema de Lehmann-Scheffé, el estimador es uniformemente de varianza mínima insesgado ( UMVU ), [50] lo que lo convierte en el "mejor" estimador entre todos los insesgados. Sin embargo, se puede demostrar que el estimador sesgado es mejor que el en términos del criterio del error cuadrático medio (MSE). En muestras finitas, tanto y tienen una distribución chi-cuadrado escalada con ( n − 1) grados de libertad: La primera de estas expresiones muestra que la varianza de es igual a , que es ligeramente mayor que el elemento σσ de la matriz de información de Fisher inversa . Por lo tanto, no es un estimador eficiente para , y además, dado que es UMVU, podemos concluir que el estimador eficiente de muestra finita para no existe. σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} ( x 1 , , x n ) {\textstyle (x_{1},\ldots ,x_{n})} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 {\textstyle s^{2}} s {\textstyle s} s 2 {\textstyle s^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 = n n 1 σ ^ 2 = 1 n 1 i = 1 n ( x i x ¯ ) 2 . {\displaystyle s^{2}={\frac {n}{n-1}}{\hat {\sigma }}^{2}={\frac {1}{n-1}}\sum _{i=1}^{n}(x_{i}-{\overline {x}})^{2}.} s 2 {\textstyle s^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 {\textstyle s^{2}} σ 2 {\textstyle \sigma ^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 {\textstyle s^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 {\textstyle s^{2}} s 2 {\textstyle s^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} s 2 σ 2 n 1 χ n 1 2 , σ ^ 2 σ 2 n χ n 1 2 . {\displaystyle s^{2}\sim {\frac {\sigma ^{2}}{n-1}}\cdot \chi _{n-1}^{2},\qquad {\hat {\sigma }}^{2}\sim {\frac {\sigma ^{2}}{n}}\cdot \chi _{n-1}^{2}.} s 2 {\textstyle s^{2}} 2 σ 4 / ( n 1 ) {\textstyle 2\sigma ^{4}/(n-1)} I 1 {\displaystyle \textstyle {\mathcal {I}}^{-1}} s 2 {\textstyle s^{2}} σ 2 {\textstyle \sigma ^{2}} s 2 {\textstyle s^{2}} σ 2 {\textstyle \sigma ^{2}}

Aplicando la teoría asintótica, ambos estimadores y son consistentes, es decir, convergen en probabilidad a cuando el tamaño de la muestra es . Los dos estimadores también son asintóticamente normales: En particular, ambos estimadores son asintóticamente eficientes para . s 2 {\textstyle s^{2}} σ ^ 2 {\displaystyle \textstyle {\hat {\sigma }}^{2}} σ 2 {\textstyle \sigma ^{2}} n {\textstyle n\rightarrow \infty } n ( σ ^ 2 σ 2 ) n ( s 2 σ 2 ) d N ( 0 , 2 σ 4 ) . {\displaystyle {\sqrt {n}}({\hat {\sigma }}^{2}-\sigma ^{2})\simeq {\sqrt {n}}(s^{2}-\sigma ^{2})\,\xrightarrow {d} \,{\mathcal {N}}(0,2\sigma ^{4}).} σ 2 {\textstyle \sigma ^{2}}

Intervalos de confianza

Por el teorema de Cochran , para distribuciones normales la media muestral y la varianza muestral s 2 son independientes , lo que significa que no puede haber ganancia en considerar su distribución conjunta . También hay un teorema inverso: si en una muestra la media muestral y la varianza muestral son independientes, entonces la muestra debe provenir de la distribución normal. La independencia entre y s se puede emplear para construir el llamado estadístico t : Esta cantidad t tiene la distribución t de Student con ( n − 1) grados de libertad, y es un estadístico auxiliar (independiente del valor de los parámetros). Invertir la distribución de este estadístico t nos permitirá construir el intervalo de confianza para μ ; [51] de manera similar, invertir la distribución χ 2 del estadístico s 2 nos dará el intervalo de confianza para σ 2 : [52] donde t k,p y χ μ ^ {\displaystyle \textstyle {\hat {\mu }}} μ ^ {\displaystyle \textstyle {\hat {\mu }}} t = μ ^ μ s / n = x ¯ μ 1 n ( n 1 ) ( x i x ¯ ) 2 t n 1 {\displaystyle t={\frac {{\hat {\mu }}-\mu }{s/{\sqrt {n}}}}={\frac {{\overline {x}}-\mu }{\sqrt {{\frac {1}{n(n-1)}}\sum (x_{i}-{\overline {x}})^{2}}}}\sim t_{n-1}} μ [ μ ^ t n 1 , 1 α / 2 n s , μ ^ + t n 1 , 1 α / 2 n s ] , {\displaystyle \mu \in \left[{\hat {\mu }}-{\frac {t_{n-1,1-\alpha /2}}{\sqrt {n}}}s,\,{\hat {\mu }}+{\frac {t_{n-1,1-\alpha /2}}{\sqrt {n}}}s\right],} σ 2 [ n 1 χ n 1 , 1 α / 2 2 s 2 , n 1 χ n 1 , α / 2 2 s 2 ] , {\displaystyle \sigma ^{2}\in \left[{\frac {n-1}{\chi _{n-1,1-\alpha /2}^{2}}}s^{2},\,{\frac {n-1}{\chi _{n-1,\alpha /2}^{2}}}s^{2}\right],}  2
k,p
 
son los cuantiles p de las distribuciones t y χ 2 , respectivamente. Estos intervalos de confianza tienen un nivel de confianza de 1 − α , lo que significa que los valores verdaderos μ y σ 2 quedan fuera de estos intervalos con una probabilidad (o nivel de significancia ) α . En la práctica, la gente suele tomar α = 5% , lo que da como resultado intervalos de confianza del 95%. El intervalo de confianza para σ se puede encontrar tomando la raíz cuadrada de los límites del intervalo para σ 2 .

Se pueden derivar fórmulas aproximadas a partir de las distribuciones asintóticas de y s 2 : Las fórmulas aproximadas se vuelven válidas para valores grandes de n , y son más convenientes para el cálculo manual ya que los cuantiles normales estándar z α /2 no dependen de n . En particular, el valor más popular de α = 5% , da como resultado | z 0,025 | = 1,96 . μ ^ {\displaystyle \textstyle {\hat {\mu }}} μ [ μ ^ | z α / 2 | n s , μ ^ + | z α / 2 | n s ] , {\displaystyle \mu \in \left[{\hat {\mu }}-{\frac {|z_{\alpha /2}|}{\sqrt {n}}}s,\,{\hat {\mu }}+{\frac {|z_{\alpha /2}|}{\sqrt {n}}}s\right],} σ 2 [ s 2 2 | z α / 2 | n s 2 , s 2 + 2 | z α / 2 | n s 2 ] , {\displaystyle \sigma ^{2}\in \left[s^{2}-{\sqrt {2}}{\frac {|z_{\alpha /2}|}{\sqrt {n}}}s^{2},\,s^{2}+{\sqrt {2}}{\frac {|z_{\alpha /2}|}{\sqrt {n}}}s^{2}\right],}

Pruebas de normalidad

Las pruebas de normalidad evalúan la probabilidad de que el conjunto de datos dado { x 1 , ..., x n } provenga de una distribución normal. Normalmente, la hipótesis nula H 0 es que las observaciones se distribuyen normalmente con una media μ y una varianza σ 2 no especificadas , frente a la alternativa H a de que la distribución es arbitraria. Se han ideado muchas pruebas (más de 40) para este problema. Las más destacadas se describen a continuación:

Los gráficos de diagnóstico son más atractivos intuitivamente, pero subjetivos al mismo tiempo, ya que se basan en el juicio humano informal para aceptar o rechazar la hipótesis nula.

  • El gráfico Q–Q , también conocido como gráfico de probabilidad normal o gráfico de Rankit , es un gráfico de los valores ordenados del conjunto de datos contra los valores esperados de los cuantiles correspondientes de la distribución normal estándar. Es decir, es un gráfico de puntos de la forma (Φ −1 ( p k ), x ( k ) ), donde los puntos de trazado p k son iguales a p k  = ( k  −  α )/( n  + 1 − 2 α ) y α es una constante de ajuste, que puede ser cualquier valor entre 0 y 1. Si la hipótesis nula es verdadera, los puntos trazados deben estar aproximadamente en una línea recta.
  • Diagrama P–P : similar al diagrama Q–Q, pero usado con mucha menos frecuencia. Este método consiste en representar gráficamente los puntos (Φ( z ( k ) ), p k ), donde . Para datos distribuidos normalmente, este diagrama debe estar en una línea de 45° entre (0, 0) y (1, 1). z ( k ) = ( x ( k ) μ ^ ) / σ ^ {\textstyle \textstyle z_{(k)}=(x_{(k)}-{\hat {\mu }})/{\hat {\sigma }}}

Pruebas de bondad de ajuste :

Pruebas basadas en momentos :

Pruebas basadas en la función de distribución empírica :

Análisis bayesiano de la distribución normal

El análisis bayesiano de datos distribuidos normalmente se complica por las muchas posibilidades diferentes que pueden considerarse:

Las fórmulas para los casos de regresión no lineal se resumen en el artículo anterior conjugado .

Suma de dos cuadráticas

Forma escalar

La siguiente fórmula auxiliar es útil para simplificar las ecuaciones de actualización posterior , que de otro modo se vuelven bastante tediosas.

a ( x y ) 2 + b ( x z ) 2 = ( a + b ) ( x a y + b z a + b ) 2 + a b a + b ( y z ) 2 {\displaystyle a(x-y)^{2}+b(x-z)^{2}=(a+b)\left(x-{\frac {ay+bz}{a+b}}\right)^{2}+{\frac {ab}{a+b}}(y-z)^{2}}

Esta ecuación reescribe la suma de dos ecuaciones cuadráticas en x expandiendo los cuadrados, agrupando los términos en x y completando el cuadrado . Tenga en cuenta lo siguiente sobre los factores constantes complejos asociados a algunos de los términos:

  1. El factor tiene la forma de un promedio ponderado de y y z . a y + b z a + b {\textstyle {\frac {ay+bz}{a+b}}}
  2. a b a + b = 1 1 a + 1 b = ( a 1 + b 1 ) 1 . {\textstyle {\frac {ab}{a+b}}={\frac {1}{{\frac {1}{a}}+{\frac {1}{b}}}}=(a^{-1}+b^{-1})^{-1}.} Esto demuestra que este factor puede considerarse como el resultado de una situación en la que los recíprocos de las cantidades a y b se suman directamente, por lo que para combinar a y b , es necesario recíprocar, sumar y recíprocar el resultado nuevamente para volver a las unidades originales. Este es exactamente el tipo de operación que realiza la media armónica , por lo que no es sorprendente que sea la mitad de la media armónica de a y b . a b a + b {\textstyle {\frac {ab}{a+b}}}
Forma vectorial

Se puede escribir una fórmula similar para la suma de dos cuadráticas vectoriales: Si x , y , z son vectores de longitud k , y A y B son matrices simétricas e invertibles de tamaño , entonces k × k {\textstyle k\times k}

( y x ) A ( y x ) + ( x z ) B ( x z ) = ( x c ) ( A + B ) ( x c ) + ( y z ) ( A 1 + B 1 ) 1 ( y z ) {\displaystyle {\begin{aligned}&(\mathbf {y} -\mathbf {x} )'\mathbf {A} (\mathbf {y} -\mathbf {x} )+(\mathbf {x} -\mathbf {z} )'\mathbf {B} (\mathbf {x} -\mathbf {z} )\\={}&(\mathbf {x} -\mathbf {c} )'(\mathbf {A} +\mathbf {B} )(\mathbf {x} -\mathbf {c} )+(\mathbf {y} -\mathbf {z} )'(\mathbf {A} ^{-1}+\mathbf {B} ^{-1})^{-1}(\mathbf {y} -\mathbf {z} )\end{aligned}}}

dónde

c = ( A + B ) 1 ( A y + B z ) {\displaystyle \mathbf {c} =(\mathbf {A} +\mathbf {B} )^{-1}(\mathbf {A} \mathbf {y} +\mathbf {B} \mathbf {z} )}

La forma xA x se llama forma cuadrática y es un escalar : En otras palabras, suma todas las combinaciones posibles de productos de pares de elementos de x , con un coeficiente separado para cada uno. Además, como , solo importa la suma para cualquier elemento fuera de la diagonal de A , y no hay pérdida de generalidad al suponer que A es simétrico . Además, si A es simétrico, entonces la forma x A x = i , j a i j x i x j {\displaystyle \mathbf {x} '\mathbf {A} \mathbf {x} =\sum _{i,j}a_{ij}x_{i}x_{j}} x i x j = x j x i {\textstyle x_{i}x_{j}=x_{j}x_{i}} a i j + a j i {\textstyle a_{ij}+a_{ji}} x A y = y A x . {\textstyle \mathbf {x} '\mathbf {A} \mathbf {y} =\mathbf {y} '\mathbf {A} \mathbf {x} .}

Suma de las diferencias con respecto a la media

Otra fórmula útil es la siguiente: donde i = 1 n ( x i μ ) 2 = i = 1 n ( x i x ¯ ) 2 + n ( x ¯ μ ) 2 {\displaystyle \sum _{i=1}^{n}(x_{i}-\mu )^{2}=\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+n({\bar {x}}-\mu )^{2}} x ¯ = 1 n i = 1 n x i . {\textstyle {\bar {x}}={\frac {1}{n}}\sum _{i=1}^{n}x_{i}.}

Con varianza conocida

Para un conjunto de puntos de datos iid distribuidos normalmente X de tamaño n , donde cada punto individual x sigue con una varianza conocida σ 2 , la distribución previa conjugada también se distribuye normalmente. x N ( μ , σ 2 ) {\textstyle x\sim {\mathcal {N}}(\mu ,\sigma ^{2})}

Esto se puede demostrar más fácilmente reescribiendo la varianza como la precisión , es decir, utilizando τ = 1/σ 2 . Entonces, si y procedemos de la siguiente manera. x N ( μ , 1 / τ ) {\textstyle x\sim {\mathcal {N}}(\mu ,1/\tau )} μ N ( μ 0 , 1 / τ 0 ) , {\textstyle \mu \sim {\mathcal {N}}(\mu _{0},1/\tau _{0}),}

En primer lugar, la función de probabilidad es (usando la fórmula anterior para la suma de las diferencias con respecto a la media):

p ( X μ , τ ) = i = 1 n τ 2 π exp ( 1 2 τ ( x i μ ) 2 ) = ( τ 2 π ) n / 2 exp ( 1 2 τ i = 1 n ( x i μ ) 2 ) = ( τ 2 π ) n / 2 exp [ 1 2 τ ( i = 1 n ( x i x ¯ ) 2 + n ( x ¯ μ ) 2 ) ] . {\displaystyle {\begin{aligned}p(\mathbf {X} \mid \mu ,\tau )&=\prod _{i=1}^{n}{\sqrt {\frac {\tau }{2\pi }}}\exp \left(-{\frac {1}{2}}\tau (x_{i}-\mu )^{2}\right)\\&=\left({\frac {\tau }{2\pi }}\right)^{n/2}\exp \left(-{\frac {1}{2}}\tau \sum _{i=1}^{n}(x_{i}-\mu )^{2}\right)\\&=\left({\frac {\tau }{2\pi }}\right)^{n/2}\exp \left[-{\frac {1}{2}}\tau \left(\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+n({\bar {x}}-\mu )^{2}\right)\right].\end{aligned}}}

Luego procedemos de la siguiente manera:

p ( μ X ) p ( X μ ) p ( μ ) = ( τ 2 π ) n / 2 exp [ 1 2 τ ( i = 1 n ( x i x ¯ ) 2 + n ( x ¯ μ ) 2 ) ] τ 0 2 π exp ( 1 2 τ 0 ( μ μ 0 ) 2 ) exp ( 1 2 ( τ ( i = 1 n ( x i x ¯ ) 2 + n ( x ¯ μ ) 2 ) + τ 0 ( μ μ 0 ) 2 ) ) exp ( 1 2 ( n τ ( x ¯ μ ) 2 + τ 0 ( μ μ 0 ) 2 ) ) = exp ( 1 2 ( n τ + τ 0 ) ( μ n τ x ¯ + τ 0 μ 0 n τ + τ 0 ) 2 + n τ τ 0 n τ + τ 0 ( x ¯ μ 0 ) 2 ) exp ( 1 2 ( n τ + τ 0 ) ( μ n τ x ¯ + τ 0 μ 0 n τ + τ 0 ) 2 ) {\displaystyle {\begin{aligned}p(\mu \mid \mathbf {X} )&\propto p(\mathbf {X} \mid \mu )p(\mu )\\&=\left({\frac {\tau }{2\pi }}\right)^{n/2}\exp \left[-{\frac {1}{2}}\tau \left(\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+n({\bar {x}}-\mu )^{2}\right)\right]{\sqrt {\frac {\tau _{0}}{2\pi }}}\exp \left(-{\frac {1}{2}}\tau _{0}(\mu -\mu _{0})^{2}\right)\\&\propto \exp \left(-{\frac {1}{2}}\left(\tau \left(\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+n({\bar {x}}-\mu )^{2}\right)+\tau _{0}(\mu -\mu _{0})^{2}\right)\right)\\&\propto \exp \left(-{\frac {1}{2}}\left(n\tau ({\bar {x}}-\mu )^{2}+\tau _{0}(\mu -\mu _{0})^{2}\right)\right)\\&=\exp \left(-{\frac {1}{2}}(n\tau +\tau _{0})\left(\mu -{\dfrac {n\tau {\bar {x}}+\tau _{0}\mu _{0}}{n\tau +\tau _{0}}}\right)^{2}+{\frac {n\tau \tau _{0}}{n\tau +\tau _{0}}}({\bar {x}}-\mu _{0})^{2}\right)\\&\propto \exp \left(-{\frac {1}{2}}(n\tau +\tau _{0})\left(\mu -{\dfrac {n\tau {\bar {x}}+\tau _{0}\mu _{0}}{n\tau +\tau _{0}}}\right)^{2}\right)\end{aligned}}}

En la derivación anterior, utilizamos la fórmula anterior para la suma de dos cuadráticas y eliminamos todos los factores constantes que no involucran  μ . El resultado es el núcleo de una distribución normal, con media y precisión , es decir n τ x ¯ + τ 0 μ 0 n τ + τ 0 {\textstyle {\frac {n\tau {\bar {x}}+\tau _{0}\mu _{0}}{n\tau +\tau _{0}}}} n τ + τ 0 {\textstyle n\tau +\tau _{0}}

p ( μ X ) N ( n τ x ¯ + τ 0 μ 0 n τ + τ 0 , 1 n τ + τ 0 ) {\displaystyle p(\mu \mid \mathbf {X} )\sim {\mathcal {N}}\left({\frac {n\tau {\bar {x}}+\tau _{0}\mu _{0}}{n\tau +\tau _{0}}},{\frac {1}{n\tau +\tau _{0}}}\right)}

Esto se puede escribir como un conjunto de ecuaciones de actualización bayesianas para los parámetros posteriores en términos de los parámetros anteriores:

τ 0 = τ 0 + n τ μ 0 = n τ x ¯ + τ 0 μ 0 n τ + τ 0 x ¯ = 1 n i = 1 n x i {\displaystyle {\begin{aligned}\tau _{0}'&=\tau _{0}+n\tau \\[5pt]\mu _{0}'&={\frac {n\tau {\bar {x}}+\tau _{0}\mu _{0}}{n\tau +\tau _{0}}}\\[5pt]{\bar {x}}&={\frac {1}{n}}\sum _{i=1}^{n}x_{i}\end{aligned}}}

Es decir, combinar n puntos de datos con precisión total de (o equivalentemente, varianza total de n / σ 2 ) y media de valores , derivar una nueva precisión total simplemente sumando la precisión total de los datos a la precisión total previa, y formar una nueva media a través de un promedio ponderado por precisión , es decir, un promedio ponderado de la media de los datos y la media previa, cada una ponderada por la precisión total asociada. Esto tiene sentido lógico si se piensa que la precisión indica la certeza de las observaciones: en la distribución de la media posterior, cada uno de los componentes de entrada está ponderado por su certeza, y la certeza de esta distribución es la suma de las certezas individuales. (Para la intuición de esto, compare la expresión "el todo es (o no es) mayor que la suma de sus partes". Además, considere que el conocimiento de la posterior proviene de una combinación del conocimiento de la anterior y la probabilidad, por lo que tiene sentido que estemos más seguros de él que de cualquiera de sus componentes). x ¯ {\textstyle {\bar {x}}}

La fórmula anterior revela por qué es más conveniente realizar un análisis bayesiano de valores anteriores conjugados para la distribución normal en términos de precisión. La precisión posterior es simplemente la suma de las precisiones anterior y de probabilidad, y la media posterior se calcula a través de un promedio ponderado por precisión, como se describió anteriormente. Las mismas fórmulas se pueden escribir en términos de varianza al reciprocar todas las precisiones, lo que produce las fórmulas más feas.

σ 0 2 = 1 n σ 2 + 1 σ 0 2 μ 0 = n x ¯ σ 2 + μ 0 σ 0 2 n σ 2 + 1 σ 0 2 x ¯ = 1 n i = 1 n x i {\displaystyle {\begin{aligned}{\sigma _{0}^{2}}'&={\frac {1}{{\frac {n}{\sigma ^{2}}}+{\frac {1}{\sigma _{0}^{2}}}}}\\[5pt]\mu _{0}'&={\frac {{\frac {n{\bar {x}}}{\sigma ^{2}}}+{\frac {\mu _{0}}{\sigma _{0}^{2}}}}{{\frac {n}{\sigma ^{2}}}+{\frac {1}{\sigma _{0}^{2}}}}}\\[5pt]{\bar {x}}&={\frac {1}{n}}\sum _{i=1}^{n}x_{i}\end{aligned}}}

Con media conocida

Para un conjunto de puntos de datos distribuidos normalmente iid X de tamaño n donde cada punto individual x sigue con media conocida μ, la distribución previa conjugada de la varianza tiene una distribución gamma inversa o una distribución chi-cuadrado inversa escalada . Las dos son equivalentes excepto por tener diferentes parametrizaciones . Aunque la gamma inversa se usa más comúnmente, usamos la chi-cuadrado inversa escalada por conveniencia. La distribución previa para σ 2 es la siguiente: x N ( μ , σ 2 ) {\textstyle x\sim {\mathcal {N}}(\mu ,\sigma ^{2})}

p ( σ 2 ν 0 , σ 0 2 ) = ( σ 0 2 ν 0 2 ) ν 0 / 2 Γ ( ν 0 2 )   exp [ ν 0 σ 0 2 2 σ 2 ] ( σ 2 ) 1 + ν 0 2 exp [ ν 0 σ 0 2 2 σ 2 ] ( σ 2 ) 1 + ν 0 2 {\displaystyle p(\sigma ^{2}\mid \nu _{0},\sigma _{0}^{2})={\frac {(\sigma _{0}^{2}{\frac {\nu _{0}}{2}})^{\nu _{0}/2}}{\Gamma \left({\frac {\nu _{0}}{2}}\right)}}~{\frac {\exp \left[{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right]}{(\sigma ^{2})^{1+{\frac {\nu _{0}}{2}}}}}\propto {\frac {\exp \left[{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right]}{(\sigma ^{2})^{1+{\frac {\nu _{0}}{2}}}}}}

La función de probabilidad de arriba, escrita en términos de la varianza, es:

p ( X μ , σ 2 ) = ( 1 2 π σ 2 ) n / 2 exp [ 1 2 σ 2 i = 1 n ( x i μ ) 2 ] = ( 1 2 π σ 2 ) n / 2 exp [ S 2 σ 2 ] {\displaystyle {\begin{aligned}p(\mathbf {X} \mid \mu ,\sigma ^{2})&=\left({\frac {1}{2\pi \sigma ^{2}}}\right)^{n/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\sum _{i=1}^{n}(x_{i}-\mu )^{2}\right]\\&=\left({\frac {1}{2\pi \sigma ^{2}}}\right)^{n/2}\exp \left[-{\frac {S}{2\sigma ^{2}}}\right]\end{aligned}}}

dónde

S = i = 1 n ( x i μ ) 2 . {\displaystyle S=\sum _{i=1}^{n}(x_{i}-\mu )^{2}.}

Entonces:

p ( σ 2 X ) p ( X σ 2 ) p ( σ 2 ) = ( 1 2 π σ 2 ) n / 2 exp [ S 2 σ 2 ] ( σ 0 2 ν 0 2 ) ν 0 2 Γ ( ν 0 2 )   exp [ ν 0 σ 0 2 2 σ 2 ] ( σ 2 ) 1 + ν 0 2 ( 1 σ 2 ) n / 2 1 ( σ 2 ) 1 + ν 0 2 exp [ S 2 σ 2 + ν 0 σ 0 2 2 σ 2 ] = 1 ( σ 2 ) 1 + ν 0 + n 2 exp [ ν 0 σ 0 2 + S 2 σ 2 ] {\displaystyle {\begin{aligned}p(\sigma ^{2}\mid \mathbf {X} )&\propto p(\mathbf {X} \mid \sigma ^{2})p(\sigma ^{2})\\&=\left({\frac {1}{2\pi \sigma ^{2}}}\right)^{n/2}\exp \left[-{\frac {S}{2\sigma ^{2}}}\right]{\frac {(\sigma _{0}^{2}{\frac {\nu _{0}}{2}})^{\frac {\nu _{0}}{2}}}{\Gamma \left({\frac {\nu _{0}}{2}}\right)}}~{\frac {\exp \left[{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right]}{(\sigma ^{2})^{1+{\frac {\nu _{0}}{2}}}}}\\&\propto \left({\frac {1}{\sigma ^{2}}}\right)^{n/2}{\frac {1}{(\sigma ^{2})^{1+{\frac {\nu _{0}}{2}}}}}\exp \left[-{\frac {S}{2\sigma ^{2}}}+{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right]\\&={\frac {1}{(\sigma ^{2})^{1+{\frac {\nu _{0}+n}{2}}}}}\exp \left[-{\frac {\nu _{0}\sigma _{0}^{2}+S}{2\sigma ^{2}}}\right]\end{aligned}}}

Lo anterior también es una distribución chi-cuadrado inversa escalada donde

ν 0 = ν 0 + n ν 0 σ 0 2 = ν 0 σ 0 2 + i = 1 n ( x i μ ) 2 {\displaystyle {\begin{aligned}\nu _{0}'&=\nu _{0}+n\\\nu _{0}'{\sigma _{0}^{2}}'&=\nu _{0}\sigma _{0}^{2}+\sum _{i=1}^{n}(x_{i}-\mu )^{2}\end{aligned}}}

o equivalentemente

ν 0 = ν 0 + n σ 0 2 = ν 0 σ 0 2 + i = 1 n ( x i μ ) 2 ν 0 + n {\displaystyle {\begin{aligned}\nu _{0}'&=\nu _{0}+n\\{\sigma _{0}^{2}}'&={\frac {\nu _{0}\sigma _{0}^{2}+\sum _{i=1}^{n}(x_{i}-\mu )^{2}}{\nu _{0}+n}}\end{aligned}}}

Reparametrizando en términos de una distribución gamma inversa , el resultado es:

α = α + n 2 β = β + i = 1 n ( x i μ ) 2 2 {\displaystyle {\begin{aligned}\alpha '&=\alpha +{\frac {n}{2}}\\\beta '&=\beta +{\frac {\sum _{i=1}^{n}(x_{i}-\mu )^{2}}{2}}\end{aligned}}}

Con media desconocida y varianza desconocida

Para un conjunto de puntos de datos distribuidos normalmente iid X de tamaño n donde cada punto individual x sigue con media desconocida μ y varianza desconocida σ 2 , se coloca una distribución previa conjugada combinada (multivariada) sobre la media y la varianza, que consiste en una distribución gamma inversa normal . Lógicamente, esto se origina de la siguiente manera: x N ( μ , σ 2 ) {\textstyle x\sim {\mathcal {N}}(\mu ,\sigma ^{2})}

  1. A partir del análisis del caso con media desconocida pero varianza conocida, vemos que las ecuaciones de actualización involucran estadísticas suficientes calculadas a partir de los datos que consisten en la media de los puntos de datos y la varianza total de los puntos de datos, calculada a su vez a partir de la varianza conocida dividida por el número de puntos de datos.
  2. A partir del análisis del caso con varianza desconocida pero media conocida, vemos que las ecuaciones de actualización involucran estadísticas suficientes sobre los datos que consisten en el número de puntos de datos y la suma de las desviaciones al cuadrado .
  3. Tenga en cuenta que los valores de actualización posteriores sirven como distribución a priori cuando se manejan más datos. Por lo tanto, lógicamente deberíamos pensar en nuestros valores a priori en términos de las estadísticas suficientes que acabamos de describir, teniendo en cuenta la misma semántica tanto como sea posible.
  4. Para manejar el caso en el que tanto la media como la varianza son desconocidas, podríamos colocar valores a priori independientes sobre la media y la varianza, con estimaciones fijas de la media promedio, la varianza total, el número de puntos de datos utilizados para calcular el valor a priori de la varianza y la suma de las desviaciones al cuadrado. Sin embargo, tenga en cuenta que, en realidad, la varianza total de la media depende de la varianza desconocida, y la suma de las desviaciones al cuadrado que entran en el valor a priori de la varianza (parece) depende de la media desconocida. En la práctica, esta última dependencia es relativamente poco importante: al cambiar la media real, se cambian los puntos generados en una cantidad igual y, en promedio, las desviaciones al cuadrado permanecerán iguales. Sin embargo, este no es el caso con la varianza total de la media: a medida que aumenta la varianza desconocida, la varianza total de la media aumentará proporcionalmente y nos gustaría capturar esta dependencia.
  5. This suggests that we create a conditional prior of the mean on the unknown variance, with a hyperparameter specifying the mean of the pseudo-observations associated with the prior, and another parameter specifying the number of pseudo-observations. This number serves as a scaling parameter on the variance, making it possible to control the overall variance of the mean relative to the actual variance parameter. The prior for the variance also has two hyperparameters, one specifying the sum of squared deviations of the pseudo-observations associated with the prior, and another specifying once again the number of pseudo-observations. Each of the priors has a hyperparameter specifying the number of pseudo-observations, and in each case this controls the relative variance of that prior. These are given as two separate hyperparameters so that the variance (aka the confidence) of the two priors can be controlled separately.
  6. This leads immediately to the normal-inverse-gamma distribution, which is the product of the two distributions just defined, with conjugate priors used (an inverse gamma distribution over the variance, and a normal distribution over the mean, conditional on the variance) and with the same four parameters just defined.

The priors are normally defined as follows:

p ( μ σ 2 ; μ 0 , n 0 ) N ( μ 0 , σ 2 / n 0 ) p ( σ 2 ; ν 0 , σ 0 2 ) I χ 2 ( ν 0 , σ 0 2 ) = I G ( ν 0 / 2 , ν 0 σ 0 2 / 2 ) {\displaystyle {\begin{aligned}p(\mu \mid \sigma ^{2};\mu _{0},n_{0})&\sim {\mathcal {N}}(\mu _{0},\sigma ^{2}/n_{0})\\p(\sigma ^{2};\nu _{0},\sigma _{0}^{2})&\sim I\chi ^{2}(\nu _{0},\sigma _{0}^{2})=IG(\nu _{0}/2,\nu _{0}\sigma _{0}^{2}/2)\end{aligned}}}

The update equations can be derived, and look as follows:

x ¯ = 1 n i = 1 n x i μ 0 = n 0 μ 0 + n x ¯ n 0 + n n 0 = n 0 + n ν 0 = ν 0 + n ν 0 σ 0 2 = ν 0 σ 0 2 + i = 1 n ( x i x ¯ ) 2 + n 0 n n 0 + n ( μ 0 x ¯ ) 2 {\displaystyle {\begin{aligned}{\bar {x}}&={\frac {1}{n}}\sum _{i=1}^{n}x_{i}\\\mu _{0}'&={\frac {n_{0}\mu _{0}+n{\bar {x}}}{n_{0}+n}}\\n_{0}'&=n_{0}+n\\\nu _{0}'&=\nu _{0}+n\\\nu _{0}'{\sigma _{0}^{2}}'&=\nu _{0}\sigma _{0}^{2}+\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+{\frac {n_{0}n}{n_{0}+n}}(\mu _{0}-{\bar {x}})^{2}\end{aligned}}}

The respective numbers of pseudo-observations add the number of actual observations to them. The new mean hyperparameter is once again a weighted average, this time weighted by the relative numbers of observations. Finally, the update for ν 0 σ 0 2 {\textstyle \nu _{0}'{\sigma _{0}^{2}}'} is similar to the case with known mean, but in this case the sum of squared deviations is taken with respect to the observed data mean rather than the true mean, and as a result a new interaction term needs to be added to take care of the additional error source stemming from the deviation between prior and data mean.

Proof

The prior distributions are p ( μ σ 2 ; μ 0 , n 0 ) N ( μ 0 , σ 2 / n 0 ) = 1 2 π σ 2 n 0 exp ( n 0 2 σ 2 ( μ μ 0 ) 2 ) ( σ 2 ) 1 / 2 exp ( n 0 2 σ 2 ( μ μ 0 ) 2 ) p ( σ 2 ; ν 0 , σ 0 2 ) I χ 2 ( ν 0 , σ 0 2 ) = I G ( ν 0 / 2 , ν 0 σ 0 2 / 2 ) = ( σ 0 2 ν 0 / 2 ) ν 0 / 2 Γ ( ν 0 / 2 )   exp [ ν 0 σ 0 2 2 σ 2 ] ( σ 2 ) 1 + ν 0 / 2 ( σ 2 ) ( 1 + ν 0 / 2 ) exp [ ν 0 σ 0 2 2 σ 2 ] . {\displaystyle {\begin{aligned}p(\mu \mid \sigma ^{2};\mu _{0},n_{0})&\sim {\mathcal {N}}(\mu _{0},\sigma ^{2}/n_{0})={\frac {1}{\sqrt {2\pi {\frac {\sigma ^{2}}{n_{0}}}}}}\exp \left(-{\frac {n_{0}}{2\sigma ^{2}}}(\mu -\mu _{0})^{2}\right)\\&\propto (\sigma ^{2})^{-1/2}\exp \left(-{\frac {n_{0}}{2\sigma ^{2}}}(\mu -\mu _{0})^{2}\right)\\p(\sigma ^{2};\nu _{0},\sigma _{0}^{2})&\sim I\chi ^{2}(\nu _{0},\sigma _{0}^{2})=IG(\nu _{0}/2,\nu _{0}\sigma _{0}^{2}/2)\\&={\frac {(\sigma _{0}^{2}\nu _{0}/2)^{\nu _{0}/2}}{\Gamma (\nu _{0}/2)}}~{\frac {\exp \left[{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right]}{(\sigma ^{2})^{1+\nu _{0}/2}}}\\&\propto {(\sigma ^{2})^{-(1+\nu _{0}/2)}}\exp \left[{\frac {-\nu _{0}\sigma _{0}^{2}}{2\sigma ^{2}}}\right].\end{aligned}}}

Therefore, the joint prior is

p ( μ , σ 2 ; μ 0 , n 0 , ν 0 , σ 0 2 ) = p ( μ σ 2 ; μ 0 , n 0 ) p ( σ 2 ; ν 0 , σ 0 2 ) ( σ 2 ) ( ν 0 + 3 ) / 2 exp [ 1 2 σ 2 ( ν 0 σ 0 2 + n 0 ( μ μ 0 ) 2 ) ] . {\displaystyle {\begin{aligned}p(\mu ,\sigma ^{2};\mu _{0},n_{0},\nu _{0},\sigma _{0}^{2})&=p(\mu \mid \sigma ^{2};\mu _{0},n_{0})\,p(\sigma ^{2};\nu _{0},\sigma _{0}^{2})\\&\propto (\sigma ^{2})^{-(\nu _{0}+3)/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\nu _{0}\sigma _{0}^{2}+n_{0}(\mu -\mu _{0})^{2}\right)\right].\end{aligned}}}

The likelihood function from the section above with known variance is:

p ( X μ , σ 2 ) = ( 1 2 π σ 2 ) n / 2 exp [ 1 2 σ 2 ( i = 1 n ( x i μ ) 2 ) ] {\displaystyle {\begin{aligned}p(\mathbf {X} \mid \mu ,\sigma ^{2})&=\left({\frac {1}{2\pi \sigma ^{2}}}\right)^{n/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\sum _{i=1}^{n}(x_{i}-\mu )^{2}\right)\right]\end{aligned}}}

Writing it in terms of variance rather than precision, we get: p ( X μ , σ 2 ) = ( 1 2 π σ 2 ) n / 2 exp [ 1 2 σ 2 ( i = 1 n ( x i x ¯ ) 2 + n ( x ¯ μ ) 2 ) ] σ 2 n / 2 exp [ 1 2 σ 2 ( S + n ( x ¯ μ ) 2 ) ] {\displaystyle {\begin{aligned}p(\mathbf {X} \mid \mu ,\sigma ^{2})&=\left({\frac {1}{2\pi \sigma ^{2}}}\right)^{n/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}+n({\bar {x}}-\mu )^{2}\right)\right]\\&\propto {\sigma ^{2}}^{-n/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(S+n({\bar {x}}-\mu )^{2}\right)\right]\end{aligned}}} where S = i = 1 n ( x i x ¯ ) 2 . {\textstyle S=\sum _{i=1}^{n}(x_{i}-{\bar {x}})^{2}.}

Therefore, the posterior is (dropping the hyperparameters as conditioning factors): p ( μ , σ 2 X ) p ( μ , σ 2 ) p ( X μ , σ 2 ) ( σ 2 ) ( ν 0 + 3 ) / 2 exp [ 1 2 σ 2 ( ν 0 σ 0 2 + n 0 ( μ μ 0 ) 2 ) ] σ 2 n / 2 exp [ 1 2 σ 2 ( S + n ( x ¯ μ ) 2 ) ] = ( σ 2 ) ( ν 0 + n + 3 ) / 2 exp [ 1 2 σ 2 ( ν 0 σ 0 2 + S + n 0 ( μ μ 0 ) 2 + n ( x ¯ μ ) 2 ) ] = ( σ 2 ) ( ν 0 + n + 3 ) / 2 exp [ 1 2 σ 2 ( ν 0 σ 0 2 + S + n 0 n n 0 + n ( μ 0 x ¯ ) 2 + ( n 0 + n ) ( μ n 0 μ 0 + n x ¯ n 0 + n ) 2 ) ] ( σ 2 ) 1 / 2 exp [ n 0 + n 2 σ 2 ( μ n 0 μ 0 + n x ¯ n 0 + n ) 2 ] × ( σ 2 ) ( ν 0 / 2 + n / 2 + 1 ) exp [ 1 2 σ 2 ( ν 0 σ 0 2 + S + n 0 n n 0 + n ( μ 0 x ¯ ) 2 ) ] = N μ σ 2 ( n 0 μ 0 + n x ¯ n 0 + n , σ 2 n 0 + n ) I G σ 2 ( 1 2 ( ν 0 + n ) , 1 2 ( ν 0 σ 0 2 + S + n 0 n n 0 + n ( μ 0 x ¯ ) 2 ) ) . {\displaystyle {\begin{aligned}p(\mu ,\sigma ^{2}\mid \mathbf {X} )&\propto p(\mu ,\sigma ^{2})\,p(\mathbf {X} \mid \mu ,\sigma ^{2})\\&\propto (\sigma ^{2})^{-(\nu _{0}+3)/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\nu _{0}\sigma _{0}^{2}+n_{0}(\mu -\mu _{0})^{2}\right)\right]{\sigma ^{2}}^{-n/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(S+n({\bar {x}}-\mu )^{2}\right)\right]\\&=(\sigma ^{2})^{-(\nu _{0}+n+3)/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\nu _{0}\sigma _{0}^{2}+S+n_{0}(\mu -\mu _{0})^{2}+n({\bar {x}}-\mu )^{2}\right)\right]\\&=(\sigma ^{2})^{-(\nu _{0}+n+3)/2}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\nu _{0}\sigma _{0}^{2}+S+{\frac {n_{0}n}{n_{0}+n}}(\mu _{0}-{\bar {x}})^{2}+(n_{0}+n)\left(\mu -{\frac {n_{0}\mu _{0}+n{\bar {x}}}{n_{0}+n}}\right)^{2}\right)\right]\\&\propto (\sigma ^{2})^{-1/2}\exp \left[-{\frac {n_{0}+n}{2\sigma ^{2}}}\left(\mu -{\frac {n_{0}\mu _{0}+n{\bar {x}}}{n_{0}+n}}\right)^{2}\right]\\&\quad \times (\sigma ^{2})^{-(\nu _{0}/2+n/2+1)}\exp \left[-{\frac {1}{2\sigma ^{2}}}\left(\nu _{0}\sigma _{0}^{2}+S+{\frac {n_{0}n}{n_{0}+n}}(\mu _{0}-{\bar {x}})^{2}\right)\right]\\&={\mathcal {N}}_{\mu \mid \sigma ^{2}}\left({\frac {n_{0}\mu _{0}+n{\bar {x}}}{n_{0}+n}},{\frac {\sigma ^{2}}{n_{0}+n}}\right)\cdot {\rm {IG}}_{\sigma ^{2}}\left({\frac {1}{2}}(\nu _{0}+n),{\frac {1}{2}}\left(\nu _{0}\sigma _{0}^{2}+S+{\frac {n_{0}n}{n_{0}+n}}(\mu _{0}-{\bar {x}})^{2}\right)\right).\end{aligned}}}

In other words, the posterior distribution has the form of a product of a normal distribution over p ( μ | σ 2 ) {\textstyle p(\mu |\sigma ^{2})} times an inverse gamma distribution over p ( σ 2 ) {\textstyle p(\sigma ^{2})} , with parameters that are the same as the update equations above.

Occurrence and applications

The occurrence of normal distribution in practical problems can be loosely classified into four categories:

  1. Exactly normal distributions;
  2. Approximately normal laws, for example when such approximation is justified by the central limit theorem; and
  3. Distributions modeled as normal – the normal distribution being the distribution with maximum entropy for a given mean and variance.
  4. Regression problems – the normal distribution being found after systematic effects have been modeled sufficiently well.

Exact normality

The ground state of a quantum harmonic oscillator has the Gaussian distribution.

Certain quantities in physics are distributed normally, as was first demonstrated by James Clerk Maxwell. Examples of such quantities are:

  • Probability density function of a ground state in a quantum harmonic oscillator.
  • The position of a particle that experiences diffusion. If initially the particle is located at a specific point (that is its probability distribution is the Dirac delta function), then after time t its location is described by a normal distribution with variance t, which satisfies the diffusion equation  t f ( x , t ) = 1 2 2 x 2 f ( x , t ) {\textstyle {\frac {\partial }{\partial t}}f(x,t)={\frac {1}{2}}{\frac {\partial ^{2}}{\partial x^{2}}}f(x,t)} . If the initial location is given by a certain density function g ( x ) {\textstyle g(x)} , then the density at time t is the convolution of g and the normal probability density function.

Approximate normality

Approximately normal distributions occur in many situations, as explained by the central limit theorem. When the outcome is produced by many small effects acting additively and independently, its distribution will be close to normal. The normal approximation will not be valid if the effects act multiplicatively (instead of additively), or if there is a single external influence that has a considerably larger magnitude than the rest of the effects.

Assumed normality

Histogram of sepal widths for Iris versicolor from Fisher's Iris flower data set, with superimposed best-fitting normal distribution

I can only recognize the occurrence of the normal curve – the Laplacian curve of errors – as a very abnormal phenomenon. It is roughly approximated to in certain distributions; for this reason, and on account for its beautiful simplicity, we may, perhaps, use it as a first approximation, particularly in theoretical investigations.

— Pearson (1901)

There are statistical methods to empirically test that assumption; see the above Normality tests section.

  • In biology, the logarithm of various variables tend to have a normal distribution, that is, they tend to have a log-normal distribution (after separation on male/female subpopulations), with examples including:
    • Measures of size of living tissue (length, height, skin area, weight);[53]
    • The length of inert appendages (hair, claws, nails, teeth) of biological specimens, in the direction of growth; presumably the thickness of tree bark also falls under this category;
    • Certain physiological measurements, such as blood pressure of adult humans.
  • In finance, in particular the Black–Scholes model, changes in the logarithm of exchange rates, price indices, and stock market indices are assumed normal (these variables behave like compound interest, not like simple interest, and so are multiplicative). Some mathematicians such as Benoit Mandelbrot have argued that log-Levy distributions, which possesses heavy tails would be a more appropriate model, in particular for the analysis for stock market crashes. The use of the assumption of normal distribution occurring in financial models has also been criticized by Nassim Nicholas Taleb in his works.
  • Measurement errors in physical experiments are often modeled by a normal distribution. This use of a normal distribution does not imply that one is assuming the measurement errors are normally distributed, rather using the normal distribution produces the most conservative predictions possible given only knowledge about the mean and variance of the errors.[54]
  • In standardized testing, results can be made to have a normal distribution by either selecting the number and difficulty of questions (as in the IQ test) or transforming the raw test scores into output scores by fitting them to the normal distribution. For example, the SAT's traditional range of 200–800 is based on a normal distribution with a mean of 500 and a standard deviation of 100.
Fitted cumulative normal distribution to October rainfalls, see distribution fitting

Methodological problems and peer review

John Ioannidis argued that using normally distributed standard deviations as standards for validating research findings leave falsifiable predictions about phenomena that are not normally distributed untested. This includes, for example, phenomena that only appear when all necessary conditions are present and one cannot be a substitute for another in an addition-like way and phenomena that are not randomly distributed. Ioannidis argues that standard deviation-centered validation gives a false appearance of validity to hypotheses and theories where some but not all falsifiable predictions are normally distributed since the portion of falsifiable predictions that there is evidence against may and in some cases are in the non-normally distributed parts of the range of falsifiable predictions, as well as baselessly dismissing hypotheses for which none of the falsifiable predictions are normally distributed as if were they unfalsifiable when in fact they do make falsifiable predictions. It is argued by Ioannidis that many cases of mutually exclusive theories being accepted as validated by research journals are caused by failure of the journals to take in empirical falsifications of non-normally distributed predictions, and not because mutually exclusive theories are true, which they cannot be, although two mutually exclusive theories can both be wrong and a third one correct.[56]

Computational methods

Generating values from normal distribution

The bean machine, a device invented by Francis Galton, can be called the first generator of normal random variables. This machine consists of a vertical board with interleaved rows of pins. Small balls are dropped from the top and then bounce randomly left or right as they hit the pins. The balls are collected into bins at the bottom and settle down into a pattern resembling the Gaussian curve.

In computer simulations, especially in applications of the Monte-Carlo method, it is often desirable to generate values that are normally distributed. The algorithms listed below all generate the standard normal deviates, since a N(μ, σ2) can be generated as X = μ + σZ, where Z is standard normal. All these algorithms rely on the availability of a random number generator U capable of producing uniform random variates.

  • The most straightforward method is based on the probability integral transform property: if U is distributed uniformly on (0,1), then Φ−1(U) will have the standard normal distribution. The drawback of this method is that it relies on calculation of the probit function Φ−1, which cannot be done analytically. Some approximate methods are described in Hart (1968) and in the erf article. Wichura gives a fast algorithm for computing this function to 16 decimal places,[57] which is used by R to compute random variates of the normal distribution.
  • An easy-to-program approximate approach that relies on the central limit theorem is as follows: generate 12 uniform U(0,1) deviates, add them all up, and subtract 6 – the resulting random variable will have approximately standard normal distribution. In truth, the distribution will be Irwin–Hall, which is a 12-section eleventh-order polynomial approximation to the normal distribution. This random deviate will have a limited range of (−6, 6).[58] Note that in a true normal distribution, only 0.00034% of all samples will fall outside ±6σ.
  • The Box–Muller method uses two independent random numbers U and V distributed uniformly on (0,1). Then the two random variables X and Y X = 2 ln U cos ( 2 π V ) , Y = 2 ln U sin ( 2 π V ) . {\displaystyle X={\sqrt {-2\ln U}}\,\cos(2\pi V),\qquad Y={\sqrt {-2\ln U}}\,\sin(2\pi V).} will both have the standard normal distribution, and will be independent. This formulation arises because for a bivariate normal random vector (X, Y) the squared norm X2 + Y2 will have the chi-squared distribution with two degrees of freedom, which is an easily generated exponential random variable corresponding to the quantity −2 ln(U) in these equations; and the angle is distributed uniformly around the circle, chosen by the random variable V.
  • The Marsaglia polar method is a modification of the Box–Muller method which does not require computation of the sine and cosine functions. In this method, U and V are drawn from the uniform (−1,1) distribution, and then S = U2 + V2 is computed. If S is greater or equal to 1, then the method starts over, otherwise the two quantities X = U 2 ln S S , Y = V 2 ln S S {\displaystyle X=U{\sqrt {\frac {-2\ln S}{S}}},\qquad Y=V{\sqrt {\frac {-2\ln S}{S}}}} are returned. Again, X and Y are independent, standard normal random variables.
  • The Ratio method[59] is a rejection method. The algorithm proceeds as follows:
    • Generate two independent uniform deviates U and V;
    • Compute X = 8/e (V − 0.5)/U;
    • Optional: if X2 ≤ 5 − 4e1/4U then accept X and terminate algorithm;
    • Optional: if X2 ≥ 4e−1.35/U + 1.4 then reject X and start over from step 1;
    • If X2 ≤ −4 lnU then accept X, otherwise start over the algorithm.
    The two optional steps allow the evaluation of the logarithm in the last step to be avoided in most cases. These steps can be greatly improved[60] so that the logarithm is rarely evaluated.
  • The ziggurat algorithm[61] is faster than the Box–Muller transform and still exact. In about 97% of all cases it uses only two random numbers, one random integer and one random uniform, one multiplication and an if-test. Only in 3% of the cases, where the combination of those two falls outside the "core of the ziggurat" (a kind of rejection sampling using logarithms), do exponentials and more uniform random numbers have to be employed.
  • Integer arithmetic can be used to sample from the standard normal distribution.[62] This method is exact in the sense that it satisfies the conditions of ideal approximation;[63] i.e., it is equivalent to sampling a real number from the standard normal distribution and rounding this to the nearest representable floating point number.
  • There is also some investigation[64] into the connection between the fast Hadamard transform and the normal distribution, since the transform employs just addition and subtraction and by the central limit theorem random numbers from almost any distribution will be transformed into the normal distribution. In this regard a series of Hadamard transforms can be combined with random permutations to turn arbitrary data sets into a normally distributed data.

Numerical approximations for the normal cumulative distribution function and normal quantile function

The standard normal cumulative distribution function is widely used in scientific and statistical computing.

The values Φ(x) may be approximated very accurately by a variety of methods, such as numerical integration, Taylor series, asymptotic series and continued fractions. Different approximations are used depending on the desired level of accuracy.

  • Zelen & Severo (1964) give the approximation for Φ(x) for x > 0 with the absolute error |ε(x)| < 7.5·10−8 (algorithm 26.2.17): Φ ( x ) = 1 φ ( x ) ( b 1 t + b 2 t 2 + b 3 t 3 + b 4 t 4 + b 5 t 5 ) + ε ( x ) , t = 1 1 + b 0 x , {\displaystyle \Phi (x)=1-\varphi (x)\left(b_{1}t+b_{2}t^{2}+b_{3}t^{3}+b_{4}t^{4}+b_{5}t^{5}\right)+\varepsilon (x),\qquad t={\frac {1}{1+b_{0}x}},} where ϕ(x) is the standard normal probability density function, and b0 = 0.2316419, b1 = 0.319381530, b2 = −0.356563782, b3 = 1.781477937, b4 = −1.821255978, b5 = 1.330274429.
  • Hart (1968) lists some dozens of approximations – by means of rational functions, with or without exponentials – for the erfc() function. His algorithms vary in the degree of complexity and the resulting precision, with maximum absolute precision of 24 digits. An algorithm by West (2009) combines Hart's algorithm 5666 with a continued fraction approximation in the tail to provide a fast computation algorithm with a 16-digit precision.
  • Cody (1969) after recalling Hart68 solution is not suited for erf, gives a solution for both erf and erfc, with maximal relative error bound, via Rational Chebyshev Approximation.
  • Marsaglia (2004) suggested a simple algorithm[note 1] based on the Taylor series expansion Φ ( x ) = 1 2 + φ ( x ) ( x + x 3 3 + x 5 3 5 + x 7 3 5 7 + x 9 3 5 7 9 + ) {\displaystyle \Phi (x)={\frac {1}{2}}+\varphi (x)\left(x+{\frac {x^{3}}{3}}+{\frac {x^{5}}{3\cdot 5}}+{\frac {x^{7}}{3\cdot 5\cdot 7}}+{\frac {x^{9}}{3\cdot 5\cdot 7\cdot 9}}+\cdots \right)} for calculating Φ(x) with arbitrary precision. The drawback of this algorithm is comparatively slow calculation time (for example it takes over 300 iterations to calculate the function with 16 digits of precision when x = 10).
  • The GNU Scientific Library calculates values of the standard normal cumulative distribution function using Hart's algorithms and approximations with Chebyshev polynomials.
  • Dia (2023) proposes the following approximation of 1 Φ {\textstyle 1-\Phi } with a maximum relative error less than 2 53 {\textstyle 2^{-53}} ( 1.1 × 10 16 ) {\textstyle \left(\approx 1.1\times 10^{-16}\right)} in absolute value: for x 0 {\textstyle x\geq 0} 1 Φ ( x ) = ( 0.39894228040143268 x + 2.92678600515804815 ) ( x 2 + 8.42742300458043240 x + 18.38871225773938487 x 2 + 5.81582518933527391 x + 8.97280659046817350 ) ( x 2 + 7.30756258553673541 x + 18.25323235347346525 x 2 + 5.70347935898051437 x + 10.27157061171363079 ) ( x 2 + 5.66479518878470765 x + 18.61193318971775795 x 2 + 5.51862483025707963 x + 12.72323261907760928 ) ( x 2 + 4.91396098895240075 x + 24.14804072812762821 x 2 + 5.26184239579604207 x + 16.88639562007936908 ) ( x 2 + 3.83362947800146179 x + 11.61511226260603247 x 2 + 4.92081346632882033 x + 24.12333774572479110 ) e x 2 2 {\textstyle {\begin{aligned}1-\Phi \left(x\right)&=\left({\frac {0.39894228040143268}{x+2.92678600515804815}}\right)\left({\frac {x^{2}+8.42742300458043240x+18.38871225773938487}{x^{2}+5.81582518933527391x+8.97280659046817350}}\right)\\&\left({\frac {x^{2}+7.30756258553673541x+18.25323235347346525}{x^{2}+5.70347935898051437x+10.27157061171363079}}\right)\left({\frac {x^{2}+5.66479518878470765x+18.61193318971775795}{x^{2}+5.51862483025707963x+12.72323261907760928}}\right)\\&\left({\frac {x^{2}+4.91396098895240075x+24.14804072812762821}{x^{2}+5.26184239579604207x+16.88639562007936908}}\right)\left({\frac {x^{2}+3.83362947800146179x+11.61511226260603247}{x^{2}+4.92081346632882033x+24.12333774572479110}}\right)e^{-{\frac {x^{2}}{2}}}\end{aligned}}} and for x < 0 {\textstyle x<0} ,

1 Φ ( x ) = 1 ( 1 Φ ( x ) ) {\displaystyle 1-\Phi \left(x\right)=1-\left(1-\Phi \left(-x\right)\right)}

Shore (1982) introduced simple approximations that may be incorporated in stochastic optimization models of engineering and operations research, like reliability engineering and inventory analysis. Denoting p = Φ(z), the simplest approximation for the quantile function is: z = Φ 1 ( p ) = 5.5556 [ 1 ( 1 p p ) 0.1186 ] , p 1 / 2 {\displaystyle z=\Phi ^{-1}(p)=5.5556\left[1-\left({\frac {1-p}{p}}\right)^{0.1186}\right],\qquad p\geq 1/2}

This approximation delivers for z a maximum absolute error of 0.026 (for 0.5 ≤ p ≤ 0.9999, corresponding to 0 ≤ z ≤ 3.719). For p < 1/2 replace p by 1 − p and change sign. Another approximation, somewhat less accurate, is the single-parameter approximation: z = 0.4115 { 1 p p + log [ 1 p p ] 1 } , p 1 / 2 {\displaystyle z=-0.4115\left\{{\frac {1-p}{p}}+\log \left[{\frac {1-p}{p}}\right]-1\right\},\qquad p\geq 1/2}

The latter had served to derive a simple approximation for the loss integral of the normal distribution, defined by L ( z ) = z ( u z ) φ ( u ) d u = z [ 1 Φ ( u ) ] d u L ( z ) { 0.4115 ( p 1 p ) z , p < 1 / 2 , 0.4115 ( 1 p p ) , p 1 / 2. or, equivalently, L ( z ) { 0.4115 { 1 log [ p 1 p ] } , p < 1 / 2 , 0.4115 1 p p , p 1 / 2. {\displaystyle {\begin{aligned}L(z)&=\int _{z}^{\infty }(u-z)\varphi (u)\,du=\int _{z}^{\infty }[1-\Phi (u)]\,du\\[5pt]L(z)&\approx {\begin{cases}0.4115\left({\dfrac {p}{1-p}}\right)-z,&p<1/2,\\\\0.4115\left({\dfrac {1-p}{p}}\right),&p\geq 1/2.\end{cases}}\\[5pt]{\text{or, equivalently,}}\\L(z)&\approx {\begin{cases}0.4115\left\{1-\log \left[{\frac {p}{1-p}}\right]\right\},&p<1/2,\\\\0.4115{\dfrac {1-p}{p}},&p\geq 1/2.\end{cases}}\end{aligned}}}

This approximation is particularly accurate for the right far-tail (maximum error of 10−3 for z≥1.4). Highly accurate approximations for the cumulative distribution function, based on Response Modeling Methodology (RMM, Shore, 2011, 2012), are shown in Shore (2005).

Some more approximations can be found at: Error function#Approximation with elementary functions. In particular, small relative error on the whole domain for the cumulative distribution function Φ {\textstyle \Phi } and the quantile function Φ 1 {\textstyle \Phi ^{-1}} as well, is achieved via an explicitly invertible formula by Sergei Winitzki in 2008.

History

Development

Some authors[65][66] attribute the credit for the discovery of the normal distribution to de Moivre, who in 1738[note 2] published in the second edition of his The Doctrine of Chances the study of the coefficients in the binomial expansion of (a + b)n. De Moivre proved that the middle term in this expansion has the approximate magnitude of 2 n / 2 π n {\textstyle 2^{n}/{\sqrt {2\pi n}}} , and that "If m or 1/2n be a Quantity infinitely great, then the Logarithm of the Ratio, which a Term distant from the middle by the Interval , has to the middle Term, is 2 n {\textstyle -{\frac {2\ell \ell }{n}}} ."[67] Although this theorem can be interpreted as the first obscure expression for the normal probability law, Stigler points out that de Moivre himself did not interpret his results as anything more than the approximate rule for the binomial coefficients, and in particular de Moivre lacked the concept of the probability density function.[68]

Carl Friedrich Gauss discovered the normal distribution in 1809 as a way to rationalize the method of least squares.

In 1823 Gauss published his monograph "Theoria combinationis observationum erroribus minimis obnoxiae" where among other things he introduces several important statistical concepts, such as the method of least squares, the method of maximum likelihood, and the normal distribution. Gauss used M, M, M′′, ... to denote the measurements of some unknown quantity V, and sought the most probable estimator of that quantity: the one that maximizes the probability φ(MV) · φ(M′V) · φ(M′′ − V) · ... of obtaining the observed experimental results. In his notation φΔ is the probability density function of the measurement errors of magnitude Δ. Not knowing what the function φ is, Gauss requires that his method should reduce to the well-known answer: the arithmetic mean of the measured values.[note 3] Starting from these principles, Gauss demonstrates that the only law that rationalizes the choice of arithmetic mean as an estimator of the location parameter, is the normal law of errors:[69] φ Δ = h π e h h Δ Δ , {\displaystyle \varphi {\mathit {\Delta }}={\frac {h}{\surd \pi }}\,e^{-\mathrm {hh} \Delta \Delta },} where h is "the measure of the precision of the observations". Using this normal law as a generic model for errors in the experiments, Gauss formulates what is now known as the non-linear weighted least squares method.[70]

Pierre-Simon Laplace proved the central limit theorem in 1810, consolidating the importance of the normal distribution in statistics.

Although Gauss was the first to suggest the normal distribution law, Laplace made significant contributions.[note 4] It was Laplace who first posed the problem of aggregating several observations in 1774,[71] although his own solution led to the Laplacian distribution. It was Laplace who first calculated the value of the integral et2 dt = π in 1782, providing the normalization constant for the normal distribution.[72] Finally, it was Laplace who in 1810 proved and presented to the academy the fundamental central limit theorem, which emphasized the theoretical importance of the normal distribution.[73]

It is of interest to note that in 1809 an Irish-American mathematician Robert Adrain published two insightful but flawed derivations of the normal probability law, simultaneously and independently from Gauss.[74] His works remained largely unnoticed by the scientific community, until in 1871 they were exhumed by Abbe.[75]

In the middle of the 19th century Maxwell demonstrated that the normal distribution is not just a convenient mathematical tool, but may also occur in natural phenomena:[76] The number of particles whose velocity, resolved in a certain direction, lies between x and x + dx is N 1 α π e x 2 α 2 d x {\displaystyle \operatorname {N} {\frac {1}{\alpha \;{\sqrt {\pi }}}}\;e^{-{\frac {x^{2}}{\alpha ^{2}}}}\,dx}

Naming

Today, the concept is usually known in English as the normal distribution or Gaussian distribution. Other less common names include Gauss distribution, Laplace-Gauss distribution, the law of error, the law of facility of errors, Laplace's second law, and Gaussian law.

Gauss himself apparently coined the term with reference to the "normal equations" involved in its applications, with normal having its technical meaning of orthogonal rather than usual.[77] However, by the end of the 19th century some authors[note 5] had started using the name normal distribution, where the word "normal" was used as an adjective – the term now being seen as a reflection of the fact that this distribution was seen as typical, common – and thus normal. Peirce (one of those authors) once defined "normal" thus: "...the 'normal' is not the average (or any other kind of mean) of what actually occurs, but of what would, in the long run, occur under certain circumstances."[78] Around the turn of the 20th century Pearson popularized the term normal as a designation for this distribution.[79]

Many years ago I called the Laplace–Gaussian curve the normal curve, which name, while it avoids an international question of priority, has the disadvantage of leading people to believe that all other distributions of frequency are in one sense or another 'abnormal'.

— Pearson (1920)

Also, it was Pearson who first wrote the distribution in terms of the standard deviation σ as in modern notation. Soon after this, in year 1915, Fisher added the location parameter to the formula for normal distribution, expressing it in the way it is written nowadays: d f = 1 2 σ 2 π e ( x m ) 2 / ( 2 σ 2 ) d x . {\displaystyle df={\frac {1}{\sqrt {2\sigma ^{2}\pi }}}e^{-(x-m)^{2}/(2\sigma ^{2})}\,dx.}

The term "standard normal", which denotes the normal distribution with zero mean and unit variance came into general use around the 1950s, appearing in the popular textbooks by P. G. Hoel (1947) Introduction to Mathematical Statistics and A. M. Mood (1950) Introduction to the Theory of Statistics.[80]

See also

Notes

  1. ^ For example, this algorithm is given in the article Bc programming language.
  2. ^ De Moivre first published his findings in 1733, in a pamphlet Approximatio ad Summam Terminorum Binomii (a + b)n in Seriem Expansi that was designated for private circulation only. But it was not until the year 1738 that he made his results publicly available. The original pamphlet was reprinted several times, see for example Walker (1985).
  3. ^ "It has been customary certainly to regard as an axiom the hypothesis that if any quantity has been determined by several direct observations, made under the same circumstances and with equal care, the arithmetical mean of the observed values affords the most probable value, if not rigorously, yet very nearly at least, so that it is always most safe to adhere to it." — Gauss (1809, section 177)
  4. ^ "My custom of terming the curve the Gauss–Laplacian or normal curve saves us from proportioning the merit of discovery between the two great astronomer mathematicians." quote from Pearson (1905, p. 189)
  5. ^ Besides those specifically referenced here, such use is encountered in the works of Peirce, Galton (Galton (1889, chapter V)) and Lexis (Lexis (1878), Rohrbasser & Véron (2003)) c. 1875.[citation needed]

References

Citations

  1. ^ Norton, Matthew; Khokhlov, Valentyn; Uryasev, Stan (2019). "Calculating CVaR and bPOE for common probability distributions with application to portfolio optimization and density estimation" (PDF). Annals of Operations Research. 299 (1–2). Springer: 1281–1315. arXiv:1811.11301. doi:10.1007/s10479-019-03373-1. S2CID 254231768. Retrieved February 27, 2023.
  2. ^ Normal Distribution, Gale Encyclopedia of Psychology
  3. ^ Casella & Berger (2001, p. 102)
  4. ^ Lyon, A. (2014). Why are Normal Distributions Normal?, The British Journal for the Philosophy of Science.
  5. ^ Jorge, Nocedal; Stephan, J. Wright (2006). Numerical Optimization (2nd ed.). Springer. p. 249. ISBN 978-0387-30303-1.
  6. ^ a b "Normal Distribution". www.mathsisfun.com. Retrieved August 15, 2020.
  7. ^ Stigler (1982)
  8. ^ Halperin, Hartley & Hoel (1965, item 7)
  9. ^ McPherson (1990, p. 110)
  10. ^ Bernardo & Smith (2000, p. 121)
  11. ^ Scott, Clayton; Nowak, Robert (August 7, 2003). "The Q-function". Connexions.
  12. ^ Barak, Ohad (April 6, 2006). "Q Function and Error Function" (PDF). Tel Aviv University. Archived from the original (PDF) on March 25, 2009.
  13. ^ Weisstein, Eric W. "Normal Distribution Function". MathWorld.
  14. ^ Abramowitz, Milton; Stegun, Irene Ann, eds. (1983) [June 1964]. "Chapter 26, eqn 26.2.12". Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. Applied Mathematics Series. Vol. 55 (Ninth reprint with additional corrections of tenth original printing with corrections (December 1972); first ed.). Washington D.C.; New York: United States Department of Commerce, National Bureau of Standards; Dover Publications. p. 932. ISBN 978-0-486-61272-0. LCCN 64-60036. MR 0167642. LCCN 65-12253.
  15. ^ Vaart, A. W. van der (October 13, 1998). Asymptotic Statistics. Cambridge University Press. doi:10.1017/cbo9780511802256. ISBN 978-0-511-80225-6.
  16. ^ Cover, Thomas M.; Thomas, Joy A. (2006). Elements of Information Theory. John Wiley and Sons. p. 254. ISBN 9780471748816.
  17. ^ Park, Sung Y.; Bera, Anil K. (2009). "Maximum Entropy Autoregressive Conditional Heteroskedasticity Model" (PDF). Journal of Econometrics. 150 (2): 219–230. CiteSeerX 10.1.1.511.9750. doi:10.1016/j.jeconom.2008.12.014. Archived from the original (PDF) on March 7, 2016. Retrieved June 2, 2011.
  18. ^ Geary RC(1936) The distribution of the "Student's ratio for the non-normal samples". Supplement to the Journal of the Royal Statistical Society 3 (2): 178–184
  19. ^ Lukacs, Eugene (March 1942). "A Characterization of the Normal Distribution". Annals of Mathematical Statistics. 13 (1): 91–93. doi:10.1214/AOMS/1177731647. ISSN 0003-4851. JSTOR 2236166. MR 0006626. Zbl 0060.28509. Wikidata Q55897617.
  20. ^ a b c Patel & Read (1996, [2.1.4])
  21. ^ Fan (1991, p. 1258)
  22. ^ Patel & Read (1996, [2.1.8])
  23. ^ Papoulis, Athanasios. Probability, Random Variables and Stochastic Processes (4th ed.). p. 148.
  24. ^ Winkelbauer, Andreas (2012). "Moments and Absolute Moments of the Normal Distribution". arXiv:1209.4340 [math.ST].
  25. ^ Bryc (1995, p. 23)
  26. ^ Bryc (1995, p. 24)
  27. ^ Cover & Thomas (2006, p. 254)
  28. ^ Williams, David (2001). Weighing the odds : a course in probability and statistics (Reprinted. ed.). Cambridge [u.a.]: Cambridge Univ. Press. pp. 197–199. ISBN 978-0-521-00618-7.
  29. ^ Smith, José M. Bernardo; Adrian F. M. (2000). Bayesian theory (Reprint ed.). Chichester [u.a.]: Wiley. pp. 209, 366. ISBN 978-0-471-49464-5.{{cite book}}: CS1 maint: multiple names: authors list (link)
  30. ^ O'Hagan, A. (1994) Kendall's Advanced Theory of statistics, Vol 2B, Bayesian Inference, Edward Arnold. ISBN 0-340-52922-9 (Section 5.40)
  31. ^ a b Bryc (1995, p. 35)
  32. ^ UIUC, Lecture 21. The Multivariate Normal Distribution, 21.6:"Individually Gaussian Versus Jointly Gaussian".
  33. ^ Edward L. Melnick and Aaron Tenenbein, "Misspecifications of the Normal Distribution", The American Statistician, volume 36, number 4 November 1982, pages 372–373
  34. ^ "Kullback Leibler (KL) Distance of Two Normal (Gaussian) Probability Distributions". Allisons.org. December 5, 2007. Retrieved March 3, 2017.
  35. ^ Jordan, Michael I. (February 8, 2010). "Stat260: Bayesian Modeling and Inference: The Conjugate Prior for the Normal Distribution" (PDF).
  36. ^ Amari & Nagaoka (2000)
  37. ^ "Expectation of the maximum of gaussian random variables". Mathematics Stack Exchange. Retrieved April 7, 2024.
  38. ^ "Normal Approximation to Poisson Distribution". Stat.ucla.edu. Retrieved March 3, 2017.
  39. ^ a b Das, Abhranil (2021). "A method to integrate and classify normal distributions". Journal of Vision. 21 (10): 1. arXiv:2012.14331. doi:10.1167/jov.21.10.1. PMC 8419883. PMID 34468706.
  40. ^ Bryc (1995, p. 27)
  41. ^ Weisstein, Eric W. "Normal Product Distribution". MathWorld. wolfram.com.
  42. ^ Lukacs, Eugene (1942). "A Characterization of the Normal Distribution". The Annals of Mathematical Statistics. 13 (1): 91–3. doi:10.1214/aoms/1177731647. ISSN 0003-4851. JSTOR 2236166.
  43. ^ Basu, D.; Laha, R. G. (1954). "On Some Characterizations of the Normal Distribution". Sankhyā. 13 (4): 359–62. ISSN 0036-4452. JSTOR 25048183.
  44. ^ Lehmann, E. L. (1997). Testing Statistical Hypotheses (2nd ed.). Springer. p. 199. ISBN 978-0-387-94919-2.
  45. ^ Patel & Read (1996, [2.3.6])
  46. ^ Galambos & Simonelli (2004, Theorem 3.5)
  47. ^ a b Lukacs & King (1954)
  48. ^ Quine, M.P. (1993). "On three characterisations of the normal distribution". Probability and Mathematical Statistics. 14 (2): 257–263.
  49. ^ John, S (1982). "The three parameter two-piece normal family of distributions and its fitting". Communications in Statistics – Theory and Methods. 11 (8): 879–885. doi:10.1080/03610928208828279.
  50. ^ a b Krishnamoorthy (2006, p. 127)
  51. ^ Krishnamoorthy (2006, p. 130)
  52. ^ Krishnamoorthy (2006, p. 133)
  53. ^ Huxley (1932)
  54. ^ Jaynes, Edwin T. (2003). Probability Theory: The Logic of Science. Cambridge University Press. pp. 592–593. ISBN 9780521592710.
  55. ^ Oosterbaan, Roland J. (1994). "Chapter 6: Frequency and Regression Analysis of Hydrologic Data" (PDF). In Ritzema, Henk P. (ed.). Drainage Principles and Applications, Publication 16 (second revised ed.). Wageningen, The Netherlands: International Institute for Land Reclamation and Improvement (ILRI). pp. 175–224. ISBN 978-90-70754-33-4.
  56. ^ Why Most Published Research Findings Are False, John P. A. Ioannidis, 2005
  57. ^ Wichura, Michael J. (1988). "Algorithm AS241: The Percentage Points of the Normal Distribution". Applied Statistics. 37 (3): 477–84. doi:10.2307/2347330. JSTOR 2347330.
  58. ^ Johnson, Kotz & Balakrishnan (1995, Equation (26.48))
  59. ^ Kinderman & Monahan (1977)
  60. ^ Leva (1992)
  61. ^ Marsaglia & Tsang (2000)
  62. ^ Karney (2016)
  63. ^ Monahan (1985, section 2)
  64. ^ Wallace (1996)
  65. ^ Johnson, Kotz & Balakrishnan (1994, p. 85)
  66. ^ Le Cam & Lo Yang (2000, p. 74)
  67. ^ De Moivre, Abraham (1733), Corollary I – see Walker (1985, p. 77)
  68. ^ Stigler (1986, p. 76)
  69. ^ Gauss (1809, section 177)
  70. ^ Gauss (1809, section 179)
  71. ^ Laplace (1774, Problem III)
  72. ^ Pearson (1905, p. 189)
  73. ^ Stigler (1986, p. 144)
  74. ^ Stigler (1978, p. 243)
  75. ^ Stigler (1978, p. 244)
  76. ^ Maxwell (1860, p. 23)
  77. ^ Jaynes, Edwin J.; Probability Theory: The Logic of Science, Ch. 7.
  78. ^ Peirce, Charles S. (c. 1909 MS), Collected Papers v. 6, paragraph 327.
  79. ^ Kruskal & Stigler (1997).
  80. ^ "Earliest Uses... (Entry Standard Normal Curve)".
  81. ^ Sun, Jingchao; Kong, Maiying; Pal, Subhadip (June 22, 2021). "The Modified-Half-Normal distribution: Properties and an efficient sampling scheme". Communications in Statistics – Theory and Methods. 52 (5): 1591–1613. doi:10.1080/03610926.2021.1934700. ISSN 0361-0926. S2CID 237919587.

Sources

  • Aldrich, John; Miller, Jeff. "Earliest Uses of Symbols in Probability and Statistics".
  • Aldrich, John; Miller, Jeff. "Earliest Known Uses of Some of the Words of Mathematics". In particular, the entries for "bell-shaped and bell curve", "normal (distribution)", "Gaussian", and "Error, law of error, theory of errors, etc.".
  • Amari, Shun-ichi; Nagaoka, Hiroshi (2000). Methods of Information Geometry. Oxford University Press. ISBN 978-0-8218-0531-2.
  • Bernardo, José M.; Smith, Adrian F. M. (2000). Bayesian Theory. Wiley. ISBN 978-0-471-49464-5.
  • Bryc, Wlodzimierz (1995). The Normal Distribution: Characterizations with Applications. Springer-Verlag. ISBN 978-0-387-97990-8.
  • Casella, George; Berger, Roger L. (2001). Statistical Inference (2nd ed.). Duxbury. ISBN 978-0-534-24312-8.
  • Cody, William J. (1969). "Rational Chebyshev Approximations for the Error Function". Mathematics of Computation. 23 (107): 631–638. doi:10.1090/S0025-5718-1969-0247736-4.
  • Cover, Thomas M.; Thomas, Joy A. (2006). Elements of Information Theory. John Wiley and Sons.
  • Dia, Yaya D. (2023). "Approximate Incomplete Integrals, Application to Complementary Error Function". SSRN. doi:10.2139/ssrn.4487559. S2CID 259689086.
  • de Moivre, Abraham (1738). The Doctrine of Chances. American Mathematical Society. ISBN 978-0-8218-2103-9.
  • Fan, Jianqing (1991). "On the optimal rates of convergence for nonparametric deconvolution problems". The Annals of Statistics. 19 (3): 1257–1272. doi:10.1214/aos/1176348248. JSTOR 2241949.
  • Galton, Francis (1889). Natural Inheritance (PDF). London, UK: Richard Clay and Sons.
  • Galambos, Janos; Simonelli, Italo (2004). Products of Random Variables: Applications to Problems of Physics and to Arithmetical Functions. Marcel Dekker, Inc. ISBN 978-0-8247-5402-0.
  • Gauss, Carolo Friderico (1809). Theoria motvs corporvm coelestivm in sectionibvs conicis Solem ambientivm [Theory of the Motion of the Heavenly Bodies Moving about the Sun in Conic Sections] (in Latin). Hambvrgi, Svmtibvs F. Perthes et I. H. Besser. English translation.
  • Gould, Stephen Jay (1981). The Mismeasure of Man (first ed.). W. W. Norton. ISBN 978-0-393-01489-1.
  • Halperin, Max; Hartley, Herman O.; Hoel, Paul G. (1965). "Recommended Standards for Statistical Symbols and Notation. COPSS Committee on Symbols and Notation". The American Statistician. 19 (3): 12–14. doi:10.2307/2681417. JSTOR 2681417.
  • Hart, John F.; et al. (1968). Computer Approximations. New York, NY: John Wiley & Sons, Inc. ISBN 978-0-88275-642-4.
  • "Normal Distribution", Encyclopedia of Mathematics, EMS Press, 2001 [1994]
  • Herrnstein, Richard J.; Murray, Charles (1994). The Bell Curve: Intelligence and Class Structure in American Life. Free Press. ISBN 978-0-02-914673-6.
  • Huxley, Julian S. (1932). Problems of Relative Growth. London. ISBN 978-0-486-61114-3. OCLC 476909537.
  • Johnson, Norman L.; Kotz, Samuel; Balakrishnan, Narayanaswamy (1994). Continuous Univariate Distributions, Volume 1. Wiley. ISBN 978-0-471-58495-7.
  • Johnson, Norman L.; Kotz, Samuel; Balakrishnan, Narayanaswamy (1995). Continuous Univariate Distributions, Volume 2. Wiley. ISBN 978-0-471-58494-0.
  • Karney, C. F. F. (2016). "Sampling exactly from the normal distribution". ACM Transactions on Mathematical Software. 42 (1): 3:1–14. arXiv:1303.6257. doi:10.1145/2710016. S2CID 14252035.
  • Kinderman, Albert J.; Monahan, John F. (1977). "Computer Generation of Random Variables Using the Ratio of Uniform Deviates". ACM Transactions on Mathematical Software. 3 (3): 257–260. doi:10.1145/355744.355750. S2CID 12884505.
  • Krishnamoorthy, Kalimuthu (2006). Handbook of Statistical Distributions with Applications. Chapman & Hall/CRC. ISBN 978-1-58488-635-8.
  • Kruskal, William H.; Stigler, Stephen M. (1997). Spencer, Bruce D. (ed.). Normative Terminology: 'Normal' in Statistics and Elsewhere. Statistics and Public Policy. Oxford University Press. ISBN 978-0-19-852341-3.
  • Laplace, Pierre-Simon de (1774). "Mémoire sur la probabilité des causes par les événements". Mémoires de l'Académie Royale des Sciences de Paris (Savants étrangers), Tome 6: 621–656. Translated by Stephen M. Stigler in Statistical Science 1 (3), 1986: JSTOR 2245476.
  • Laplace, Pierre-Simon (1812). Théorie analytique des probabilités [Analytical theory of probabilities]. Paris, Ve. Courcier.
  • Le Cam, Lucien; Lo Yang, Grace (2000). Asymptotics in Statistics: Some Basic Concepts (second ed.). Springer. ISBN 978-0-387-95036-5.
  • Leva, Joseph L. (1992). "A fast normal random number generator" (PDF). ACM Transactions on Mathematical Software. 18 (4): 449–453. CiteSeerX 10.1.1.544.5806. doi:10.1145/138351.138364. S2CID 15802663. Archived from the original (PDF) on July 16, 2010.
  • Lexis, Wilhelm (1878). "Sur la durée normale de la vie humaine et sur la théorie de la stabilité des rapports statistiques". Annales de Démographie Internationale. II. Paris: 447–462.
  • Lukacs, Eugene; King, Edgar P. (1954). "A Property of Normal Distribution". The Annals of Mathematical Statistics. 25 (2): 389–394. doi:10.1214/aoms/1177728796. JSTOR 2236741.
  • McPherson, Glen (1990). Statistics in Scientific Investigation: Its Basis, Application and Interpretation. Springer-Verlag. ISBN 978-0-387-97137-7.
  • Marsaglia, George; Tsang, Wai Wan (2000). "The Ziggurat Method for Generating Random Variables". Journal of Statistical Software. 5 (8). doi:10.18637/jss.v005.i08.
  • Marsaglia, George (2004). "Evaluating the Normal Distribution". Journal of Statistical Software. 11 (4). doi:10.18637/jss.v011.i04.
  • Maxwell, James Clerk (1860). "V. Illustrations of the dynamical theory of gases. — Part I: On the motions and collisions of perfectly elastic spheres". Philosophical Magazine. Series 4. 19 (124): 19–32. doi:10.1080/14786446008642818.
  • Monahan, J. F. (1985). "Accuracy in random number generation". Mathematics of Computation. 45 (172): 559–568. doi:10.1090/S0025-5718-1985-0804945-X.
  • Patel, Jagdish K.; Read, Campbell B. (1996). Handbook of the Normal Distribution (2nd ed.). CRC Press. ISBN 978-0-8247-9342-5.
  • Pearson, Karl (1901). "On Lines and Planes of Closest Fit to Systems of Points in Space" (PDF). Philosophical Magazine. 6. 2 (11): 559–572. doi:10.1080/14786440109462720. S2CID 125037489.
  • Pearson, Karl (1905). "'Das Fehlergesetz und seine Verallgemeinerungen durch Fechner und Pearson'. A rejoinder". Biometrika. 4 (1): 169–212. doi:10.2307/2331536. JSTOR 2331536.
  • Pearson, Karl (1920). "Notes on the History of Correlation". Biometrika. 13 (1): 25–45. doi:10.1093/biomet/13.1.25. JSTOR 2331722.
  • Rohrbasser, Jean-Marc; Véron, Jacques (2003). "Wilhelm Lexis: The Normal Length of Life as an Expression of the "Nature of Things"". Population. 58 (3): 303–322. doi:10.3917/pope.303.0303.
  • Shore, H (1982). "Simple Approximations for the Inverse Cumulative Function, the Density Function and the Loss Integral of the Normal Distribution". Journal of the Royal Statistical Society. Series C (Applied Statistics). 31 (2): 108–114. doi:10.2307/2347972. JSTOR 2347972.
  • Shore, H (2005). "Accurate RMM-Based Approximations for the CDF of the Normal Distribution". Communications in Statistics – Theory and Methods. 34 (3): 507–513. doi:10.1081/sta-200052102. S2CID 122148043.
  • Shore, H (2011). "Response Modeling Methodology". WIREs Comput Stat. 3 (4): 357–372. doi:10.1002/wics.151. S2CID 62021374.
  • Shore, H (2012). "Estimating Response Modeling Methodology Models". WIREs Comput Stat. 4 (3): 323–333. doi:10.1002/wics.1199. S2CID 122366147.
  • Stigler, Stephen M. (1978). "Mathematical Statistics in the Early States". The Annals of Statistics. 6 (2): 239–265. doi:10.1214/aos/1176344123. JSTOR 2958876.
  • Stigler, Stephen M. (1982). "A Modest Proposal: A New Standard for the Normal". The American Statistician. 36 (2): 137–138. doi:10.2307/2684031. JSTOR 2684031.
  • Stigler, Stephen M. (1986). The History of Statistics: The Measurement of Uncertainty before 1900. Harvard University Press. ISBN 978-0-674-40340-6.
  • Stigler, Stephen M. (1999). Statistics on the Table. Harvard University Press. ISBN 978-0-674-83601-3.
  • Walker, Helen M. (1985). "De Moivre on the Law of Normal Probability" (PDF). In Smith, David Eugene (ed.). A Source Book in Mathematics. Dover. ISBN 978-0-486-64690-9.
  • Wallace, C. S. (1996). "Fast pseudo-random generators for normal and exponential variates". ACM Transactions on Mathematical Software. 22 (1): 119–127. doi:10.1145/225545.225554. S2CID 18514848.
  • Weisstein, Eric W. "Normal Distribution". MathWorld.
  • West, Graeme (2009). "Better Approximations to Cumulative Normal Functions" (PDF). Wilmott Magazine: 70–76. Archived from the original (PDF) on February 29, 2012.
  • Zelen, Marvin; Severo, Norman C. (1964). Probability Functions (chapter 26). Handbook of mathematical functions with formulas, graphs, and mathematical tables, by Abramowitz, M.; and Stegun, I. A.: National Bureau of Standards. New York, NY: Dover. ISBN 978-0-486-61272-0.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Normal_distribution&oldid=1248750692"