Gaussian distributions over ℝ #
We define a Gaussian measure over the reals.
Main definitions #
- gaussianPDFReal: the function- μ v x ↦ (1 / (sqrt (2 * pi * v))) * exp (- (x - μ)^2 / (2 * v)), which is the probability density function of a Gaussian distribution with mean- μand variance- v(when- v ≠ 0).
- gaussianPDF:- ℝ≥0∞-valued pdf,- gaussianPDF μ v x = ENNReal.ofReal (gaussianPDFReal μ v x).
- gaussianReal: a Gaussian measure on- ℝ, parametrized by its mean- μand variance- v. If- v = 0, this is- dirac μ, otherwise it is defined as the measure with density- gaussianPDF μ vwith respect to the Lebesgue measure.
Main results #
- gaussianReal_add_const: if- Xis a random variable with Gaussian distribution with mean- μand variance- v, then- X + yis Gaussian with mean- μ + yand variance- v.
- gaussianReal_const_mul: if- Xis a random variable with Gaussian distribution with mean- μand variance- v, then- c * Xis Gaussian with mean- c * μand variance- c^2 * v.
The Gaussian pdf is positive when the variance is not zero.
The Gaussian pdf is nonnegative.
The Gaussian pdf is measurable.
The Gaussian pdf is strongly measurable.
The Gaussian distribution pdf integrates to 1 when the variance is not zero.
The Gaussian distribution pdf integrates to 1 when the variance is not zero.
The pdf of a Gaussian distribution on ℝ with mean μ and variance v.
Equations
Instances For
A Gaussian distribution on ℝ with mean μ and variance v.
Equations
Instances For
The map of a Gaussian distribution by addition of a constant is a Gaussian.
The map of a Gaussian distribution by addition of a constant is a Gaussian.
The map of a Gaussian distribution by multiplication by a constant is a Gaussian.
The map of a Gaussian distribution by multiplication by a constant is a Gaussian.
If X is a real random variable with Gaussian law with mean μ and variance v, then X + y
has Gaussian law with mean μ + y and variance v.
If X is a real random variable with Gaussian law with mean μ and variance v, then y + X
has Gaussian law with mean μ + y and variance v.
If X is a real random variable with Gaussian law with mean μ and variance v, then c * X
has Gaussian law with mean c * μ and variance c^2 * v.
If X is a real random variable with Gaussian law with mean μ and variance v, then X * c
has Gaussian law with mean c * μ and variance c^2 * v.
The complex moment-generating function of a Gaussian distribution with mean μ and variance v
is given by z ↦ exp (z * μ + v * z ^ 2 / 2).
The complex moment-generating function of a random variable with Gaussian distribution
with mean μ and variance v is given by z ↦ exp (z * μ + v * z ^ 2 / 2).
The characteristic function of a Gaussian distribution with mean μ and variance v
is given by t ↦ exp (t * μ - v * t ^ 2 / 2).
The moment-generating function of a random variable with Gaussian distribution
with mean μ and variance v is given by t ↦ exp (μ * t + v * t ^ 2 / 2).
The cumulant-generating function of a random variable with Gaussian distribution
with mean μ and variance v is given by t ↦ μ * t + v * t ^ 2 / 2.
The mean of a real Gaussian distribution gaussianReal μ v is its mean parameter μ.
The variance of a real Gaussian distribution gaussianReal μ v is
its variance parameter v.
The variance of a real Gaussian distribution gaussianReal μ v is
its variance parameter v.
All the moments of a real Gaussian distribution are finite. That is, the identity is in Lp for
all finite p.
All the moments of a real Gaussian distribution are finite. That is, the identity is in Lp for
all finite p.
Two real Gaussian distributions are equal iff they have the same mean and variance.
The convolution of two real Gaussian distributions with means m₁, m₂ and variances v₁, v₂
is a real Gaussian distribution with mean m₁ + m₂ and variance v₁ + v₂.