This exercise set contains some solved exercises on the Student's t distribution. The theory needed to solve these exercises is introduced in the lecture entitled Student's t distribution.
Let
be a normal random variable with
mean
and variance
.
Let
be a Gamma random variable with parameters
and
,
independent of
.
Find the distribution of the
ratio
We can
write:
where
has a standard normal distribution and
has a Gamma distribution with parameters
and
.
Therefore, the
ratio
has
a standard Student's t distribution with
degrees of freedom and
has a Student's t distribution with mean
,
scale
and
degrees of freedom.
Let
be a normal random variable with mean
and variance
.
Let
be a Gamma random variable with parameters
and
,
independent of
.
Find the distribution of the random
variable
We can
write:
where
has a standard normal distribution and
has a Gamma distribution with parameters
and
.
Therefore, the
ratio
has
a standard Stutent's t distribution with
degrees of freedom.
Let
be a Student's t random variable with mean
,
scale
and
degrees of freedom.
Compute:
First of all, we need to write the
probability in terms of the distribution
function of
:
Then,
we express the distribution function of
in terms of the distribution function of a standard Student's t random
variable
with
degrees of
freedom:
so
that:
where
the difference
can be computed with a computer algorithm, for example using the MATLAB
command