ProbabilityTheory.hasLaw_div_add_of_hasLaw_gammaMeasure
Library · theorem
Beta as a ratio of Gammas, HasLaw form: for a, \mathbf{b}, r > 0 and independent X \sim \mathrm{Gamma}(a, r) and Y \sim \mathrm{Gamma}(\mathbf{b}, r) (shapes a, \mathbf{b}, common rate r), X/(X+Y) \sim \mathrm{Beta}(a, \mathbf{b}).
ProbabilityTheory.hasLaw_div_add_of_hasLaw_gammaMeasure.{u_1} {Ω : Type u_1}
{mΩ : MeasurableSpace Ω} {μ : Measure Ω} {X Y : Ω → ℝ} {a b r : ℝ} (ha : 0 < a) (hb : 0 < b)
(hr : 0 < r) (hX : HasLaw X (gammaMeasure a r) μ) (hY : HasLaw Y (gammaMeasure b r) μ)
(hXY : X ⟂ᵢ[μ] Y) : HasLaw (fun ω ↦ X ω / (X ω + Y ω)) (betaMeasure a b) μImport NLAlib.ForMathlib.Probability.Distributions.Beta.