Hi Mahdieh,
This is a case where you can use a user-defined distribution. Please
see Section 12.2 of the manual. Given that there is an example of
writing a simple exponential distribution there, hopefully it will be
straightforward for you to write the ddexp case.
You could also, without having to define your own distribution, write
the double exponential as a scale mixture of normals using a parameter
augmentation approach, but this introduces additional parameters so
would likely decrease MCMC efficiency. So I'd suggest the user-defined
distribution approach.
Filling out some of the extra distributions that we have said we'd
like to add always seems to take lower priority than other things
we're doing, but given your interest and that this case is a common
one, hopefully we can add this as part of NIMBLE in the next release
or two.
Chris
> --
> You received this message because you are subscribed to the Google Groups "nimble-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
nimble-users...@googlegroups.com.
> To post to this group, send email to
nimble...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/nimble-users/5ad36cb4-f651-4cbf-9b2c-2dad569f54ab%40googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.