[ADMB Users] conditional statement using parameter to be estimated

dave fournier xdavefournier at gmail.com
Sun May 25 09:28:32 PDT 2014


The way to do this is to use a differentiable logistic as Ben suggested. In
addition you should use phases and gradually
increase the steepness.  Finally as a technical matter you should use
exp(z) in place of exp(-z) to avoid overflow when
necessary.  See the attached changepoint.tpl

To run this with multiple phase you would use the command line option
-maxph 3

Note use of value() function which will be needed in random effects model.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20140525/b36c61bb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changepoint.tpl
Type: application/octet-stream
Size: 824 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20140525/b36c61bb/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changepoint.dat
Type: application/x-ns-proxy-autoconfig
Size: 276 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20140525/b36c61bb/attachment.dat>


More information about the Users mailing list