[ADMB Users] Relationship between NB in ADMB and NB in R

Mark Maunder mmaunder at iattc.org
Sat Feb 11 15:07:27 PST 2012


Size=(mean^2)/(mean*tau-mean)

Because

Var=mean*tau

And

Var=mean+(mean^2)/size

From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org] On Behalf Of Mark Maunder
Sent: Saturday, February 11, 2012 12:19 PM
To: users at admb-project.org
Subject: [ADMB Users] Relationship between NB in ADMB and NB in R

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
http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Using+Oceanography+for+Fisheries+Stock+Assessment+and+Management+2011




Head of the Stock Assessment Program
Inter-American  Tropical Tuna Commission

President
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<mailto:mmaunder at iattc.org>
http://www.fisheriesstockassessment.com/TikiWiki/tiki-index.php?page=Mark+Maunder

Visit the AD Model Builder project at
 http://admb-project.org/

See the following website for information on fisheries stock assessment http://www.fisheriesstockassessment.com/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20120211/42767a4e/attachment.html>


More information about the Users mailing list