Postscript version of these notes
STAT 350: Lecture 16
Reading: There is no really relevant part of the text.
Theory of F and t tests
Independence: If
are random
variables then we call
independent if
for any sets
.
We usually either:
- Assume independence because there is no physical way for the value of
any of the random variables to influence any of the others.
OR
- We prove independence.
How do we prove independence? We use the notion of a joint density.
We say
have joint density function
if
We are interested here in joint densities because independence of
is equivalent to
for some densities
.
In this case fi is the density
of Ui.
[ ASIDE: notice that for an independent sample the joint density
is the likelihood function!]
Application to Normals: Standard Case
If
then the joint density of Z, denoted
is
where
So
where
Application to Normals: General Case
If
and A is invertible then for any set
we have
Make the change of variables
in this integral to get
where
J(x) denotes the Jacobian of the transformation
Algebraic manipulation of the integral then gives
where
The conclusion of this algebra is that the
density is
What if A is not invertible? Ans: there is no density.
How do we apply this density?
Suppose
and
If
then
- 1.
-
- 2.
- In the homework you will verify that
- 3.
- Writing
and
we find
- 4.
- So, if
and
we see that
so that X1 and X2 are independent.
Summary: If
then X1 is
independent of X2.
Warning: This only works provided
Fact: However, it works even if
is singular, but
you can't prove it as easily using densities.
Application:
So
Hence
Now
so
The 0s prove that
and
are
independent. It follows that
,
the regression
sum of squares (not adjusted) is independent of
,
the Error sum of squares.
Joint Densities
Suppose Z1 and Z2 are independent standard normals. In class I said
that their joint density was
Here I want to show you the meaning of joint density by computing the
density of a
random variable.
Let
U = Z12+Z22. By definition U has a
distribution with 2
degrees of freedom. The cumulative distribution function of U
is
For
this is 0 so take .
The event that
is the same as the event that the point
(Z1,Z2) is in the circle centered at the origin and having
radius u1/2, that is, if A is the circle of this radius
then
By definition of density this is a double integral
You do this integral in polar co-ordinates. Letting
and
we see that
The Jacobian of the transformation is r so that
becomes
.
Finally the region of integration is simply
and
so that
The density of U can be found by differentiating to get
which is the exponential density with mean 2. This means that the
density is really an exponential density.
Richard Lockhart
1999-01-13