rinversegamma_coupled: Sample from maximally coupled inverse gamma

View source: R/invgamma_couplings.R

rinversegamma_coupledR Documentation

Sample from maximally coupled inverse gamma

Description

with given parameters alpha1, alpha2, beta1, beta2, where the parametrization is that the log-density of IG(alpha, beta) is alpha * log(beta) - lgamma(alpha) - (alpha+1) * log(x) - beta / x

Usage

rinversegamma_coupled(alpha1, alpha2, beta1, beta2)

pierrejacob/debiasedmcmc documentation built on Aug. 22, 2022, 12:41 a.m.