# Maximum likelihood estimator of $\operatorname{Poisson}(\lambda)$ with restricted $\lambda$

Consider $X_1, X_2, \ldots,X_n$ iid $\operatorname{Poisson}(\lambda)$ random variables, where $\lambda \in [a,b]$, $0<a<b$.

How do you find the maximum likelihood estimator of the restricted $\lambda$?

I know that the maximum likelihood estimator of the unrestricted $\lambda$, $(\lambda \in [0, \infty])$, is

$$\widehat{\lambda}_\text{MLE}=\bar{X}_n = \dfrac{X_1+X_2+\cdots+X_n}{n}.$$

I was thinking of finding the behavior as the maximum likelihood estimator at as it moves between $0$ and $\infty$ and substituting $a$ and $b$ respectively, but I am unsure if that is correct.

Thank you in advanced.

• Can you instead use the maximum a posteriori (MAP) estimator with a uniform prior on $\lambda$? – Memming Nov 26 '17 at 16:26
• I don't think we have covered that in class yet, but thank you for your advice. – Silvia Rossi Nov 26 '17 at 16:27

So $L$ increases on the interval $[0,\bar x]$ and decreases on the interval $[\bar x,\infty)$ (and you'll notice I used a square bracket at the endpoint $\bar x$ in both intervals.
If $0\le a < b \le \bar x$ then $L$ increases on the interval $[a,b]$ and the maximum occurs at the right endpoint $b.$
If $0\le \bar x \le a < b$ then $L$ decreases on the interval $[a,b]$ and the maximum is at the left endpoint $a.$
If $0\le a<\bar x<b$ then $L$ increases on $[a,\bar x]$ and decreases on $[\bar x,b].$
One gets to the usual formula for $\hat\lambda$ by finding where the likelihood function $L(\lambda)=\exp(-n\lambda)\lambda^{n\overline X_n}$ is maximized over $\mathbb R^+$. In your case: find out where $L(\lambda)$ is biggest on $[a,b]$.