[ADMB Users] something suspicious in my TPL codes (semi-implicit)

dave fournier davef at otter-rsch.com
Sun Apr 1 13:55:41 PDT 2012


This looks bad to me.


  //Ft
   for(i=1;i<=nyrs;i++)
     Ft(i)=Ft(i)*exp(F_devs(i));


I think you should have something like

    init_number log_avg_F


  //Ft
   for(i=1;i<=nyrs;i++)
     Ft(i)=exp(log_avf_F+F_devs(i));



More information about the Users mailing list