<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Edgar, <div>The thing to check for in this output is that the analytical and finite diff derivatives match. </div><div>Since yours match, there seems to be no problem.</div><div>Occasionally one will be NA and then you know there's a problem with using that parameter.</div><div>cheers,</div><div>Mollie</div><div> <br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Mollie Brooks<br>Ph.D. Candidate<br>NSF IGERT Fellow<br>Biology Department<br>University of Florida<br><a href="mailto:mbrooks@ufl.edu">mbrooks@ufl.edu</a><br>http://people.biology.ufl.edu/mbrooks<br><br><br><br></span>
</div>
<br><div><div>On 26 Apr 2012, at 6:40 PM, Edgar Gonzalez wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span><div style="font-size: 12pt; font-family: times, serif; ">Hi,</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">After painstakingly working out my code and having it running, I've been running it with different pin's and having lots of nan's (ca. 90%) and when that doesn't happen the ADMB ends up at the limits of the parameters. Since I need parameter confidence intervals that's not good news.</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">I found on the internet that maybe the derivatives where not been correctly calculated and that by using -dd I could see if that's the case.</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">However, I don't understand the output:</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><blockquote style="margin: 0px 0px 0px 40px; font-size: 16px; border: none; padding: 0px; "><div><span style="font-size: 13px; ">Edgar$ ./mipdacmds6 <span style="font-weight: bold; ">-dd 0</span></span></div><div><span style="font-size: small; ">maxind = 7 maxg = 5878.4</span></div><div><span style="font-size: small; "><br></span></div><div><span style="font-size: small; "> Enter index (1 ... 10) of derivative to check. To check all derivatives, enter 0: To quit enter -1: 0</span></div><div><span style="font-size: small; "><br></span></div><div><span style="font-size: 13px; "> Checking all derivatives. Press X to terminate checking.</span></div><div><span style="font-size: small; "> Enter step size (to quit derivative checker, enter 0):
1.e-6</span></div><div><span style="font-size: small; "><br></span></div><div><span style="font-size: small; "> If you want the derivatives approximated in order</span></div><div><span style="font-size: small; "> of decreasing magnitude enter 1</span></div><div><span style="font-size: small; "> Else enter 0</span></div><div><span style="font-size: small; ">1</span></div><div><span style="font-size: small; "><br></span></div><div><span style="font-size: small; "> X Function Analytical Finite Diff; Index</span></div><div><span style="font-size: small; "> -7.13029e-03 4.21599e+04 5.87840e+03 5.87840e+03 ; 7 </span></div><div><span style="font-size: small; "> -2.99721e-01 4.21599e+04 4.65079e+03 4.65079e+03 ; 5 </span></div><div><span style="font-size: small; "> 3.16081e-01 4.21599e+04 3.47460e+03 3.47460e+03 ; 2 </span></div><div><span style="font-size: small; "> 3.20906e-01 4.21599e+04 3.21187e+03 3.21187e+03 ; 8 </span></div><div><span style="font-size: small; "> -1.55476e-01 4.21599e+04 2.80267e+03 2.80267e+03 ; 10 </span></div><div><span style="font-size: small; "> 1.17485e-01 4.21599e+04 1.26323e+03 1.26323e+03 ; 3 </span></div><div><span style="font-size: small; "> 3.65032e-02 4.21599e+04 -1.20355e+03 -1.20355e+03 ; 9 </span></div><div><span style="font-size: small; "> 2.57356e-01 4.21599e+04 8.90272e+02 8.90272e+02 ; 6 </span></div><div><span style="font-size: small; ">
1.34974e-02 4.21599e+04 8.19416e+02 8.19416e+02 ; 1 </span></div><div><span style="font-size: small; "> -1.05949e-01 4.21599e+04 5.14226e+02 5.14225e+02 ; 4 </span></div></blockquote><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">Could anyone tell me if there's a problem there with the derivatives?</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size: 12pt; font-family: times, serif; ">Thanks in advance,</div><div style="font-size: 12pt; font-family: times, serif; "><br></div></span></div><div>Edgar J. González</div></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>http://lists.admb-project.org/mailman/listinfo/users<br></blockquote></div><br></div></body></html>