Did someone knows a SAS/IML module that computes the log-likelihood function of the negative binomial distribution (pdf)?
Wikipedia has the equations for the log-likelihood:
Negative binomial distribution - Wikipedia, the free encyclopedia
You can call the DIGAMMA function in SAS: http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000245889.htm
The use the basic outline provided in my article
Maximum likelihood estimation in SAS/IML - The DO Loop
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.Register now and lock in 2025 pricing—just $495!
Register now