Documentation

Mathlib.Probability.Distributions.Geometric

Geometric distributions over ℕ #

Define the geometric measure over the natural numbers

Main definitions #

noncomputable def ProbabilityTheory.geometricPMFReal (p : ℝ) (n : ℕ) :

The pmf of the geometric distribution depending on its success probability.

Equations
Instances For
    theorem ProbabilityTheory.geometricPMFRealSum {p : ℝ} (hp_pos : 0 < p) (hp_le_one : p ≤ 1) :
    HasSum (fun (n : ℕ) => geometricPMFReal p n) 1
    theorem ProbabilityTheory.geometricPMFReal_pos {p : ℝ} {n : ℕ} (hp_pos : 0 < p) (hp_lt_one : p < 1) :

    The geometric pmf is positive for all natural numbers

    theorem ProbabilityTheory.geometricPMFReal_nonneg {p : ℝ} {n : ℕ} (hp_pos : 0 < p) (hp_le_one : p ≤ 1) :
    noncomputable def ProbabilityTheory.geometricPMF {p : ℝ} (hp_pos : 0 < p) (hp_le_one : p ≤ 1) :

    Geometric distribution with success probability p.

    Equations
    Instances For

      The geometric pmf is measurable.

      noncomputable def ProbabilityTheory.geometricMeasure {p : ℝ} (hp_pos : 0 < p) (hp_le_one : p ≤ 1) :

      Measure defined by the geometric distribution

      Equations
      Instances For
        @[deprecated ProbabilityTheory.isProbabilityMeasure_geometricMeasure (since := "2025-08-28")]
        theorem ProbabilityTheory.isProbabilityMeasureGeometric {p : ℝ} (hp_pos : 0 < p) (hp_le_one : p ≤ 1) :

        Alias of ProbabilityTheory.isProbabilityMeasure_geometricMeasure.