Student's t distribution #
Student's t law with ν degrees of freedom is the symmetric law on the line with density
proportional to (1 + x ^ 2 / ν) ^ (-(ν + 1) / 2). This file defines it, proves that it is a
probability measure for 0 < ν, identifies it as a MeasureTheory.HasPDF law with that density,
records its reflection symmetry, and identifies the one degree of freedom member of the family with
the standard Cauchy law. Polynomial and exponential moment results live in
TauCeti/Probability/Distributions/StudentT/Moments.lean.
Boundary. The number of degrees of freedom must be positive for the density to normalize, so
both studentTPDFReal and studentTMeasure are defined to vanish for ν ≤ 0
(studentTMeasure_of_nonpos); every formula describing the probability law carries 0 < ν as a
hypothesis.
Main definitions #
TauCeti.Probability.studentTPDFReal— the real-valued density;TauCeti.Probability.studentTPDF— itsℝ≥0∞-valued companion;TauCeti.Probability.studentTMeasure— the law;TauCeti.Probability.studentTMeasure_def— itswithDensitypresentation.
Main results #
isProbabilityMeasure_studentTMeasure— it is a probability measure when0 < ν;hasPDF_of_hasLaw_studentTMeasure,pdf_eq_studentTPDF_of_hasLaw_studentTMeasureandrnDeriv_studentTMeasure— theHasPDFbridge, the density, and the Radon–Nikodym derivative;studentTMeasure_map_neg— the law is invariant under reflection in the origin;studentTMeasure_one— one degree of freedom gives the standard Cauchy lawProbabilityTheory.cauchyMeasure 0 1;measurable_studentTMeasure— the family is measurable in its parameter, so it can be used as a kernel.
Implementation #
The whole analytic content is the normalization. Scaling by √ν with
MeasureTheory.integral_comp_mul_left reduces the total mass of (1 + x ^ 2 / ν) ^ (-(ν + 1) / 2)
to that of the Cauchy-type kernel (1 + x ^ 2) ^ (-(ν + 1) / 2), which is
TauCeti.integral_one_add_sq_rpow: the value Β(1 / 2, ν / 2) of Euler's second beta integral.
Writing that value as a quotient of Gamma values cancels the normalizing constant exactly. The
moment modules reuse the same normalization and symmetry facts.
References #
- N. L. Johnson, S. Kotz, N. Balakrishnan, Continuous Univariate Distributions, vol. 2, 2nd ed., Wiley (1995), ch. 28.
The density #
The density of Student's t law with ν degrees of freedom, as a real-valued function.
For ν ≤ 0 there is no such law and the density is 0.
Equations
Instances For
The density of Student's t law, as a function valued in ℝ≥0∞.
Equations
Instances For
Outside the valid parameter range the density vanishes.
For a positive number of degrees of freedom the ℝ≥0∞-valued density is the Student t
formula.
Outside the valid parameter range the ℝ≥0∞-valued density vanishes.
The normalizing constant of Student's t law is positive.
For a positive number of degrees of freedom the density is strictly positive everywhere: the Student t law has no vanishing tail.
The Student t density is nonnegative at every parameter, valid or not.
The two Student t densities agree under ENNReal.toReal; the density is never infinite.
The ℝ≥0∞-valued Student t density is finite.
The Student t density is even in the sample point.
The ℝ≥0∞-valued Student t density is even in the sample point.
The real-valued Student t density is measurable.
The ℝ≥0∞-valued Student t density is measurable.
The measure and its total mass #
Student's t probability measure with ν degrees of freedom.
For ν ≤ 0 this is the zero measure, not a probability measure; see
studentTMeasure_of_nonpos.
This is presented as Lebesgue measure with density studentTPDF ν; use studentTMeasure_def
when a proof needs the withDensity representation.
Equations
Instances For
The defining withDensity presentation of Student's t measure.
Outside the valid parameter range Student's t law is the zero measure.
The Student t density is integrable on the whole line for every parameter.
The Student t density integrates to 1.
The ℝ≥0∞-valued Student t density has total mass 1.
For a positive number of degrees of freedom Student's t law is a probability measure.
Absolute continuity #
A random variable with a Student t law has a density.
The density of a Student t law is studentTPDF.
The Radon–Nikodym derivative of a Student t law against Lebesgue measure is studentTPDF.
Student's t measure is absolutely continuous with respect to Lebesgue measure.
A Student t law presented through its real-valued density.
The real mass of a measurable set under a Student t law is the integral of its real-valued density.
Symmetry #
Student's t law is invariant under reflection in the origin: its density is even and Lebesgue measure is reflection invariant.
One degree of freedom #
With one degree of freedom the Student t density is the standard Cauchy density.
Student's t law with one degree of freedom is the standard Cauchy law.
Parameter measurability #
The Student t density is jointly measurable in the degrees of freedom and the sample point.
The Student t family is measurable in its degrees of freedom.