Intervals and tails of real Gaussian distributions #
Three estimates and a density formula for the real Gaussian distribution gaussianReal μ v:
- Peak density. The density is largest at the mean, where it is
1 / √(2πv)(gaussianPDFReal_le), so a nondegenerate Gaussian gives each set at most1 / √(2πv)times its Lebesgue measure (gaussianReal_le_ofReal_mul_volume); in particular an interval of lengthεhas mass at mostε / √(2πv)(gaussianReal_real_Iic_add_le). - Anderson's inequality on the line. Among the intervals of a given length, the one centered
at the mean has the largest mass (
gaussianReal_Icc_le). For an interval[c - w, c + w]withc ≥ μ, the two intervals share[c - w, μ + w], and translation by2 wcarries the rest[μ - w, c - w]of the centered interval onto the rest[μ + w, c + w]of the shifted one, without increasing the density there. - Chebyshev's inequality. The deviation from the mean is at least
cwith probability at mostv / c ^ 2(gaussianReal_meas_ge_le). - Density with respect to the standard Gaussian. For
v ≠ 0,gaussianReal μ vhas densityt ↦ φ_{μ,v} t / φ_{0,1} twith respect togaussianReal 0 1(gaussianReal_eq_withDensity_div).
Main results #
ProbabilityTheory.continuous_gaussianPDFReal,ProbabilityTheory.contDiff_gaussianPDFReal: the Gaussian density is continuous and smooth.ProbabilityTheory.gaussianPDFReal_le: the Gaussian density is at most1 / √(2πv).ProbabilityTheory.gaussianReal_le_ofReal_mul_volume: the Gaussian measure of a set is at most1 / √(2πv)times its Lebesgue measure.ProbabilityTheory.gaussianReal_real_Iic_add_le: anticoncentration of a Gaussian,Pr[Z ≤ x + ε] ≤ Pr[Z ≤ x] + ε / √(2πv).ProbabilityTheory.gaussianReal_Icc_le: Anderson's inequality on the line.ProbabilityTheory.gaussianReal_meas_ge_le: Chebyshev's inequality for a Gaussian.ProbabilityTheory.gaussianReal_zero_map_neg: a centered Gaussian is symmetric.ProbabilityTheory.gaussianReal_eq_withDensity_div: the density of a nondegenerate Gaussian with respect to the standard Gaussian.
theorem ProbabilityTheory.continuous_gaussianPDFReal (μ : ℝ) (v : NNReal) :
Continuous (gaussianPDFReal μ v)
The Gaussian density is continuous.
The Gaussian density is smooth.
Anderson's inequality on the line. A Gaussian gives an interval of radius w the most
mass when it is centered at the mean.
A centered real Gaussian is symmetric: negation preserves gaussianReal 0 v.
theorem ProbabilityTheory.gaussianReal_eq_withDensity_div (m : ℝ) {v : NNReal} (hv : v ≠ 0) :
gaussianReal m v = (gaussianReal 0 1).withDensity fun (t : ℝ) => ENNReal.ofReal (gaussianPDFReal m v t / gaussianPDFReal 0 1 t)
The density of a Gaussian with respect to the standard Gaussian: for v ≠ 0,
gaussianReal m v has density t ↦ φ_{m,v} t / φ_{0,1} t with respect to gaussianReal 0 1.