The Student-t distribution #
For n > 0 degrees of freedom, the Student-t density is
t_n(x) = c_n (1 + x²/n)^{-(n+1)/2} with the normalizing constant
c_n = (∫ (1 + y²/n)^{-(n+1)/2} dy)⁻¹; we write studentTKernel, studentTPDF and
studentTCDF for the unnormalized kernel, the density and the distribution function.
The substitution x = √n tan θ maps (−π/2, π/2) onto ℝ and turns the kernel into
√n cos^{n−1} θ dθ, so
T_n(x) = ∫_{−π/2}^{arctan(x/√n)} cos^{n−1} θ dθ / ∫_{−π/2}^{π/2} cos^{n−1} θ dθ
(studentTCDF_eq_angular). In particular, for 0 ≤ a < π/2,
T_n(−√n tan a) = ∫_a^{π/2} cos^{n−1} / (2 ∫_0^{π/2} cos^{n−1}) (studentTCDF_neg_sqrt_mul_tan),
the identity behind the closed form of the tail-dependence coefficient of the t copula.
Main results #
intervalIntegrable_cos_rpow:cos^pis integrable on[−π/2, π/2]forp > −1.integral_Iio_studentTKernel,integral_studentTKernel: the tan substitution.integral_studentTPDF: the density integrates to1.studentTCDF_eq_angular,studentTCDF_neg_sqrt_mul_tan.
References #
- N. L. Johnson, S. Kotz, N. Balakrishnan, Continuous Univariate Distributions, Vol. 2, 2nd ed., Wiley 1995, Ch. 28.
The Student-t density with n degrees of freedom.
Equations
Instances For
The Student-t distribution function with n degrees of freedom.
Equations
- ProbabilityTheory.studentTCDF n x = ∫ (y : ℝ) in Set.Iic x, ProbabilityTheory.studentTPDF n y
Instances For
Integrability of cos^p #
cos^p is integrable on [−π/2, π/2] for p > −1.
The tan substitution #
The tan substitution: ∫_{−∞}^{x} (1 + y²/n)^{-(n+1)/2} dy = √n ∫_{−π/2}^{arctan(x/√n)} cos^{n−1} θ dθ.
The Student-t density integrates to 1.