I know that the Maximum Likelihood estimator for the parameter lambda in a poisson distribution is the sample mean.
However my understanding is that this is only the case when the only constraint on lambda is lambda > 0. How do I approach questions with constraints on MLE parameters such as this?
for a(i) I am pretty sure the answer is 2, since that is the sample mean. However in a(ii) lambda cannot be more than 1.
Does this mean the MLE estimator for lambda is now simply 1 since that is the closest to 2 it can get?