Density API for the Gamma distribution #
This file connects the Gamma law to HasPDF, pdf, and the Radon--Nikodym derivative, allowing
consumers to pass between distributional and density formulations.
The ℝ≥0∞-valued Gamma density is measurable.
theorem
TauCeti.Probability.hasPDF_of_hasLaw_gammaMeasure
{Ω : Type u_1}
[MeasurableSpace Ω]
{P : MeasureTheory.Measure Ω}
{X : Ω → ℝ}
{a r : ℝ}
(hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gammaMeasure a r) P)
:
A variable with a Gamma law has a density.
theorem
TauCeti.Probability.pdf_eq_gammaPDF_of_hasLaw_gammaMeasure
{Ω : Type u_1}
[MeasurableSpace Ω]
{P : MeasureTheory.Measure Ω}
{X : Ω → ℝ}
{a r : ℝ}
(hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gammaMeasure a r) P)
:
The density of a Gamma law is gammaPDF.
The Radon--Nikodym derivative of a Gamma law is gammaPDF.