Thanks to those who took the time to look. A colleague (as well as Dave and Ian) correctly pointed out that I was incorrectly using standard C++ data types for functions of model parameters, rather than declaring them with the appropriate data types in the Parameter section--probably a very rookie mistake. So while my likelihood function worked great in C++, it was not valid in ADMB at all.<br>
<br>Again, thanks to those who took the time to review it.<br><br>Chris<br><br><br clear="all"><br>-----------------------------<br>Chris Gast<br><a href="mailto:cmgast@gmail.com">cmgast@gmail.com</a><br>
<br><br><div class="gmail_quote">On Fri, Apr 2, 2010 at 6:55 AM, Ian Fiske <span dir="ltr"><<a href="mailto:ianfiske@gmail.com">ianfiske@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">> double auxdat[nyears][nages];<br>
> int telyears[telnyears];<br>
> double auxyearsum[nyears], harvyearsum[nyears];<br>
<br>
</div>And I have a feeling that it has to do with your use of double arrays<br>
instead of dvar_vectors if those are involved in the likelihood<br>
calculation, which as Dave noted we can't determine.<br>
<br>
Ian<br>
<font color="#888888"><br>
--<br>
Ian Fiske<br>
PhD Candidate<br>
Department of Statistics<br>
North Carolina State University<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@admb-project.org">Users@admb-project.org</a><br>
<a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>