gammaLogLikelihood | R Documentation |
Used in calculating model probability in Metropolis-Hastings algorithm when proposals are from the Gamma distribution.
gammaLogLikelihood(x, shape, rate)
x |
- double; the value to calculate the unnormalised likelihood of. |
shape |
- double; the shape of the Gamma distribution. |
rate |
- double; the rate of the Gamma distribution |
the unnormalised log-likelihood of x in a Gamma with parameters shape and rate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.