Documentation

TauCeti.Probability.Distributions.NoncentralF.Basic

Noncentral F laws #

For positive degrees of freedom m and n and noncentrality l ≥ 0, the noncentral F law is the law of the variance ratio (U / m) / (V / n) of independent variables U and V, where U is noncentral chi-squared with degree m and noncentrality l and V is central chi-squared with degree n. Invalid degrees give the zero measure.

Since the noncentral chi-squared law is a Poisson mixture of central chi-squared laws, the noncentral F law is the Poisson mixture, with weights of rate l / 2, of the scaled central F laws ((m + 2 * j) / m) • F(m + 2 * j, n). This presentation is the route to the density, distribution function, quantile and moments of the family.

Main definitions #

Main results #

References #

The noncentral F law with numerator degree m, denominator degree n and noncentrality l: the law of (U / m) / (V / n) for independent U with law noncentralChiSquaredMeasure m l and V with law chiSquaredMeasure n. It is the zero measure unless 0 < m and 0 < n.

Instances For
    theorem TauCeti.Probability.noncentralFMeasure_eq_map {m n : ℝ} (hm : 0 < m) (hn : 0 < n) (l : NNReal) :

    For positive degrees, the noncentral F law is the defining variance-ratio pushforward.

    @[simp]

    For invalid degrees, the noncentral F measure is zero.

    The noncentral F law is a probability measure for positive degrees.

    @[simp]

    The noncentral F measure is a probability measure exactly when both degrees are positive.

    The noncentral F law is a finite measure for every choice of parameters.

    The Poisson mixture of scaled central F laws #

    The noncentral F law is the Poisson-weighted sum, with weights of rate l / 2, of the central F laws F(m + 2 * j, n) scaled by (m + 2 * j) / m. For n ≤ 0 both sides are zero.

    theorem TauCeti.Probability.noncentralFMeasure_eq_bind {m n : ℝ} (hm : 0 < m) (l : NNReal) :
    noncentralFMeasure m n l = (ProbabilityTheory.poissonMeasure (l / 2)).bind fun (j : ℕ) => MeasureTheory.Measure.map (fun (x : ℝ) => (m + 2 * ↑j) / m * x) (fisherSnedecorMeasure (m + 2 * ↑j) n)

    The noncentral F law as a Measure.bind mixture of scaled central F laws over the Poisson law of rate l / 2.

    theorem TauCeti.Probability.noncentralFMeasure_apply {m n : ℝ} (hm : 0 < m) (l : NNReal) (s : Set ℝ) :
    (noncentralFMeasure m n l) s = ∑' (j : ℕ), (ProbabilityTheory.poissonMeasure (l / 2)) {j} * (MeasureTheory.Measure.map (fun (x : ℝ) => (m + 2 * ↑j) / m * x) (fisherSnedecorMeasure (m + 2 * ↑j) n)) s

    Set evaluation as an extended-real Poisson series; the formula holds for every set.

    theorem TauCeti.Probability.lintegral_noncentralFMeasure {m n : ℝ} (hm : 0 < m) (l : NNReal) (f : ℝ → ENNReal) :
    ∫⁻ (x : ℝ), f x ∂noncentralFMeasure m n l = ∑' (j : ℕ), (ProbabilityTheory.poissonMeasure (l / 2)) {j} * ∫⁻ (x : ℝ), f ((m + 2 * ↑j) / m * x) ∂fisherSnedecorMeasure (m + 2 * ↑j) n

    Nonnegative integration against the noncentral F law can be performed component by component, without measurability, finiteness or integrability assumptions on the observable.

    @[simp]

    At zero noncentrality the noncentral F law is Fisher's F law, for every pair of degrees.

    The noncentral F law dominates its Poisson-zero component, the central F law with the same degrees weighted by exp (-l / 2), for every choice of parameters.

    Support and absolute continuity #

    A noncentral F variable is positive almost surely, for every choice of parameters.

    The noncentral F law is absolutely continuous with respect to Lebesgue measure, for every choice of parameters.

    The noncentral F law has no atoms, for every choice of parameters.

    @[simp]
    theorem TauCeti.Probability.support_noncentralFMeasure {m n : ℝ} (hm : 0 < m) (hn : 0 < n) (l : NNReal) :

    For positive degrees the topological support is the closed nonnegative half-line, although the variable is positive almost surely.

    Parameter measurability #

    The full totalized noncentral F family is jointly measurable in its two degrees and its noncentrality.

    Random-variable forms #

    theorem TauCeti.Probability.hasLaw_noncentralF_of_noncentralChiSquared {m n : ℝ} {l : NNReal} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} {X Y : Ω → ℝ} (hm : 0 < m) (hn : 0 < n) (hXY : ProbabilityTheory.IndepFun X Y P) (hX : ProbabilityTheory.HasLaw X (noncentralChiSquaredMeasure m l) P) (hY : ProbabilityTheory.HasLaw Y (chiSquaredMeasure n) P) :
    ProbabilityTheory.HasLaw (fun (ω : Ω) => X ω / m / (Y ω / n)) (noncentralFMeasure m n l) P

    If X is noncentral chi-squared with degree m and noncentrality l, and Y is an independent central chi-squared variable with degree n, then the variance ratio (X / m) / (Y / n) has the noncentral F law.

    A variable with a noncentral F law has a probability density function with respect to Lebesgue measure.