Example likelihood function (Poisson for count data) with score
Package:
econometrics