-
The likelihood function L(λ) for N independent and identically distributed (i.i.d.) samples {k1,k2,…,kN} is the product of their individual probability mass functions (PMF):
L(λ)=∏i=1Np(x=ki∣λ)=∏i=1Nki!1e−λλki
-
Take the natural logarithm to obtain the log-likelihood function l(λ). This simplifies the product into a sum, which is easier to differentiate:
l(λ)=lnL(λ)=∑i=1Nln(ki!1e−λλki)
l(λ)=∑i=1N(−ln(ki!)−λ+kilnλ)
l(λ)=−∑i=1Nln(ki!)−Nλ+(lnλ)∑i=1Nki
-
To find the maximum-likelihood estimate, take the derivative of l(λ) with respect to λ and set it to 0:
dλdl(λ)=−N+λ1∑i=1Nki=0
-
Solve for λ to obtain the estimator λ^:
N=λ1∑i=1Nki
λ^ML=N1∑i=1Nki