Random variables and their laws
DefinitionDiscrete law#
A probability mass function, or discrete probability measures is a function α → ℝ≥0∞ such
that the values have (infinite) sum 1.
PMF.{u} (α : Type u) : Type u
Sources
Uses 2
ClassProbability density function#
A random variable X : Ω → E is said to have a probability density function (HasPDF)
with respect to the measure ℙ on Ω and μ on E
if the push-forward measure of ℙ along X is absolutely continuous with respect to μ
and they have a Lebesgue decomposition (HaveLebesgueDecomposition).
MeasureTheory.HasPDF.{u_1, u_2} {Ω : Type u_1} {E : Type u_2} [MeasurableSpace E]
{m : MeasurableSpace Ω} (X : Ω → E) (ℙ : MeasureTheory.Measure Ω)
(μ : MeasureTheory.Measure E := by volume_tac) : Prop
Sources
DefinitionVariance of a real-valued random variable#
The ℝ-valued variance of a real-valued random variable defined by applying ENNReal.toReal
to evariance.
ProbabilityTheory.variance.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} (X : Ω → ℝ)
(μ : MeasureTheory.Measure Ω) : ℝ
Sources
Uses 2 · Used by 3
DefinitionIndependence of random variables#
A family of functions defined on the same space Ω and taking values in possibly different
spaces, each with a measurable space structure, is independent if the family of measurable space
structures they generate on Ω is independent. For a function g with codomain having measurable
space structure m, the generated measurable space structure is MeasurableSpace.comap g m.
ProbabilityTheory.iIndepFun.{u_1, u_2, u_6} {Ω : Type u_1} {ι : Type u_2} {_mΩ : MeasurableSpace Ω}
{β : ι → Type u_6} [m : (x : ι) → MeasurableSpace (β x)] (f : (x : ι) → Ω → β x)
(μ : MeasureTheory.Measure Ω := by volume_tac) : Prop
Sources
Uses 4 · Used by 2
TheoremKolmogorov's \(0\)-\(1\) law#
Kolmogorov's 0-1 law : any event in the tail σ-algebra of an independent sequence of
sub-σ-algebras has probability 0 or 1.
The tail σ-algebra limsup s atTop is the same as ⋂ n, ⋃ i ≥ n, s i.
ProbabilityTheory.measure_zero_or_one_of_measurableSet_limsup_atTop.{u_2, u_3} {Ω : Type u_2}
{ι : Type u_3} {s : ι → MeasurableSpace Ω} {m0 : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω}
[SemilatticeSup ι] [NoMaxOrder ι] [Nonempty ι] (h_le : ∀ (n : ι), s n ≤ m0)
(h_indep : ProbabilityTheory.iIndep s μ) {t : Set Ω} (ht_tail : MeasurableSet t) :
μ t = 0 ∨ μ t = 1
Sources
- Mathlib documentation:
ProbabilityTheory.measure_zero_or_one_of_measurableSet_limsup_atTop - Source of
ProbabilityTheory.measure_zero_or_one_of_measurableSet_limsup_atTopin Mathlib/Probability/Independence/ZeroOne.lean - Mathlib overview: Probability Theory › Random variables and their laws
- Mathlib undergraduate list: Probability Theory › Definitions of a probability space
Uses 5
TheoremMean of product of independent random variables#
Mathlib states this as ProbabilityTheory.IndepFun.integral_mul_eq_mul_integral.
ProbabilityTheory.IndepFun.integral_mul_eq_mul_integral.{u_1, u_2} {Ω : Type u_1} {𝕜 : Type u_2}
[RCLike 𝕜] {mΩ : MeasurableSpace Ω} {μ : MeasureTheory.Measure Ω} {X Y : Ω → 𝕜}
(hXY : ProbabilityTheory.IndepFun X Y μ) (hX : MeasureTheory.AEStronglyMeasurable X μ)
(hY : MeasureTheory.AEStronglyMeasurable Y μ) :
∫ (x : Ω), (X * Y) x ∂μ = (∫ (x : Ω), X x ∂μ) * ∫ (x : Ω), Y x ∂μ
Sources
Uses 10
DefinitionMoment of a random variable#
Moment of a real random variable, μ[X ^ p].
ProbabilityTheory.moment.{u_1} {Ω : Type u_1} {m : MeasurableSpace Ω} (X : Ω → ℝ) (p : ℕ)
(μ : MeasureTheory.Measure Ω) : ℝ
Sources
Uses 2
DefinitionBernoulli law#
The Bernoulli distribution over an arbitrary measurable space X.
Given x y : X and p : I (I is the unitInterval),
it is the measure which gives mass p to {x} and 1 - p to {y}.
ProbabilityTheory.bernoulliMeasure.{u_1} {X : Type u_1} [MeasurableSpace X] (x y : X)
(p : ↑unitInterval) : MeasureTheory.Measure X
Sources
- Mathlib documentation:
ProbabilityTheory.bernoulliMeasure - Source of
ProbabilityTheory.bernoulliMeasurein Mathlib/Probability/Distributions/Bernoulli.lean - Mathlib overview: Probability Theory › Random variables and their laws
- Mathlib undergraduate list: Probability Theory › Random variables and their laws
Uses 3 · Used by 1
DefinitionBinomial law#
The binomial probability distribution with parameter p.
ProbabilityTheory.binomial (n : ℕ) (p : ↑unitInterval) : MeasureTheory.Measure ℕ
Sources
Uses 8
DefinitionGeometric law#
The geometric measure with success probability p as a measure over ℕ.
ProbabilityTheory.geometricMeasure (p : ↑unitInterval) : MeasureTheory.Measure ℕ
Sources
- Mathlib documentation:
ProbabilityTheory.geometricMeasure - Source of
ProbabilityTheory.geometricMeasurein Mathlib/Probability/Distributions/Geometric.lean - Mathlib overview: Probability Theory › Random variables and their laws
- Mathlib undergraduate list: Probability Theory › Random variables and their laws
Uses 4
DefinitionPoisson law#
The poisson measure with rate r : ℝ≥0 as a measure over ℕ.
ProbabilityTheory.poissonMeasure (r : NNReal) : MeasureTheory.Measure ℕ
Sources
- Mathlib documentation:
ProbabilityTheory.poissonMeasure - Source of
ProbabilityTheory.poissonMeasurein Mathlib/Probability/Distributions/Poisson/Basic.lean - Mathlib overview: Probability Theory › Random variables and their laws
- Mathlib undergraduate list: Probability Theory › Random variables and their laws
Uses 4
DefinitionExponential law#
Measure defined by the exponential distribution
ProbabilityTheory.expMeasure (r : ℝ) : MeasureTheory.Measure ℝ
Sources
Uses 4
DefinitionGaussian law#
A Gaussian distribution on ℝ with mean μ and variance v.
ProbabilityTheory.gaussianReal (μ : ℝ) (v : NNReal) : MeasureTheory.Measure ℝ
Sources
- Mathlib documentation:
ProbabilityTheory.gaussianReal - Source of
ProbabilityTheory.gaussianRealin Mathlib/Probability/Distributions/Gaussian/Real.lean - Mathlib overview: Probability Theory › Random variables and their laws
- Mathlib undergraduate list: Probability Theory › Random variables and their laws
Uses 6 · Used by 2
ClassGaussian measures#
A measure is Gaussian if its map by every continuous linear form is a real Gaussian measure.
ProbabilityTheory.IsGaussian.{u_1} {E : Type u_1} [TopologicalSpace E] [AddCommMonoid E]
[_root_.Module ℝ E] {mE : MeasurableSpace E} (μ : MeasureTheory.Measure E) : Prop
Sources
Uses 4 · Used by 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.