Skip to content
Prev 299173 / 398503 Next

Maximum Likelihood Estimation Poisson distribution mle {stats4}

On Jul 5, 2012, at 10:48 , chamilka wrote:

            
You misunderstand the setup. y are 11 Poisson counts, x is a dose variable used further down in the example. So
[1] 11.54545

Your sample.mean would be relevant if there were 127 count measurements, 26 of which were 0, 17 were 1, etc. But then the likelihood would be different:
Call:
mle(minuslogl = nLL, start = list(lambda = 5), nobs = NROW(y))

Coefficients:
 lambda 
3.54328