- Information
- AI Chat
Was this document helpful?
MLE - Is about MLE
Course: Categorical Data Analysis (SSTE081)
11 Documents
Students shared 11 documents in this course
University: University of Limpopo
Was this document helpful?
❙t❛t ✻✺✸ ❍❲✷ ❉✐✈②❛ ◆❛✐r
❊①❡r❝✐s❡ ✶✳
❋✐♥❞ ▼▲❊ ✭▼❛①✐♠✉♠ ▲✐❦❡❧✐❤♦♦❞ ❊st✐♠❛t♦r✮ ❢♦r t❤❡ ❢♦❧❧♦✇✐♥❣ ♣❛r❛♠❡t❡rs✿
✶✳ Pr♦❜❛❜✐❧✐t② ♦❢ s✉❝❝❡ss
p
✐♥ ❇❡r♥♦✉❧❧✐
(p)
♠♦❞❡❧✳
❙♦❧✉t✐♦♥✳
▲❡t
X
❜❡ ❛ ❇❡r♥♦✉❧❧✐ r❛♥❞♦♠ ✈❛r✐❛❜❧❡ ✇✐t❤ ♣❛r❛♠❡t❡r
p
✳ ▲❡t
X1,· · · , Xn
❜❡ t❤❡ ✐♥❞❡♣❡♥❞❡♥t
r❛♥❞♦♠ s❛♠♣❧❡s ♦❢
X
✳ ❘❡❝❛❧❧ t❤❛t t❤❡ ♣r♦❜❛❜✐❧✐t② ❞❡♥s✐t② ❢✉♥❝t✐♦♥ ❢♦r t❤❡ ❇❡r♥♦✉❧❧✐ ❞✐str✐❜✉t✐♦♥ ✇✐t❤
♣❛r❛♠❡t❡r
p
✐s
f(x) = px(1 −p)1−x
✇❤❡r❡
x= 0,1
✳ ❚❤❡♥ t❤❡ ❧✐❦❡❧✐❤♦♦❞ ❢✉♥❝t✐♦♥ ♦❢ t❤❡ s❛♠♣❧❡ ✐s
l(x1,· · · , xn, p) = f(x1,· · · , xn, p)
=
n
Y
i=1
f(xi, p){
s✐♥❝❡
Xi
❛r❡ ✐♥❞❡♣❡♥❞❡♥t
}
=
n
Y
i=1
pxi(1 −p)1−xi
=p
n
P
i=1
xi(1 −p)n−
n
P
i=1
xi
.
❚❛❦✐♥❣ t❤❡ ♥❛t✉r❛❧ ❧♦❣❛r✐t❤♠ ♦♥ ❜♦t❤ s✐❞❡s ❣✐✈❡s✱
L(x1,· · · , xn, p) = ln l(x1,· · · , xn, p)
= ln p
n
P
i=1
xi(1 −p)n−
n
P
i=1
xi!
= n
X
i=1
xi!p+ n−
n
X
i=1
xi!ln(1 −p).
❙✐♥❝❡
L(x1,· · · , xn, p)
✐s ❛ ❝♦♥t✐♥✉♦✉s ❢✉♥❝t✐♦♥ ♦❢
p
✱ ✐t ❤❛s ❛ ♠❛①✐♠✉♠ ✈❛❧✉❡✳ ❚❤✐s ✈❛❧✉❡ ❝❛♥ ❜❡ ❢♦✉♥❞ ❜②
t❛❦✐♥❣ t❤❡ ❞❡r✐✈❛t✐✈❡ ♦❢
L(x1,· · · , xn, p)
✇✐t❤ r❡s♣❡❝t t♦
p
✱ ❛♥❞ s❡tt✐♥❣ ✐t ❡q✉❛❧ t♦
0
✳ ❙♦✱
∂L(x1,· · · , xn, p)
∂p =
n
P
i=1
xi
p−
n−
n
P
i=1
xi
1−p
= 0
❣✐✈❡s t❤❛t
p=
n
P
i=1
xi
n
✳ ❍❡♥❝❡✱
ˆp=
n
P
i=1
xi
n=¯
Xn
✳
✷✳ Pr♦❜❛❜✐❧✐t② ♦❢ s✉❝❝❡ss
p
✐♥ ❇✐♥♦♠✐❛❧
(n, p)
♠♦❞❡❧✳
Pr♦♦❢✳
▲❡t
X
❜❡ ❛ ❇✐♥♦♠✐❛❧ r❛♥❞♦♠ ✈❛r✐❛❜❧❡ ✇✐t❤ ♣❛r❛♠❡t❡r
p
✳ ▲❡t
X1,· · · , Xm
❜❡ t❤❡ ✐♥❞❡♣❡♥❞❡♥t r❛♥❞♦♠
s❛♠♣❧❡s ♦❢
X
✳ ❘❡❝❛❧❧ t❤❛t t❤❡ ♣r♦❜❛❜✐❧✐t② ❞❡♥s✐t② ❢✉♥❝t✐♦♥ ❢♦r t❤❡ ❇✐♥♦♠✐❛❧ ❞✐str✐❜✉t✐♦♥ ✇✐t❤ ♣❛r❛♠❡t❡r
p
✐s
f(x) = n
xpx(1 −p)n−x
✇❤❡r❡
x= 0,· · · , n
✳ ❚❤❡♥ t❤❡ ❧✐❦❡❧✐❤♦♦❞ ❢✉♥❝t✐♦♥ ♦❢ t❤❡ s❛♠♣❧❡ ✐s
l(x1,· · · , xm, p) = f(x1,· · · , xm, p)
=
m
Y
i=1
f(xi, p){
s✐♥❝❡
Xi
❛r❡ ✐♥❞❡♣❡♥❞❡♥t
}
=
m
Y
i=1 n
xipxi(1 −p)n−xi
✶