Loglikelihood for negative binomial model
Parameters : | params : array-like
|
---|---|
Returns : | llf : float
|
Notes
Following notation in Greene (2008), with negative binomial
heterogeneity parameter :
where :math`Q=0` for NB2 and geometric and for NB1.
For the geometric,
as well.