






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







1. The Basic Example.
To illustrate the properties of maximum likelihood estimates and tests, we
consider the simplest possible case of estimating the mean of the normal
distribution with known variance,
2
1
n
x = x x from a normal distribution,
2
2
2
1
2
2
1
1
2
( | , ) ln
i
x
n
n
i
L x e
μ
σ
σ π
− ⎛ ⎞
−
⎜ ⎟
⎝ ⎠
=
∏
2
1
2
1
ln
n
i
i
=
∑
( )
2
2
1
2 1
ln 2 ( )
n
i
i
n x
σ
=
∑
2 2 2
1 1
1 1
n n
n
i i
i i
n
dL
x x
d
σ σ σ
μ μ
μ
= =
∑ ∑
1 1
1
n n
i n i n
i i
n
= =
∑ ∑
2. Covariance of Maximum Likelihood Estimators
For this simple case, it is well known that the variance of the sample
mean,
n n
2
var( ) /
n
derivative of
n
say
0
μ we see that
1
2 2
0 0
2 2 2
var( )
n n
n
d L n d L
d d
−
Since in this case,
2 2
n
1
n
x x , it
follows that
2 2 2
0
n
1
2
1 0
0 2
var( ) ( )
n
n
d L
d
−
−
where
0
n
0
to increase as the variance of the maximum-likelihood estimator, ˆ
n
μ ,
decreases). Finally, since the Law of Large Numbers shows in this case
that
0
n n
that
1
var( ˆ ) ( ˆ )
n n n
−
More generally, for any parameter vector,
1
k
= , defining a “well
behaved” distribution with likelihood function, ( )
n
that if
0
θ denotes the true value of θ , then the covariance matrix of the
maximum-likelihood estimator,
n
4. Likelihood-Ratio Tests of Parameters
If we observe from (1.1) that
( )
2
2 2
1
0
2 1
( | , ) ln 2 ( )
n
n i
i
L x n x
σ
=
∑
then this difference can be evaluated as:
2
2 2
0 0
1 1
1
2
n n
n n n i n i
i i
L L x x
σ
μ μ μ μ
= =
−
∑ ∑
2
2 2 2 2
0
1 1
1
2
n n
i i n n i i o
i i
x x x x x x
σ
μ μ
= =
= −
∑ ∑
2
2 2
0 0
1 1
1
2
n n
n i n i
i i
x x n x x n
σ
μ μ
= =
= −
∑ ∑
2
2 2
0 0
2
n n
n
x x
σ
=
2
2
0
2
n
n
x
σ
= −μ
0
μ ˆ
n
μ
n
L μ
Figure 1. Likelihood Ratios
Another way to test the hypothesis
that, say
0
is simply to compare the likelihood
of
0
μ with that of the most likely
value,
n
likelihood values is close to one,
then this implies that
0
μ is a good
In terms of log likelihoods, this is
in turn equivalent to a difference,
0
n n n
L μ − L μ , close to zero.
Hence it follows that
2
0
0
n
n n n
x
n
But under the null hypothesis that
0 0
0
n
x
n
and hence by definition that
2
2 0
1
n
x
n
Thus we see that under
0
2
0 1
n n n
More generally, for any partition of parameters,
1 2
hypothesis,
1 1
0 0
2
0
defined by the condition,
2
1 2 1 2
0 0 0
( , ) max ( , )
n n
θ
and comparing
1 2
0 0
n
n n
1
0
has k components, then under
0
H we now have
1 2 2
0 0
n n n k
( )
2 2 2
0 1
n
Finally, recalling that
2
var( ˆ ) /
n
statistic :
2 2
0 0 1
var( ) ( ) ~
n
where
0
n
(which is completely independent of
0
It is important to note that this score test is also called a Lagrange
multiplier test. To see the reason for this, observe that finding the
0
formally equivalent to the Lagrangian maximization problem:
0
max ( ) ( ) ( )
n
μ
with solution given by
n
μ μ
0
λ
By combining these two conditions, we see that the optimal value,
the Lagrange multiplier is given by,
0
n
μ
and thus that the score function,
0 0
n n
s L
μ
interpreted as a Lagrange multiplier. However, the above slope
interpretation seems to be simpler and more intuitive.
More generally, for any partition of parameters,
1 2
4 above, the null hypothesis,
1 1
0 0
by again letting
2
0
1 2
0 0 0
1
dimension k , then the score vector,
0
n
variance term
0
matrix ,
11 0
11 0 12 0
0
21 0 22 0
cov ( ) cov ( )
cov( )
cov ( ) cov ( )
If the Fisher information matrix is given by
11 0 12 0
0
21 0 22 0
n n
n
n n
then it can easily be shown (by partitioned inverse identities) that
[ ]
1
1
11 0 0 11 0 12 0 22 0 21 0
11
cov ( ) ( ) ( ) ( ) ( ) ( )
n n n n n
−
−
so that the following score test statistic is obtained as a direct
generalization of (5.4):
1 2
0 0 0
11
n n n k
−
The single most important feature of this score test is that it only requires
maximum-likelihood estimation under the null hypothesis , i.e.,
Next we observe that if the trace of a matrix ( : , 1,.., )
ij
A = a i j = n is
defined by
1
n
ii
i
tr A a
=
then it follows that for any matrices,
1
n
A a a
= and
1
n
B = b b ,
1
n
i i
i
tr AB a b tr BA
=
. Moreover,
since tr W ( ) = 0 for all weight matrices , it follows from (6.2) and (6.3)
that
1 1
1
n
i
i
− −
=
Hence for the single most important null hypothesis,
0
1 1 1
0
0
ln(1 ) 0
n n n
i
i i
i i i
i
ρ
ρ
ρ
= = =
=
=
and it follows that (6.1) reduces to
2 1
2
0
n
L y X B B y X
ρ ρ ρ ρ
σ
ρ
=
2
1
0 2
n n
y X I W I W y X
ρ
ρ σ
=
2
1
2
0
n
y X I W W W W y X
ρ
σ
ρ
=
2
1
2 0
( y X ) ( W W ) 2 W W ( y X )
σ ρ
=
2
1
2
( y X ) ( W W )( y X )
σ
2
1 1 1
2 2
{ ( y X ) W ( y X ) ( y X ) W ( y X )}
σ
2
1
( y X ) W ( y X )
σ
Hence if we let
2
0 0
2
this case,
2
0 0 0
2
0
2
0 0 0 0 0
1
ˆ
n n
s L y X W y X
ρ
σ
But if we now let
0 0
2
0 0 0 0 0
1 1
ˆ ˆ
( (
n n
σ y X β y X β ε ε
= − − =
then (6.7) takes the form;
0 0 0 0 0
n
0 0
0
0 0
n
s n
ε ε
θ
ε ε
where the expression in brackets is precisely Moran’s I.
To complete the argument, recall from expression (77) in the
BULKPACK that the off-diagonal
2
( ρ , σ ) term in the Fisher
information matrix,
0
n
I θ , is given by
1
1
k k
n n
k
tr G tr W I W tr W I W
ρ
∞
−
=
1
1
k k
k
∞
−
=