In probability theory and statistics, Student's t distribution (or simply the t distribution) tν is a continuous probability distribution that generalizes the standard normal distribution. Like the latter, it is symmetric around zero and bell-shaped. However, tν has heavier tails, and the amount of probability mass in the tails is controlled by the parameter ν. For ν=1 the Student's t distribution tν becomes the standard Cauchy distribution, which has very "fat" tails; whereas for ν→∞ it becomes the standard normal distribution 𝒩(0,1), which has very "thin" tails. The name "Student" is a pseudonym used by William Sealy Gosset in his scientific paper publications during his work at the Guinness Brewery in Dublin, Ireland. The Student's t distribution plays a role in a number of widely used statistical analyses, including Student's t-test for assessing the statistical significance of the difference between two sample means, the construction of confidence intervals for the difference between two population means, and in linear regression analysis. In the form of the location-scale t distribution ℓst(μ,τ2,ν) it generalizes the normal distribution and also arises in the Bayesian analysis of data from a normal family as a compound distribution when marginalizing over the variance parameter.
Definitions
Probability density function Student's t distribution has the probability density function (PDF) given by f(t)=Γ(ν+12)πνΓ(ν2)(1+t2ν)−(ν+1)/2, where ν is the number of degrees of freedom, and Γ is the gamma function. This may also be written as f(t)=1νB(12,ν2)(1+t2ν)−(ν+1)/2, where B is the beta function. In particular, for positive integer-valued degrees of freedom ν > 1 we have: ν∈ℕ≥2k={2,ν evenπ,ν oddΓ(ν+12)πνΓ(ν2)=(ν−1)!!kν(ν−2)!! where !! is the double factorial. The probability density function is symmetric, and its overall shape resembles the bell shape of a normally distributed variable with mean 0 and variance 1, except that it is a bit lower and wider. As the number of degrees of freedom grows, the t distribution approaches the normal distribution with mean 0 and variance 1. For this reason ν is also known as the normality parameter. The following images show the density of the t distribution for increasing values of ν. The normal distribution is shown as a blue line for comparison. Note that the t distribution (red line) becomes closer to the normal distribution as ν increases.
Cumulative distribution function The cumulative distribution function (CDF) can be written in terms of I, the regularized incomplete beta function. For t > 0 , F(t)=∫−∞tf(u)du = 1−12Ix(t)(ν2,12), where x(t)=νt2+ν. Other values would be obtained by symmetry. An alternative formula, valid for t2<ν, is ∫−∞tf(u)du=12+tΓ(ν+12)πνΓ(ν 2 )2F1(12,ν+12;32;−t2ν), where 2F1( , ; ; ) is a particular instance of the hypergeometric function. For information on its inverse cumulative distribution function, see quantile function § Student's t-distribution.
Special cases Certain values of ν give a simple form for Student's t-distribution.
Properties
Moments For ν>1, the raw moments of the t distribution are 𝔼{Tk}={0k odd ,0<k<ν,1πΓ(ν2)[Γ(k+12)Γ(ν−k2)νk2]k even ,0<k<ν. Moments of order ν or higher do not exist. The term for 0<k<ν, k even, may be simplified using the properties of the gamma function to 𝔼{Tk}=νk2∏j=1k/22j−1ν−2jk even,0<k<ν . For a t distribution with ν degrees of freedom, the expected value is 0 if ν>1, and its variance is νν−2 if ν>2. The skewness is 0 if ν>3 and the excess kurtosis is 6ν−4 if ν>4.
How the t distribution arises (characterization)
As the distribution of a test statistic Student's t-distribution with ν degrees of freedom can be defined as the distribution of the random variable T with T=ZV/ν=ZνV, where
Z is a standard normal with expected value 0 and variance 1; V has a chi-squared distribution (χ2-distribution) with ν degrees of freedom; Z and V are independent; A different distribution is defined as that of the random variable defined, for a given constant μ, by (Z+μ)νV. This random variable has a noncentral t-distribution with noncentrality parameter μ. This distribution is important in studies of the power of Student's t-test.
Derivation Suppose X1, ..., Xn are independent realizations of the normally-distributed, random variable X, which has an expected value μ and variance σ2. Let X‾n=1n(X1+⋯+Xn) be the sample mean, and s2=1n−1∑i=1n(Xi−X‾n)2 be an unbiased estimate of the variance from the sample. It can be shown that the random variable V=(n−1)s2σ2 has a chi-squared distribution with ν=n−1 degrees of freedom (by Cochran's theorem). It is readily shown that the quantity Z=(X‾n−μ)nσ is normally distributed with mean 0 and variance 1, since the sample mean X‾n is normally distributed with mean μ and variance σ2/n. Moreover, it is possible to show that these two random variables (the normally distributed one Z and the chi-squared-distributed one V) are independent. Consequently the pivotal quantity T≡ZV/ν=(X‾n−μ)ns, which differs from Z in that the exact standard deviation σ is replaced by the sample standard error s, has a Student's t-distribution as defined above. Notice that the unknown population variance σ2 does not appear in T, since it was in both the numerator and the denominator, so it canceled. Gosset intuitively obtained the probability density function stated above, with ν equal to n − 1, and Fisher proved it in 1925. The distribution of the test statistic T depends on ν, but not μ or σ; the lack of dependence on μ and σ is what makes the t-distribution important in both theory and practice.
Sampling distribution of t-statistic The t distribution arises as the sampling distribution of the t statistic. Below the one-sample t statistic is discussed, for the corresponding two-sample t statistic see Student's t-test.
… excerpt ends here. Continue reading the full article.





