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