[ADMB Users] sdreport variables in SEPERABLE_FUNCTIONs

Mark Maunder mmaunder at iattc.org
Fri Feb 17 00:00:21 PST 2012


How can you calculate a derived quantity that is a function of the random effects and other estimated parameters and estimated its standard deviation when using a SEPERABLE_FUNCTION?

In the ADMBre manual it states
"Objects defined in the PARAMETER_SECTION must be passed as arguments to g_cluster.
There is one exception: the objective function g is a global object, and does not need to
be an argument. Temporary/programming variables should be defined locally within
the SEPARABLE_FUNCTION"

I was able to make a sdreport parameter as a function of non re parameters in the sd_phase(), but it did not work if it was a function of a re parameter. I tried passing the sdreport parameter as a non const argument to the SEPERABILITY FUNCTION, but that did not work either.

Does anyone have any suggestions?

Thanks,

Mark


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/20120217/bfaba985/attachment.html>


More information about the Users mailing list