<div dir="ltr">Steve-<div><br></div><div style>You should get the same results.  I'd be concerned if you didn't.  The models and data are the same. They only differ in vectorized versus loop implementation.</div><div style>
<br></div><div style>--jeff</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 10:54 AM, Martell, Steven <span dir="ltr"><<a href="mailto:s.martell@fisheries.ubc.ca" target="_blank">s.martell@fisheries.ubc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jeff,<br>
I compiled and ran you code and Jess's code and can confirm your results on run time. I also checked to make sure you were getting the same answers in both cases and I do get the same results (see below). Not sure why?<br>

<br>
bash-3.2$ head multistate_randeff_fast.par<br>
# Number of parameters = 5  Objective function value = 620.912  Maximum gradient component = 4.45222e-06<br>
# Here:<br>
1.85484902146<br>
# Hol:<br>
0.959450135883<br>
# Die:<br>
0.0109419856083<br>
# meanobs:<br>
1.69515728550<br>
# sdindiv_tr:<br>
bash-3.2$ head multistate_randeff_slow.par<br>
# Number of parameters = 5  Objective function value = 620.912  Maximum gradient component = 4.45224e-06<br>
# Here:<br>
1.85484902146<br>
# Hol:<br>
0.959450135883<br>
# Die:<br>
0.0109419856083<br>
# meanobs:<br>
1.69515728550<br>
# sdindiv_tr:<br>
<br>
On 2013-01-14, at 9:22 AM, Jeff Laake <<a href="mailto:jefflaake@gmail.com">jefflaake@gmail.com</a>><br>
 wrote:<br>
<br>
> <multistate_randeff_slow.tpl><multistate_randeff_slow.dat><multistate_randeff_fast.tpl><multistate_randeff_fast.dat><br>
<br>
</blockquote></div><br></div>