Gamma normalization and the Dirichlet distribution #
Independent Gamma variables with positive shapes and a common positive rate are normalized by their sum. The sum and the normalized vector have a product law: Gamma with the total shape, and Dirichlet with the original shapes.
The main random-variable results are iIndepFun.hasLaw_dirichlet_of_gamma,
iIndepFun.hasLaw_sum_gamma, and iIndepFun.indepFun_sum_simplexNormalize_gamma.
Their common source is map_sum_simplexNormalize_pi_gammaMeasure.
The index type is finite and nonempty; the singleton case is included. Empty families are excluded because their total is zero and the project's empty-index Dirichlet measure is not a probability measure. The normalization denominator is almost surely positive.
The proof uses the elementary radial integration formula from StdSimplexMeasure.Radial;
neither complex Dirichlet measures nor analytic continuation is involved.
The finite product of Gamma measures has the product of their densities.
The density factorization in radial coordinates. The Jacobian is the coordinate-simplex
factor t^(card ι - 1), not an ambient Euclidean surface-area factor.
Normalize a vector by its coordinate sum. At sum zero this is the zero vector, following Lean's convention for division by zero.
Equations
- ProbabilityTheory.simplexNormalize x i = x i / ∑ j : ι, x j
Instances For
Gamma measure is concentrated on strictly positive values.
Nonnegative density factorization in radial coordinates.
The joint law of the total and normalized coordinates under a product of Gamma measures.
Independent Gamma variables with a common rate have independent total and normalized vector, with the indicated Gamma and Dirichlet laws.
The sum of independent Gamma variables with a common rate is Gamma-distributed, with shape the sum of the shapes.
Gamma normalization constructs a Dirichlet random vector. In particular, take r = 1
for the unit-rate Gamma-ratio characterization.
The total of independent Gamma variables is independent of their ratios to that total.
The denominator in the Gamma-ratio construction is almost surely strictly positive.