Yes, we have the modified Bessel function. It's not in
the current release of Stan, but is on the develop branch
in Git and will be in Stan 2.0.
You can check out our wiki for some more tips for developers.
https://github.com/stan-dev/stan/wiki
In particular, there's a discussion of the Git development process (which
is pretty daunting if you haven't used git at this point, but we
have step-by-step instructions), and a discussion of some tools that
might be helpful, and a discussion of what we need in addition to the
function itself in the way of doc, tests, and symbol table manipulation.
There are two ways to implement a new distribution. The efficient,
vectorized way is illustrated with most of our distributions. You can
also just template out the arguments and write the function itself without
calculating derivatives by hand. It'll be quite a bit (maybe a factor of 2 to 10),
slower, but it might be a good place to start to get something working right
away -- it's always easy to go from working to optimized than the other way
around.
- Bob
> --
> You received this message because you are subscribed to the Google Groups "stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>