National Stock Assessment Modeling Team, Contractor with ECS in support of
NOAA Fisheries Office of Science & Technology | U.S. Department of Commerce
Hi all,I am implementing a recruitment module in Fisheries Integrated Modeling System with Ian and Kyle (cc'd) and trying to add a sum to zero constraint to recruitment deviations. We thought it would be great to learn from ADMB implementation, but we have a few questions after looking at the source code online.1) Does ADMB sum deviations to zero internally by subtracting the mean(vector of deviations) from the vector of deviations? Where is the source code for the implementation? Is it related to param_init_boudded_dev_vector?
2) Does ADMB implement an internal penalty associated with sum-to-zero constraint to make sure the sum-to-zero vector of deviations maps back to a unique set of deviations in the estimation space? Where is the source code for this penalty and what is the order of steps? I am getting a little bit lost by looking at ::set_value(*this,x,ii,minb,maxb,pen). Does the penalty show up in the NLL later?
It would be great if ADMB developers can help us better understand the components and order of ADMB sum to zero constraint implementation? Thank you!Best,Bai--Bai Li, Ph.D.National Stock Assessment Modeling Team, Contractor with ECS in support of
NOAA Fisheries Office of Science & Technology | U.S. Department of Commerce
--
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@admb-project.org.
James
Ianelli
NMFS/NOAA Building 4
7600 Sand Pt Way NE
Seattle WA 98115
Visit the ADMB project http://admb-project.org/
Also see Alaska groundfish stock assessments
William T. Stockhausen
Research Fishery Biologist, Alaska Fisheries Science Center
NOAA Fisheries | U.S. Department of Commerce
Office: (206) 526-4241
Hi everyone,
You might want to consider if it is the right thing to do. I have not thought about it too much, but if your Rdevs don’t sum to zero and you have the standard penalty, then your model is probably misspecified (or using penalized likelihood causes bias). E.g. You could be using R0 incorrectly in creating the initial conditions. Also, a better approach to using R0 in management quantities might be to use average R (adjust appropriately by the SR relationship) over the appropriate period.
Also note that the R0 profile diagnostic performs differently whether you use sum to zero or not.