Goals for today:
Generalized likelihood ratio statistic:
Example: :
,
.
Notice: if n is large
General phenomenon: null hypothesis of form
.
Suppose true value of
is
(so Ho is true). Suppose
.
Two term Taylor expansions of
and
around
can be used to prove
Theorem: The log-likelihood ratio statistic
Details: suppose that the true value of
is
(so that the null hypothesis is true). The score function is a
vector of length p+q and can be partitioned as
.
The Fisher information matrix can be partitioned as
According to our large sample
theory for the mle we have
Theorem: The log-likelihood ratio statistic
Aside:
Theorem: Suppose that
with
non-singular and Mis a symmetric matrix. If
then Xt M X has a
distribution with degrees of freedom
.
Proof: We have X=AZ where
and
Z is standard multivariate normal. So
Xt M X = Zt At M A Z.
Let Q=At M A.
Since
the condition in the theorem is actually
The matrix Q is symmetric and so can be written in the form
where
is a diagonal matrix containing the
eigenvalues of Q and P is an orthogonal matrix whose columns
are the corresponding orthonormal eigenvectors. It follows that we can
rewrite
We have established that the general distribution of any
quadratic form Xt M X is a linear combination of
variables.
Now go back to the condition QQ=Q. If
is an eigenvalue
of Q and
is a corresponding eigenvector then
but also
.
Thus
.
It follows that either
or
.
This means
that the weights in the linear combination are all 1 or 0 and that
Xt M X has a
distribution with degrees of freedom,
,
equal to the number of
which are equal to 1. This is
the same as the sum of the
so
In the application
is
the Fisher information and
where
A level
confidence set for a parameter
is a random subset C, of the set of possible values of
such that for each
we have
Suppose C is a level
confidence set for
.
To test
we consider the test which rejects if
.
This test has level
.
Conversely, suppose
that for each
we have available a level
test
of
who rejection region is say
.
Then if
we define
we get
a level
confidence for
.
The usual t test gives
rise in this way to the usual t confidence intervals
Definition: A pivot (or pivotal quantity) is a function
whose distribution is the same for all
.
(As usual
the
in the pivot is the same
as the one being used to
calculate the distribution of
.
Pivots can be used to generate confidence sets as follows. Pick a set
A in the space of possible values for g. Let
;
since g is pivotal
is the same for all
.
Now given
a data set X solve the relation
Example: The quantity
In the same model we also have
In general the interval from
to
has level
.
For a fixed value of
we can
minimize the length of the resulting interval numerically. This sort of optimization
is rarely used.
The quantity
Example: : Sample from
.
Now
,
no
.