Click or press any key to close help Help screen describing the interactive elements

Student's t-distribution is a sampling distribution derived from the normal distribution. Suppose we take a random sample of size n from a normal distribution with mean μ and unknown variance. The sample mean and variance are and S². The distribution of ( - μ)/(S/√n) is a t-distribution with ν = n - 1 degrees of freedom.

Parameter Range Description
ν ν = 1, 2, ... Degrees of freedom

Probability Density Function

f ( x | ν ) = Γ ( ν + 1 2 ) Γ ( ν 2 ) 1 ( ν π ) 1 ( 1 + x 2 ν ) ( ν + 1 ) / 2

Support

< x <

Mean

Variance

Example ν
The length of human pregnancies is normally distributed with mean 266 days. A random sample of four new mothers found a mean pregnancy length of with sample variance S². Then X = ( - 266)/(S/2) is a t(3) random variable. 3.000
Y₁, Y₂, ..., Y9 is a sample taken from a normal(0, 4) distribution, with sample mean and sample variance S². Then X = /(S/3) is a t(8) random variable. 8.000
100 students take the math SAT, which has a normal distribution with a mean score of 500. Their scores have mean and variance S². Then X = ( - 500)/(S/10) is a t(99) random variable. 99.00

X ~ T(ν)

Chart of the t distribution Chart area for displaying the t pdf, cdf, visualization, and simulation

E(X) = , Var(X) =

Student's t-distribution can be used to estimate a confidence interval for the true population mean μ of a normally distributed population based on a sample mean and sample standard deviation S.

Since and S are independent, the t-distribution is constructed as the ratio of two independent random variables. The mean and variance of such ratio distributions is often undefined. In this case, the mean is only defined for ν > 1, and the variance is only defined for ν > 2.

The illustration above shows a sample of n points chosen independently and at random from a normal(μ, σ2) distribution. The random variable X = ( - μ)/(S/√n) has a t(n - 1) distribution, where is the sample mean and S is the sample standard deviation.

The simulation above shows a sample of n points (marked red) chosen independently and at random from a normal(μ, σ2) distribution. The light blue line shows the value of X = ( - μ)/(S/√n), where is the sample mean and S is the sample standard deviation. The random variable X has a t(n - 1) distribution. The histogram accumulates the results of each simulation.

Y = ν/(ν + X²) ~ Beta(ν/2, 1/2) X² ~ F(1, ν) T(1) ~ Standard Cauchy limν→ ∞ X ~ Standard Normal

Chart of the related distribution Chart area for displaying the related pdf, cdf, visualization, and simulation

E(Y) = , Var(Y) =