Documentation

LeanPool.CarlsonFunctions.Dirichlet.Real

Real normalized Dirichlet measure on the standard simplex #

The multivariate Dirichlet measure [KBJ00, Ch 49] is defined on the standard simplex in symmetric variables, i.e. Convexity.StdSimplex.coordinateSet ℝ ι, or $E^{k-1}$ embedded in $ℝ^k$ where k = card ι.

This file constructs the density and the probability measure, and records permutation invariance and vector-valued integration against the density. The real monomial integral theory is in Dirichlet.Integral.Real; moments, aggregation, and the beta marginal are in Dirichlet.Moments. No complex Dirichlet integral or parameter continuation is imported.

The construction uses the standard-simplex coordinate measure and integral API exported by StdSimplexMeasure.Measure and StdSimplexMeasure.Integral. The coordinate constructions are provided transitively by StdSimplexMeasure.Coordinates.

References #

[KBJ00] Kotz, Samuel, Narayanaswamy Balakrishnan, and Norman L. Johnson. "Continuous multivariate distributions, Volume 1: Models and applications." John Wiley & Sons, 2000. Online: https://dx.doi.org/10.1002/0471722065.

noncomputable def ProbabilityTheory.dirichletPdfReal {ι : Type u_1} [Fintype ι] (b u : ι → ℝ) :

The real-valued Dirichlet PDF with parameters b. This PDF is supported on stdSimplexInterior ι.

Equations
Instances For
    noncomputable def ProbabilityTheory.dirichletPdf {ι : Type u_1} [Fintype ι] (b u : ι → ℝ) :

    The ENNReal-valued Dirichlet PDF.

    Equations
    Instances For
      noncomputable def ProbabilityTheory.dirichletMeasure {ι : Type u_1} [Fintype ι] (b : ι → ℝ) :

      The Dirichlet measure on the standard simplex.

      Equations
      Instances For

        The real-valued Dirichlet density is a measurable function.

        The (ENNReal) Dirichlet density is a measurable function.

        The Radon-Nikodym derivative of the Dirichlet measure is almost everywhere equal to the Dirichlet PDF.

        theorem ProbabilityTheory.dirichletPdfReal_nonneg {ι : Type u_1} [Fintype ι] [Nonempty ι] {b : ι → ℝ} (hb : b ∈ mvRealBetaDomain) (u : ι → ℝ) :

        The real-valued Dirichlet density is nonnegative.

        Unwraps an integral against the Dirichlet measure into an integral against the standard simplex measure, explicitly multiplying the function by the Dirichlet density.

        Real-valued integration against the Dirichlet probability measure is integration against its density on the simplex.

        The measure of the standard simplex under the Dirichlet measure equals 1.

        The Dirichlet density vanishes outside Convexity.StdSimplex.coordinateSet ℝ ι.

        The Dirichlet measure is restricted to the standard simplex.

        The Dirichlet measure satisfies isProbabilityMeasure.

        theorem ProbabilityTheory.memLp_dirichletMeasure_coordinate {ι : Type u_1} [Fintype ι] {b : ι → ℝ} (hb : b ∈ mvRealBetaDomain) (i : ι) (p : ENNReal) :
        MeasureTheory.MemLp (fun (u : ι → ℝ) => u i) p (dirichletMeasure b)

        Every Dirichlet coordinate belongs to every Lᵖ space on the positive parameter domain.

        theorem ProbabilityTheory.integral_dirichletMeasure_one {ι : Type u_1} [Fintype ι] [Nonempty ι] {b : ι → ℝ} (hb : b ∈ mvRealBetaDomain) :
        ∫ (x : ι → ℝ), 1 ∂dirichletMeasure b = 1

        The total mass / integral of the constant function 1 with respect to the Dirichlet measure is 1.

        The Dirichlet measure is absolutely continuous with respect to stdSimplexMeasure.

        noncomputable def ProbabilityTheory.dirichletMeasureUniform {ι : Type u_1} [Fintype ι] (α : ℝ) :

        Defining the Dirichlet measure for the case of all b parameters equal.

        Equations
        Instances For
          theorem ProbabilityTheory.dirichletPdf_perm {ι : Type u_1} [Fintype ι] (b : ι → ℝ) (σ : Equiv.Perm ι) (u : ι → ℝ) :
          dirichletPdf (b ∘ ⇑σ) (u ∘ ⇑σ) = dirichletPdf b u

          Simultaneously permuting the parameters and coordinates leaves the Dirichlet density unchanged.

          theorem ProbabilityTheory.measurePreserving_dirichletMeasure_perm {ι : Type u_1} [Fintype ι] (b : ι → ℝ) (σ : Equiv.Perm ι) :
          MeasureTheory.MeasurePreserving (fun (x : ι → ℝ) => x ∘ ⇑σ) (dirichletMeasure b) (dirichletMeasure (b ∘ ⇑σ))

          Permuting coordinates together with parameters is a measure-preserving transformation of dirichletMeasure.

          A complex-valued integral against a real Dirichlet measure can be written using its real density and the standard-simplex measure.