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 #
poissonMeasure r: a Poisson measure onℕ, parametrized by its rater : ℝ≥0.
Main results #
poissonMeasure_conv_poissonMeasure:Poisson(r₁) ∗ Poisson(r₂) = Poisson(r₁ + r₂).IndepFun.hasLaw_add_poissonMeasure: the sum of two independent Poisson random variables is again Poisson.
The poisson measure with rate r : ℝ≥0 as a measure over ℕ.
Equations
- ProbabilityTheory.poissonMeasure r = MeasureTheory.Measure.sum fun (n : ℕ) => ENNReal.ofReal (Real.exp (-↑r) * ↑r ^ n / ↑n.factorial) • MeasureTheory.Measure.dirac n
Instances For
The Poisson probability distribution with rate r.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The Poisson probability distribution with rate r valued in the AddMonoidWithOne R.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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.
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.
The characteristic function of the Poisson distribution with rate r is
t ↦ exp(r(exp(it) - 1)).
Convolution of Poisson measures #
The sum of two independent Poisson random variables with rates r₁, r₂ is a Poisson
random variable with rate r₁ + r₂.
The sum of two independent Poisson random variables with rates r₁, r₂ taking values in R
is a Poisson random variable with rate r₁ + r₂.
The pmf of the Poisson distribution depending on its rate, as a function to ℝ
Instances For
The pmf of the Poisson distribution depending on its rate, as a PMF.
Equations
- ProbabilityTheory.poissonPMF r = ⟨fun (n : ℕ) => ENNReal.ofReal (ProbabilityTheory.poissonPMFReal r n), ⋯⟩