[ADMB Users] making a pin file

dave fournier otter at otter-rsch.com
Wed Aug 5 09:00:49 PDT 2009

the easiest way to make a pin file is to run the model with the command
line option

   -maxfn 0

and copy the output par file (*.p01) in this case to *.pin and edit it.

On another note your random effects will cause trouble
because cvec can be <0
  // compute vector of c values
   cvec = c + sigma_c*(Z*u);
   // power-Ricker

I think you want something like  exp(cvec)
or the admb function mfexp(cvec)  which is bounded above for very large
values to help avoid overflow.
   prob =

David A. Fournier
P.O. Box 2040,
Sidney, B.C. V8l 3S3
Phone/FAX 250-655-3364

More information about the Users mailing list