Copyright | 2021 Dominik Schrempf |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creation date: Thu May 14 21:49:23 2020.
Documentation
scale :: Shape Double -> Scale Double -> PName -> PWeight -> Tune -> Proposal Double Source #
Multiplicative proposal.
The gamma distribution is used to sample the multiplier. Therefore, this and all derived proposals are log-additive in that they do not change the sign of the state. Further, the value zero is never proposed when having a strictly positive value.
Consider using slide
to allow proposition of values
having opposite sign.