Question #85923

Let X_1,X_2,...X_n be a random sample from a Poisson distribution with parameter λ.Find an estimator of λ using
(i) the method of moments;
(ii) the method of maximum likelihood.
Also,compare the estimators obtained in parts i) and ii).
1

Expert's answer

2019-03-07T10:54:07-0500

Answer on Question #85923 – Math – Statistics and Probability

Question

Let X1,X2,,XnX_1, X_2, \ldots, X_n be a random sample from a Poisson distribution with parameter λ\lambda. Find an estimator of λ\lambda using

(i) the method of moments;

(ii) the method of maximum likelihood.

Also, compare the estimators obtained in parts i) and ii).

Solution

(i) MME

We know that E(X)=λE(X) = \lambda, from which we have a moment estimator of λ\lambda as


λ^=1ni=1nXi\hat{\lambda} = \frac{1}{n} \sum_{i=1}^{n} X_i


Also, because we have Var(X)=λVar(X) = \lambda, equating the second moments, we can see that λ=E(X2)(E(X))2\lambda = E(X^2) - (E(X))^2 so that


λ^=1ni=1nXi2(1ni=1nXi)2\hat{\lambda} = \frac{1}{n} \sum_{i=1}^{n} X_i^2 - \left(\frac{1}{n} \sum_{i=1}^{n} X_i\right)^2


Both are moment estimators of λ\lambda. Thus, the moment estimators may not be unique. We generally choose X\overline{X} as an estimator of λ\lambda, for its simplicity.

(ii) MLE

We have the probability mass function


p(x)=λxeλx!,x=0,1,2,,λ>0p(x) = \frac{\lambda^x e^{-\lambda}}{x!}, \quad x = 0, 1, 2, \ldots, \quad \lambda > 0


Hence, the likelihood function is


L(λ)=i=1nλxieλxi!=λi=1nxienλi=1nxi!L(\lambda) = \prod_{i=1}^{n} \frac{\lambda^{x_i} e^{-\lambda}}{x_i!} = \frac{\lambda^{\sum_{i=1}^{n} x_i} e^{-n\lambda}}{\prod_{i=1}^{n} x_i!}


Taking the natural logarithm, we have


lnL(λ)=i=1nxilnλnλi=1nln(xi!)\ln L(\lambda) = \sum_{i=1}^{n} x_i \ln \lambda - n\lambda - \sum_{i=1}^{n} \ln(x_i!)


Differentiate both sides with respect to λ\lambda

ddλ(L(λ))=1λi=1nxin\frac{d}{d\lambda}(L(\lambda)) = \frac{1}{\lambda} \sum_{i=1}^{n} x_i - n


Find the value of λ\lambda which maximizes L(λ)L(\lambda)

ddλ(L(λ))=01λi=1nxin=0\frac{d}{d\lambda}(L(\lambda)) = 0 \Rightarrow \frac{1}{\lambda} \sum_{i=1}^{n} x_i - n = 0


That is


λ=1ni=1nxi=x\lambda = \frac {1}{n} \sum_ {i = 1} ^ {n} x _ {i} = \overline {{x}}


The second derivative


d2dλ2(L(λ))=1λ2i=1nxi<0forallλ\frac {d ^ {2}}{d \lambda^ {2}} (L (\lambda)) = - \frac {1}{\lambda^ {2}} \sum_ {i = 1} ^ {n} x _ {i} < 0 \mathrm {f o r a l l} \lambda


Therefore, MLEMLE of λ\lambda is


λ^=X,\hat {\lambda} = \overline {{X}},


which is the same as Method of Moments estimator.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS