<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">This may beĀ a Friday-afternoon muddle-headed message about a well-known phenomenon, but I'm puzzled by some behavior in the newton-raphson iterations in RE models. <br><br>I'm implementing a non-linear state-space model, and noticed that the "f=" values scrolling by on the screen were sometimes lower than what was showing up in my report files. It puzzled me enough to test a simple example, and the same thing happens: The n-r process reports intermediate f's that are lower than the final value. This may not be a big deal, but it seems odd that it passes by fits that are "better" than that to which it finally converges.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">To demonstrate, I used the RE version of the simple.tpl model (ADMB-re manual section 2.3). I've attached my version of the .tpl and the standard output (simple.out), the .dat file is in the distribution.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When run, the standard output shows a minimum f of 20.07 (line 74 of simple.out), but the final statistics show a value of 21.74 (line 116), which is also the value in the .par file.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm guessing this is because both values are within the convergence tolerances, so there's little difference in the result. But, its a bit disconcerting to see lower values discarded along the way.<br clear="all"></div><br>-- <br><div dir="ltr"><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:bold;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline">Tom Wainwright<br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline">Research Fisheries Biologist</span></p><p style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline">Newport Research Station<br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline">Northwest Fisheries Science Center<br></span></p><p style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline">National Oceanic and Atmospheric Administration<br></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><a href="mailto:thomas.wainwright@noaa.gov" style="text-decoration:none" target="_blank"><span style="font-size:13px;font-family:Arial;color:#1155cc;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline">thomas.wainwright@noaa.gov</span></a><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></p><p dir="ltr" style="line-height:1.15;margin-top:0pt;margin-bottom:0pt"><a href="http://www.nwfsc.noaa.gov/research/divisions/fed/climatechange.cfm" style="text-decoration:none" target="_blank"><span style="font-size:13px;font-family:Arial;color:#1155cc;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline">www.nwfsc.noaa.gov</span></a><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span></p>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>The contents of this message are mine personally and do not<br>necessarily reflect any position of the Government or the<br>National Oceanic and Atmospheric Administration.<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><span style="font-size:13px;font-family:Arial;color:#666666;background-color:transparent;font-weight:normal;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline"></span><span></span></div>
</div>