# t distribution

Let $X$ and $Y$ be random variables such that

1. 1.

$X$ and $Y$ are independent

2. 2.

$X\sim\operatorname{N}(0,1)$, the standard normal distribution (with mean $0$ and variance $1$)

3. 3.

$Y\sim\chi^{2}(n)$, the chi-square distribution with n degrees of freedom

Define a new random variable $Z$ by

 $Z=X/\Big{(}\frac{Y}{n}\Big{)}^{\frac{1}{2}}$

Then the distribution of $Z$ is called the $t$ distribution with $n$ degrees of freedom, denoted by $Z\sim\operatorname{t}(n)$.

By transformation of the random variables $X$ and $Y$, one can show that the probability density function of the $t$ distribution of $Z$ has the form:

 $f_{Z}(x)=\frac{1}{\sqrt{n}\operatorname{B}(\frac{n}{2},\frac{1}{2})}\Big{(}1+% \frac{x^{2}}{n}\Big{)}^{-\frac{n+1}{2}},$

where $\operatorname{B}(\alpha,\beta)$ is the beta function.

Below are graphs of some $t$ probability density functions for various degrees ($d$) of freedom.

$d=1$, $d=2$, $d=3$, $d=500$

Remarks

• the $t$ distribution is also known as the Student’s $t$ distribution. The name Student came from the 19th Century research chemist William Sealy Gossett, who was employed by the brewing company Guinness to improve the yield of crops used to produce its beer. Gossett conducted agricultural experiments and used random numbers to help determine the sampling distribution of the data he collected. Because the brewing company wanted to keep the research results confidential for competitve reasons, Gossett had to use a pen name to publish his findings. Student was his pen name and the distribution he found turned out to be the $t$ distribution.

• $\operatorname{t}(1)=\operatorname{Cauchy}(0,1)$, the Cauchy distribution with parameters $0$ and $1$.

• $\operatorname{t}(n)$ is asymptotically (as $n\rightarrow\infty$) $\operatorname{N}(0,1)$, the standard normal distribution with mean $0$ and variance $1$.

• If $X\sim\operatorname{t}(n)$, $E[|X|^{k}]$ exists iff $k. Therefore, a $t$ distribution has no mean if it has one degree of freedom. For $n>1$, $\operatorname{E}[X]=0$. For $n>2$, $\operatorname{Var}[X]=\frac{n}{n-2}$.

• If $X_{1},\ldots,X_{n}$ are random samples from a normal distribution with mean $\mu$ and variance $\sigma^{2}$. Let $\hat{\mu}$ be the sample mean and $\hat{\sigma}^{2}$ the sample variance, then

 $U=\frac{\hat{\mu}-\mu}{\hat{\sigma}/\sqrt{n}}\sim\operatorname{t}(n-1)$

Please note that the statistic $U$ does not depend on $\sigma^{2}$, and thus is used often in testing hypotheses involving comparison of the sample mean to the true mean, given a set of random samples that are normally distributed with an unknown mean and an unknown variance. This is an example of a $t$ test.

Title t distribution TDistribution 2013-03-22 14:26:50 2013-03-22 14:26:50 CWoo (3771) CWoo (3771) 34 CWoo (3771) Definition msc 62A01 Student’s $t$ t-distribution