[ADMB Users] sdreport variables in SEPERABLE_FUNCTIONs

H. Skaug hskaug at gmail.com
Fri Feb 17 00:31:01 PST 2012


Hi,

Maybe it is not possible. I know that likeprof_number can not
depend on random effects. I guess the same is true for "sdreport parameter".
Only Dave would know.

If you like to can create an issue in Redmine.

Hans

On Fri, Feb 17, 2012 at 9:00 AM, Mark Maunder <mmaunder at iattc.org> wrote:
> 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
>
> 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/
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>



More information about the Users mailing list