Skip to content
Prev 65833 / 398513 Next

generalized negative binomial

I whole-heartedly endorse Prof. Ripley's suggestion to write down 
the log(likelihood) and use optim;  I've done that many times with 
seemingly good results.  For confidence intervals, the best procedure is 
to use 2*log(likelihood ratio) being approximately chi-square.  If you 
are estimating two parameters, you can easily compute log(likelihood) 
for a grid of points about the maximum likelihood estimates (MLEs) and 
use "contour" to draw lines at the difference confidence levels.  You 
can also use the argument "hessian = TRUE" to get the observed 
information matrix and therefore also the covariance matrix of the 
standard asymptotic normal approximation to the distribution of the 
MLEs;  I've done both. 

      hope this helps.  spencer graves
Prof Brian Ripley wrote: