Used in calculating model probability in Metropolis-Hastings algorithm when proposals are from the inverse-Gamma distribution.
invGammaLogLikelihood(x, shape, scale)
the unnormalised log-likelihood of x in a inverse-Gamma with parameters shape and scale.
- double; the value to calculate the likelihood of.
- double; the shape of the inverse-Gamma distribution.
- double; the scale of the inverse-Gamma distribution