Beruflich Dokumente
Kultur Dokumente
#
1
#
2
Review (contd.):
The likelihood of the sample is the joint PDF (or
PMF)
Loglikelihood and
Confidence Intervals
n
Y
f (xi ; )
i=1
Review:
Let X1 , X2 , ..., Xn be a simple random sample from a
probability distribution f (x; ).
L(M LE ) L(),
Usually, MLE:
=
is unbiased, E()
is consistent, , as n
as n
is efficient, has small SE()
is asymptotically normal,
()
SE()
N (0, 1)
"
"
=
=
l( ; x)
=
=
log f (x ; )
n
Y
log
f (xi ; )
i=1
n
X
log f (xi ; )
i=1
f (x ; )
n
Y
f (xi ; )
n
X
l( ; xi ).
i=1
i=1
n
Y
L( ; xi )
i=1
"
"
#
5
#
6
L( ; x)
n!
px (1 p)nx
x! (n x)!
=
=
n
Y
xi e
xi !
i=1
Pn
i=1 xi en
,
x1 ! x2 ! xn !
l( ; x) =
n
X
i=1
xi
log n,
"
"
"
"
#
9
10
-3.5
-5.0
-4.5
-4.0
l(p;x)
-3.0
-2.5
0.0
0.2
0.4
0.6
0.8
1.0
"
"
11
12
l(p;x)
-24.0
-24.5
0.2
0.4
0.6
0.8
1.0
-228.0
-227.0
l(p;x)
-226.0
-225.0
"
0.0
0.2
0.4
0.6
0.8
1.0
-25.0
0.0
"
13
14
x
1.96 .
(1)
n
deviation of / n.
"
"
15
16
"
"
17
18
Just as x
is normally distributed about , is
approximately normally distributed about in large
samples.
This property is called the asymptotic normality of
the MLE, and the technique of forming confidence
intervals is called the asymptotic normal
approximation. This method works for a wide
variety of statistical models, including all the models
that we will use in this course.
(2)
= .
"
"
19
20
I() = E l"" (; x) ,
xp
p(1 p)
I()
(x p)2
p2 (1 p)2
I(p) =
"
"
1
.
p(1 p)
21
x np
,
p(1 p)
x 2xp + np2
,
p2 (1 p)2
n
.
p(1 p)
22
"
"
23
24
"
xi
l"" ( ; x) =
n,
i xi
,
2
x + .5
,
n+1
I() =
n
.
1.96 ,
(5)
n
= P xi /n is the MLE.
where
i
"
l(p;x)
-7.5
-7.0
-6.5
26
-8.5
Alternative parameterizations
-8.0
25
-9.0
0.0
0.1
0.2
0.3
0.4
"
"
27
28
-8.0
loglik
-7.0
-6.5
p
= log
.
(6)
1p
-9.0
-8.5
-5
e
.
1 + e
=
=
=
"
-3
-2
-1
(7)
-4
phi
-7.5
1
1.96 q
I()
x log p + (n x) log(1 p)
p
x log
+ n log(1 p)
1p
1
x + n log
.
1 + e
0.1
= log
= 2.197.
1 0.1
"
29
30
= ().
the Fisher
Next we need to calculate I(),
information for . It turns out that this is given by
=
I()
(8)
low = 1.96
I()
"
"
31
I()
,
"
[ () ]2
high
+ 1.96
I()
32
= log
= log
= 1/3
"
"
back
e
1 + e
derivative
() =
= e
() =
= 2
() =
= 3
() =
1
(1 )
1
1
3 2/3
33
34
I()
[ " () ]2
2
n
1
p(1 p) p(1 p)
plow
np(1 p).
phigh
= 0.025,
= 0.324.
"
"
35
36
H0 : = 0
versus the two-sided alternative
H1 : *= 0 ,
we would reject H0 at the -level if the LR statistic
(9) exceeds the 100(1 )th percentile of the 21
distribution. That is, for an = .05-level test, we
would reject H0 if the LR statistic is greater than
3.84.
"
"
37
38
l(p;x)
-8.5
-8.0
-7.5
-7.0
-6.5
or
-9.0
l( ; x) l( ; x) 1.92.
0.0
0.1
0.2
0.3
0.4
"
"
39
40
-7.0
-7.5
l(p;x)
-8.0
-8.5
-9.0
0.0
0.1
0.2
0.3
0.4
"
-6.5
"
41
"