Thanks, Dave.  The version that I posted is the "working" version.  The non-working version can be created by simply changing<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> totL += (.5)*(-(nyears-1)*log(tau)-.5*norm2(e/tau));</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">to</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "> totL += (-(nyears-1)*log(tau)-.5*norm2(e/tau));</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">near the end of the procedure section.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Chris</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br>
</span></div><div><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 Sat, May 1, 2010 at 1:25 PM, dave fournier <span dir="ltr"><<a href="mailto:otter@otter-rsch.com">otter@otter-rsch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
when I fit the model I get<br>
<br>
<br>
# Number of parameters = 17  Objective function value = 85.0721  Maximum<br>
gradient component = 1.39976e-05<br>
# logparms:<br>
 4.60684 4.96995 5.68780 5.52954 5.57271 5.50498 5.41264 5.38455 5.15434<br>
4.90537 5.12176 4.88580 4.99652 4.99314<br>
# beta:<br>
0.323181499499<br>
# logcmu:<br>
-1.39791821040<br>
# logtau:<br>
-1.02730287171<br>
# e:<br>
 -0.135045466851 -0.150301378413 -0.00345438922902 0.258085056965<br>
-0.0883788436773 -0.207740221584 -0.0111395937873 -0.00399462178862<br>
0.0798834043456 -0.0588602853083 -0.00631965917273<br>
~<br>
Is that supposed to be bad?<br>
<br>
~<br>
_______________________________________________<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>
</blockquote></div><br></div>