Professional Documents
Culture Documents
Pn Pn
2 i=1 (Xi− x̄)2 (Xi − µ + µ − X̄ )2
S = = i=1 =
n−1 n−1
Pn 2
i=1 ((Xi − µ) − (X̄ − µ))
=
n−1
Pn 2 2
i=1 (Xi − µ) + (X̄ − µ) − 2(Xi − µ)(X̄ − µ)
= =
n−1
Pn 2 2
P
i 2(Xi − µ)(X̄ − µ)
P
i=1 (Xi − µ) i (X̄ − µ)
= + −
n−1 n−1 n−1
E ((Xi − µ)2 ) = σ 2
σ2
E (X̄ − µ)2 =
! n !
X X
(Xi − µ)(X̄ − µ) = (X̄ − µ) (Xi − µ) = n(X̄ − µ)2
i i
nσ 2 σ2 nσ 2
E (S 2 ) = + −2
n−1 n−1 n(n − 1)
nσ 2 σ 2
E (S 2 ) = −
n−1 n−1
E (S 2 ) = σ 2
Example:
θ
x2
Z Z
x θ
E (X ) = xf (x|θ)dx = dx =|θ0 =
0 θ 2θ 2
θ
X̄ =
2
θ̂MOM = 2X̄
Example:
E θ̂MOM = θ
θ2 θ2
Var θ̂MOM = 4Var X̄ = 4 =
12n 3n
MSE θ̂MLE ≤ Var θ̂MOM
θ2
1 2
θ ≤
(n + 1)(n + 2) 3n
1 1
≤
(n + 1)(n + 2) 3n
T = a1 T1 + a2 T2
E (T ) = a1 E (T1 ) + a2 E (T2 )
E (T ) = (a1 + a2 )θ
To be unbiased: a1 + a2 = 1, a2 = 1 − a1
dVar (T )
= 2aσ12 − 2(1 − a)σ22
da
2aσ12 + 2(1 − a)σ22 = 0
σ22
a? =
σ12 + σ22
Tn (a) = a × Xn + (1 − a) × X̄n−1
where Xn is the n − th observed random variable and X̄n−1 is the
sample mean based on n − 1 observations.
1 Find value of a such that Tn (a) is an unbiased estimator for µ
2 Find value of a? such that Tn (a?) is the most efficient
estimator for µ within the class Tn (a)?
3 Define concept of efficiency
.
The log-likelihood function is
n
X
l(α, x0 ) = nlog α + nαlog (x0 ) − (α + 1) log xi
i=1
Thus
n
δl(α, x0 ) n X
= + nlog (x0 ) − log xi
δα α
i=1
δl(α,x0 )
Solving for δα = 0, the mle of α is given by
n
α̂ = Pn
i=1 log xi − nlog (x0 )
Thus
δ 2 l(α, x0 ) n
2
=− 2
δα α
n
In (θ) = 2
α
Y θ2θ
f (x1 , x2 , . . . , xn ; θ) =
i
xiθ+1
!θ+1
Y 1
f (x1 , x2 , . . . , xn ; θ) = θn 2nθ
xi
i
Q 1
Sufficient
P statistics i Xi , or any trasformation, as for example,
i log (X i)
!θ+1
Y 1
n nθ
f (x1 , x2 , . . . , xn ; θ) = θ 2
xi
i
!θ+1
Y 1
L(θ|x1 , x2 , . . . , xn ) = θn 2nθ
xi
i
!
X
l(θ|x1 , x2 , . . . , xn ) = nlog (θ) + nθlog (2) − (θ + 1) log (xi )
i
!
∂l(θ) n X
= + nlog 2 − log (xi )
∂θ θ
i
2
∂ 2 l(θ) n
= −
∂θ θ2
∂l(θ)
= 0
∂θ
n n
θ̂MLE = P = P xi
i log (xi ) − nlog (2) i log 2
∞
θ2θ
Z Z
xf (x; θ)dx = x dx
2 x θ+1
Z Z ∞ θ
θ2
xf (x; θ)dx = dx
2 xθ
(−θ+1)
θx
E (X ) = |∞
2 θ2 dx
−θ + 1
θ
E (X ) = 2
θ−1
ˆ
θMOM
x̄ = 2
θMOM ˆ −1
x̄
θ̂MOM =
x̄ − 2
Example:
Let X be distributed as a Possion;
λx exp(−λ)
f (x; λ) =
x!
Compare the following estimator for exp (−λ):
Pn
I (Xi = 0)
T2 = i=1
T1 = exp −X̄
n
P
n xi
− i = 0
π 1−π
n
π̂ = P
n + i xi
.
Calculate the Fisher information matrix for the parameter vector
θ = (xm , α). How do you interpret the off-diagonal terms?
∞ ∞
x2 x2
Z Z
xf (x; θ)dx = exp − 2 dx
0 0 σ2 2σ
Z ∞ 2
x2
1 x
= exp − 2 dx
σ σ 2σ
√ 0 Z ∞
x2 x2
2π 1
= √ exp − 2 dx
σ 2 −∞ 2πσ 2σ
Y ∼ N(0, σ 2 )
∞
y2 y2
Z
√ exp − 2 dy = E (Y 2 ) = Var (Y ) + E (Y )2 = σ 2
−∞ 2πσ 2σ
Z ∞
√ √
2π 1 2 σ π
xf (x; θ)dx = ×σ = √
0 σ 2 2
r
π
E (X ) = σ
2
r
2
σ̂MOM = x̄
π
2
Find σ̂MLE maximum likelihood estimator (MLE) for σ 2 and
discuss properties of this 1estimator.
Q P 2
2 i xi x
L(σ |x) = exp − i 2i
σ 2n 2σ
P 2
2
X
2 x
logL(σ |x) = log (xi ) − n × log σ − i 2i
2σ
i
2
∂logL(σ 2 |x)
P
n i xi
= − +
∂σ 2 σ2 2σ 4
P 2
∂logL(σ 2 |x) n x
Score(σ) = = − 2 + i 4i
∂σ 2 σ P 2σ
2
∂ logL(σ 2 |x)
2 n i xi
= −
∂ 2σ2 σ4 σ6
∞ ∞
x3 x2
Z Z
2
x f (x; θ)dx = exp − 2 dx
0 0 σ2 2σ
P 2
∂ 2 logL(σ 2 |x)
n x
I (θ) = −E = E − i6 i
∂ 2σ2 σ4 σ
n 2nσ 2
I (θ) = − 4 − 6
σ σ
n
I (θ) =
σ4
Mezzetti Exercise Estimation
Exercise
σ4
2 2
σ̂MLE ∼ N σ ,
n