Given observed event counts, return the maximum likelihood estimate of the Poisson rate λ\lambdaλ, which is the sample mean.
Input
[2, 3, 1, 4, 0]
Output
2.0
This one's part of Premium. Unlock the full Probability track plus every other premium problem on the site.
solve(...)