Random Inverse Gamma Distribution
Internal function to simulate a value from an inverse Gamma distribution, used by nscosinor
. See the MCMCpack library. For internal use only.
n
: number of observations.shape
: Gamma shape parameter.scale
: Gamma scale parameter (default=1).Useful links