<div dir="ltr">So I'm confused. In the binomial example (binomial_w2.tpl) it shows multiplication of weight and likelihood value but in the distance sampling example I did with Hans the weighting was all behind the scenes to use -gh. Can someone hep me with the example cjsre.tpl at: <div>
<br><div><a href="https://docs.google.com/folder/d/0B77g1ScdUwVeWkNDaFA5OVp2SjA/edit?usp=sharing">https://docs.google.com/folder/d/0B77g1ScdUwVeWkNDaFA5OVp2SjA/edit?usp=sharing</a><br></div><div><br></div><div style>which I modeled after what Hans helped me with.  You'll see code multiplying weights that is commented out.</div>
<div style><br></div><div style>The weights here are frequencies of the occurrence of a particular capture history. </div><div style><br></div><div>If you rename the file yes_cjsre.dat to cjsre.dat and run it then it will work giving a likelihood about 333.  But if you rename the example no_cjsre.dat to cjsre.dat and run it, it will give a value of about 110. Both should be in the 300s.  The difference is that in the no_cjsre.dat there are two random effects per call  whereas in yes_cjsre.dat it is on only one of the parameters. Clearly the weights aren't being applied properly when there are random effects on both parameters.<div>
<br></div><div>I found the following comment in the code df1bg2h</div><div><br></div><div><div>   // !!! This only works for one random efect in each separable call</div><div>   // at present.</div><div><br></div><div>Am I out of luck at present?</div>
<div><br></div></div><div>--jeff</div></div></div></div>