loglikelihood.poisson(lambda : number, k : number) 🡒 number, autodiff pure function

The logarithm of the likelihood of the Poisson distribution. The first argument is the mean of the Poisson distribution. It should be positive. The second argument is the observation. It should be a non-negative integer.


lambda = 4.2
k = 0
LL = loglikelihood.poisson(lambda, k)
show scalar "" with LL