
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solution to estimating the mean and variance using maximum likelihood estimation (mle) for a set of independent and identically distributed random variables with normal distribution. The document derives the expressions for the mle of mean and variance, discusses desirable properties of estimators, and introduces concepts such as unbiasedness, asymptotic unbiasedness, consistency, and weak law of large numbers.
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

EECS 501 ESTIMATOR PROPERTIES Fall 2001
Problem: Let {x 1... xN } be iidrv with xi ∼ N (m, σ^2 ) and m, σ^2 unknown.
Want: To compute ˆmM LE and ˆσ M LE^2 based on observations {X 1... XN }.
Solution: fx 1 ...xN (X 1... XN ) =
i= √^1 2 πσ^2
e−^
1 2 (Xi−m)
(^2) /σ 2 since xi indpt rvs.
Set: 0 = (^) ∂m∂ log fx 1 ...xN = (^) ∂m∂ [− N 2 log(2π)− N 2 log σ^2 − (^12)
i=1(Xi^ −m)
(^2) /σ (^2) ]
= (^) σ^12
i=1(Xi^ −^ m) = 0^ →^ mˆM LE^ =^
1 N
i=1 Xi^ =^ sample mean.
Set: 0 = (^) ∂σ∂ 2 log fx 1 ...xN = (^) ∂σ∂ 2 [− N 2 log(2π)− N 2 log σ^2 − (^12)
i=1(Xi−m)
(^2) /σ (^2) ]
= − N 2 σ^12 + (^12)
i=1(Xi^ −^ m)
(^2) /(σ (^2) ) (^2) = 0 → σˆ 2 M LE =^
1 N
i=1(Xi^ −^ m)
Replace m in ˆσ^2 M LE with ˆmM LE → σˆ M LE^2 = sample variance. Note: ˆσM LE =
σˆ M LE^2 : MLE commutes with nonlinear functions g(a). Why? argmax A fr|a(R|A) = argmax g(A) fr|g(a)(R|g(A)). No Jacobian for a → g(a).
Q: What are some desirable properties for estimators to have? DEF: Unbiased estimator has E[ˆa(x 1... xN )] = A (xi now treated as rvs). DEF: Asymptotically unbiased estimator has
lim N →∞ E[ˆa(x^1... xN^ )] =^ A.
i=1 xi] =^
1 N
i=1 E[xi] =^ m.
i=1(Xi^ −^ mˆ)
N σ
Note: ˆσ^2 = (^) N^1 − 1
i=1(Xi^ −^
1 N
j=1 Xj^ )
(^2) is an unbiased estimator of σ (^2).
Note: If we know mean m, then the sample variance is unbiased estimator. Note: Algebra for sample variance biased and consistent is on pp. 274-5.
DEF: Seq. of rvs {a 1 , a 2.. .} → a in probability if (^) Nlim →∞ P r[|aN − a| > ≤] = 0.
DEF: Consistent estimator has (^) Nlim →∞ aˆ(x 1... xN ) = a in probability. Means: More data helps: The distribution of ˆa becomes tighter around a.
P r[| mˆ − m| > ≤] = P r[| mˆ − E[ ˆm]| > ≤] ≤
σ^2 mˆ ≤^2 =^
σ^2 N ≤^2 →^ 0 as^ N^ → ∞. Using: mˆ unbiased and σ^2 mˆ = (^) N^1
i=1 σ
(^2) = σ^2 N. We have just proved the: Thm: Weak Law of Large Numbers: Let {xi} be iidrv with E[xi], σ i^2 < ∞. → The sample mean is a consistent estimator of the expectation E[xi]. Means: Mean ˆm of data approaches mean m = E[xi] of random variables.