Roman C. answered 11/20/23
Masters of Education Graduate with Mathematics Expertise
If we have a sample x=(x1,x2,...,xn) then the likelihood is L(λ|x) = Πi (e-λλxi/xi!).
The log-likelihood is l(λ|x) = Σi ln(e-λλxi/xi!) = Σi [ln(e-λ) + ln(λxi) - ln(xi!)] = -nλ + (Σi xi)ln(λ) - Σi ln(xi!)
Differentiating gives: dl/dλ = -n + (Σi xi)/λ = -n + n*mean(x)/λ.
Setting this to zero and solving gives λMLE = mean(x).
So the MLE for λ is just the sample mean of the data.