Documentation

Mathlib.Probability.Distributions.Poisson.Basic

Poisson distributions over ℕ #

Define the Poisson measure over the natural numbers. For r : ℝ≥0, poissonMeasure r is the measure which to {n} associates exp (-r) * r ^ n / (n)!.

Main definition #

The poisson measure with rate r : ℝ≥0 as a measure over .

Instances For
    theorem ProbabilityTheory.hasSum_one_poissonMeasure (r : NNReal) :
    HasSum (fun (n : ) => Real.exp (-r) * r ^ n / n.factorial) 1
    theorem ProbabilityTheory.integrable_poissonMeasure_iff {E : Type u_1} [NormedAddCommGroup E] {r : NNReal} {f : E} :
    MeasureTheory.Integrable f (poissonMeasure r) Summable fun (n : ) => Real.exp (-r) * r ^ n / n.factorial * f n
    theorem ProbabilityTheory.hasSum_integral_poissonMeasure {E : Type u_1} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {r : NNReal} {f : E} (hf : MeasureTheory.Integrable f (poissonMeasure r)) :
    HasSum (fun (n : ) => (Real.exp (-r) * r ^ n / n.factorial) f n) ( (n : ), f n poissonMeasure r)
    theorem ProbabilityTheory.integral_poissonMeasure' {E : Type u_1} [NormedAddCommGroup E] [NormedSpace E] [CompleteSpace E] {r : NNReal} {f : E} (hf : MeasureTheory.Integrable f (poissonMeasure r)) :
    (n : ), f n poissonMeasure r = ∑' (n : ), (Real.exp (-r) * r ^ n / n.factorial) f n

    If a function is integrable with respect to poissonMeasure r, then its integral against this measure is given by its sum weighted by exp (-r) * r ^ n / n!.

    See integral_poissonMeasure for a version where the codomain is finite-dimensional and does not require the integrability hypothesis.

    theorem ProbabilityTheory.integral_poissonMeasure {E : Type u_1} [NormedAddCommGroup E] [NormedSpace E] [FiniteDimensional E] (r : NNReal) (f : E) :
    (n : ), f n poissonMeasure r = ∑' (n : ), (Real.exp (-r) * r ^ n / n.factorial) f n

    The integral of a function taking values in a finite-dimensional space against poissonMeasure r is given by its sum weighted by exp (-r) * r ^ n / n!. This version does not require integrability, as the integral exists if and only if the sum exists, and otherwise they are both defined to be zero.

    See integral_poissonMeasure' with a general codomain which assumes integrability.

    @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
    noncomputable def ProbabilityTheory.poissonPMFReal (r : NNReal) (n : ) :

    The pmf of the Poisson distribution depending on its rate, as a function to ℝ

    Instances For
      @[deprecated ProbabilityTheory.hasSum_one_poissonMeasure (since := "2026-03-08")]
      theorem ProbabilityTheory.poissonPMFRealSum (r : NNReal) :
      HasSum (fun (n : ) => poissonPMFReal r n) 1
      @[deprecated ProbabilityTheory.poissonMeasure_real_singleton_pos (since := "2026-03-08")]
      theorem ProbabilityTheory.poissonPMFReal_pos {r : NNReal} {n : } (hr : 0 < r) :
      @[deprecated MeasureTheory.measureReal_nonneg (since := "2026-03-08")]
      @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
      noncomputable def ProbabilityTheory.poissonPMF (r : NNReal) :
      PMF

      The pmf of the Poisson distribution depending on its rate, as a PMF.

      Instances For
        @[deprecated ProbabilityTheory.poissonMeasure (since := "2026-03-08")]
        @[deprecated Measurable.of_discrete (since := "2026-03-08")]
        @[deprecated MeasureTheory.StronglyMeasurable.of_discrete (since := "2026-03-08")]