Fisher's F distribution #
Main definitions #
fisherSnedecorMeasure— the Fisher--Snedecor probability measure.fisherSnedecorPDFRealandfisherSnedecorPDF— its real- and extended-nonnegative-valued densities.fisherSnedecorMap— the beta-to-F transformation.fisherSnedecorMapInv— its inverse on the positive half-line.
Main results #
fisherSnedecorMeasure_eq_map— the beta pushforward characterization.isProbabilityMeasure_fisherSnedecorMeasure_iff— the exact parameter range for a probability measure.fisherSnedecorMap_image_Ioo— the image of the open unit interval.fisherSnedecorMap_strictMonoOn— strict monotonicity below one.fisherSnedecorMapInv_mapandfisherSnedecorMap_mapInv— the inverse identities.fisherSnedecorMap_div_add— the beta-to-F image of a ratio-to-sum is the scaled quotient.ae_mem_Ioi_fisherSnedecorMeasure— positivity almost surely.fisherSnedecorMeasure_eq_withDensity— the density representation with respect to Lebesgue measure.integrable_fisherSnedecorMeasure_iffandintegral_fisherSnedecorMeasure_eq— integrability and integration transferred to the real density.hasPDF_of_hasLaw_fisherSnedecorMeasureandrnDeriv_fisherSnedecorMeasure— the random-variable and Radon--Nikodym density interfaces.
This file begins the elementary API for Fisher's F law. For positive degrees of freedom m and
n, it realizes the law as the image of betaMeasure (m / 2) (n / 2) under
u ↦ (n / m) * u / (1 - u). This gives a probability measure without introducing a second
probability-law abstraction. The density is derived from
this pushforward by the same beta-to-F change of variables, rather than being used as a second
definition of the law.
The change of variables is useful in its own right: the inverse map on the positive half-line is
x ↦ m * x / (n + m * x). The cumulative distribution function, which reads the beta
distribution function at this inverse, is in TauCeti.Probability.Distributions.FisherSnedecor.Cdf.
References #
- N. L. Johnson, S. Kotz, and N. Balakrishnan, Continuous Univariate Distributions, vol. 2, 2nd ed., Wiley (1995), chapter 27.
The beta-to-F transformation #
The formula for the transformation from a beta variable to an F variable.
For positive m and n, this function is strictly monotone on Iio 1 and maps Ioo 0 1
onto Ioi 0.
Instances For
The defining formula for fisherSnedecorMap.
The formula for the inverse transformation on the positive half-line.
For positive m and n, this is the inverse of fisherSnedecorMap m n between Ioi 0 and
Ioo 0 1.
Instances For
The defining formula for fisherSnedecorMapInv.
The Fisher--Snedecor law with numerator degrees of freedom m and denominator degrees of
freedom n. It is the law of (U / m) / (V / n) for independent chi-squared variables with
degrees of freedom m and n; it is the zero measure unless 0 < m and 0 < n.
Instances For
For positive degrees of freedom, the Fisher--Snedecor measure is the beta-to-F pushforward.
The Fisher--Snedecor measure is a probability measure for positive degrees of freedom.
The Fisher--Snedecor measure is a probability measure exactly when both degrees of freedom are positive.
The beta-to-F transformation is measurable for all parameter values.
The beta-to-F inverse transformation is measurable for all parameter values.
Support and the inverse #
For positive degrees of freedom, the beta-to-F map is strictly monotone on Iio 1.
The derivative of the beta-to-F transformation away from its pole at one.
If u + v ≠ 0, the beta-to-F transformation with m and n degrees of freedom sends the
ratio-to-sum u / (u + v) to the variance ratio (u / m) / (v / n); equivalently, it inverts the
passage from a variance ratio to the fraction of the total that its numerator carries.
For positive degrees of freedom, the beta-to-F map sends Ioo 0 1 onto Ioi 0.
The Fisher--Snedecor law is almost surely positive, including vacuously for invalid parameters.
Density #
The real-valued Fisher--Snedecor density with numerator degrees of freedom m and
denominator degrees of freedom n.
It is zero unless both parameters and the sample point are positive.
Instances For
The Fisher--Snedecor density, valued in ℝ≥0∞.
Instances For
The ℝ≥0∞-valued Fisher--Snedecor density is the nonnegative coercion of its real-valued
version.
The real density has its usual formula at valid parameters and a positive point.
The real density vanishes on the nonpositive half-line.
The ℝ≥0∞-valued density has its usual formula at valid parameters and a positive
point.
The ℝ≥0∞-valued density vanishes on the nonpositive half-line.
The real-valued Fisher--Snedecor density is nonnegative.
Converting the Fisher--Snedecor density back to ℝ recovers its real-valued version.
The real Fisher--Snedecor density is measurable in the sample point.
The ℝ≥0∞-valued Fisher--Snedecor density is measurable in the sample point.
The Fisher--Snedecor density is supported on the positive half-line.
The classical Fisher density in the scaled beta-prime form used by its change of variables.
The density of the Fisher--Snedecor law, including the zero density at invalid parameters.
Integrability transfer. A function is integrable against a Fisher--Snedecor law exactly when its density-weighted version is Lebesgue integrable. This holds at every parameter, the zero measure included.
Integral transfer. An integral against a Fisher--Snedecor law is the density-weighted Lebesgue integral. This holds at every parameter, the zero measure included.
A random variable with a Fisher--Snedecor law has the corresponding density.
The density of a random variable with a Fisher--Snedecor law is fisherSnedecorPDF.
The Radon--Nikodym derivative of a Fisher--Snedecor law against Lebesgue measure.
For positive degrees of freedom the topological support of Fisher's F law is the closed nonnegative half-line.