Virtual Laboratories > Special Distributions > 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15
In this section we will study a distribution that has special importance in statistics. In particular, this distribution will arise in the study of a standardized version of the sample mean when the underlying distribution is normal.
Suppose that Z has the standard normal distribution, V has the chi-squared distribution with n degrees of freedom, and that Z and V are independent. Let
T = Z / (V / n)1/2.
In the following exercise, you will show that T has probability density function given by
f(t) = C(n) (1 + t2 / n)-(n + 1)/2 for t in R
where the normalizing constant C(n) is given by
C(n) = gam[(n + 1) / 2] / [(n)1/2 gam(n / 2)].
1.
Show that T has the given density function by using the following
steps.
The distribution of T is known as the Student t distribution with n degree of freedom. The distribution is well defined for any n > 0, but in practice, only positive integer values of n are of interest. This distribution was first studied by William Gosset, who published under the pseudonym Student. In addition to supplying the proof, Exercise 1 provides a good way of thinking of the t distribution: the t distribution arises when the variance of a mean 0 normal distribution is randomized in a certain way.
2. In the
random variable
experiment, select the student t distribution.
Vary n and note the shape of the density function. With n = 5, run the
simulation 1000 times with an update frequency of 10. Note the apparent convergence of the
empirical density function to the true density function.
3. Sketch the
graph of the t density function given in Exercise 1. In particular, show that
From Exercise 3 it follows that the t distribution is unimodal, with mode at 0.
4. The t
distribution with 1 degree of freedom is known as the Cauchy distribution,
named after Augustin Cauchy. Show that
the density function is
f(t) = 1 / [(1 + t2)],
t in R.
The distribution function and the quantile function do not have simple, closed-form representations. Approximate values of these functions can be obtained from the table of the t distribution and from the quantile applet.
5. In the quantile
applet, select the student distribution. Vary the
parameter and note the shape of the density function and the distribution
function. In each of the following cases, find the median, the first and third
quartiles, and the interquartile range.
Suppose that T has the t-distribution with n degrees of freedom. The random variable representation in Exercise 1 can be used to find the mean and variance and other moments of T.
6. Show that
In particular, the Cauchy distribution does not have a mean.
7. Show
that
8. In the
simulation of the random variable
experiment, select the student t distribution.
Vary n and note the location and shape of the mean-standard deviation bar.
For the following values of n, run the simulation 1000 times with an
update frequency of 10. Compare the behavior of the empirical moments with the
theoretical results in Exercises 5 and 6.
9. Show that
You probably noticed that, qualitatively at least, the t density function is very similar to the standard normal density function. The similarity is quantitative as well:
10. Use a
basic limit theorem from calculus to show that for fixed t,
f(t) exp(-t2
/ 2) / (2
)1/2 as n
.
Note that the function on the right is the density function of the standard normal distribution.
11.
In the setting of Exercise 1, use the strong
law of large numbers to show that, with probability 1,
The t distribution has more probability in the tails, and consequently less probability near 0, compared to the standard normal distribution.