Академический Документы
Профессиональный Документы
Культура Документы
Fall 2015
Definition
The value from sample space A for which L() assumes its
largest value within A is called the ML estimate of :
= maxA L().
L()
Likelihood function and Maximum Likelihood estimate
The likelihood function L() = L(|x1 , x2 , . . . , xn ) gives the
likelihood of , given the data. A maximum likelihood estimate MLE is a value of that maximizes the likelihood.
Fall 2015
2 / 27
n
X
[xi ()]2
i=1
3 / 27
Method of Moments
Let X1 , X2 , . . . , Xn denote random sample from a distribution
with r unknown parameters, (1 , 2 , . . . , r ). Let f (x; 1 , . . . , r )
denote the probability density function of this distribution.
The method of moments procedure equates each of the k
theoretical moments with the corresponding k th sample
moment to obtain a system of k equations in k unknowns,
k () = mk , k = 1, . . . , r , ()
P
where mk = n1 ni=1 x k is a k th sample moment and
k () = EX k is a k th theoretical moment.
Definition
The solution to the system of equations (), (1 , . . . , r ), are
then the method of moments estimates of 1 , . . . , r .
Fall 2015
4 / 27
n
Y
1 e
2 2
f (xi ; , 2 ) =
i=1
n
= (2 2 ) 2 e
1
2 2
n
Y
(x)2
2 2
i=1
Pn
1
2 2
(xi )2
2 2
2
i=1 (xi )
5 / 27
n
l
1 X
(xi )2
= 2
i=1
n
l
n
1 X
=
+
(xi )2
2
2 2 2 4
i=1
1X
xi = x unbiased
n
i=1
n
2 =
1X
(xi x)2 biased
n
i=1
Fall 2015
6 / 27
Remark
If is known, we obtain from equation
ML estimate for 2 :
l
= 0 the following
2
2 =
1X
(xi )2 .
n
i=1
Fall 2015
7 / 27
Fall 2015
8 / 27
Fall 2015
9 / 27
where L(1 , 2 ) = (2 2 ) 2 e
L(2 , 2 )), so that
1
2 2
Pn
2
i=1 (xi 1 )
n1 +n2
(analogously for
Q( , )
1 2
L(1 , 2 , 2 ) = (2 2 ) 2 e 22
,
P 1
P 2
where Q(1 , 2 ) = ni=1
(xi 1 )2 + ni=1
(yi 2 )2 .
Fall 2015
10 / 27
n1 + n2
1
ln(2 2 ) 2 Q(1 , 2 ).
2
2
n2
l
1 X
(yi 2 )(1) = 0,
: 2
2
2
i=1
l
n1 + n2 1
1
:
2 + 2 Q(1 , 2 ) = 0.
2
2
2
2
2
Fall 2015
11 / 27
1 = x,
2 = y ,
Q(1 , 2 )
1
2 =
=
n1 + n2
n1 + n2
2 =
n1
X
i=1
(xi 1 )2 +
n2
X
!
(yi 2 )2
i=1
The first two estimates are unbiased, but the third one has to
be adjusted. The adjusted ML estimate is found to be
s2 =
12 / 27
p
Var is called the standard error of
q
d .
se() = Var
Fall 2015
13 / 27
Standard Error
Example
The researcher wants to investigate the proportion of
households who are following BBC News Channel. It is known
that the standard error of the estimate cannot exceed 0.03.
How many households need to be in the sample?
Fall 2015
14 / 27
Standard Error
Example
The researcher wants to investigate the proportion of
households who are following BBC News Channel. It is known
that the standard error of the estimate cannot exceed 0.03.
How many households need to be in the sample?
The number of BBC followers X is from binomial distribution:
X Bin(n, p).
r
(1 p
)
p
) =
se(p
0.03
n
If we compute this with respect to n, we get the asked sample
size.
Fall 2015
14 / 27
Fall 2015
15 / 27
Fall 2015
16 / 27
17 / 27
Fall 2015
18 / 27
Sample (n=20)
2.2,5.1,2.5,1.9,0.7,1.3,3.0,2.8,1.4,0.9,2.1,5.0,2.3,1.7,
0.5,1.4,3.3,2.7,1.8,0.9
Fall 2015
19 / 27
Fall 2015
20 / 27
Fall 2015
21 / 27
22 / 27
Fall 2015
23 / 27
24 / 27
Fall 2015
25 / 27
Fall 2015
26 / 27
Fall 2015
27 / 27