[ADMB Users] Relationship between NB in ADMB and NB in R
mbrooks at ufl.edu
Sat Feb 11 15:07:23 PST 2012
In negbinomial_density, r=mu/(tau-1) (with a little robustification to keep from dividing by zero. r is then used as the size parameter.
In dnbinom in the contributed stats libraries, Steve and I parametarized the function in terms of size (i.e. k). However, it returns the negative log likelihood.
On 11 Feb 2012, at 3:19 PM, Mark Maunder wrote:
> How does the tau parameter in the ADMB negative binomial relate to the size parameter in R’s dnbinom(x, size, prob, mu, log = FALSE) function?
> Mark Maunder
> IATTC fall workshop: Using Oceanography for Fisheries Stock Assessment and Management
> 11-14 October 2011, La Jolla, CA
> Head of the Stock Assessment Program
> Inter-American Tropical Tuna Commission
> ADMB Foundation
> 8604 La Jolla Shores Drive
> La Jolla, CA, 92037-1508, USA
> Tel: (858) 546-7027
> Fax: (858) 546-7133
> mmaunder at iattc.org
> Visit the AD Model Builder project at
> See the following website for information on fisheries stock assessment http://www.fisheriesstockassessment.com/
> Users mailing list
> Users at admb-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users