Let $x_1=x_2=x_3=1, x_4=x_5=x_6=2\ $ be a random sample from a Poisson random variable with mean $\theta$, where $\theta\in \{1,2\}$. Then, the maximum likelihood estimator of $\theta$ is equal to...
What I know is that, the MLE of poisson distribution is given by $$ \hat{\theta}_{MLE}=\sum_{i=1}^n\frac{X_i}{n} .$$ If we evaluate here then $\hat{\theta}_{MLE}$ is coming $1.5$, which is not there in the range of $\theta$. Then how will I find the MLE in this case?