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