Quick question: I am trying to write a code to generate random numbers from an Inverse Gamma (IG) distribution based on Dynare’s definition of an “Inverse Gamma 1 Distribution”. Under the “Wikipedia” version of IG, it is possible to get draws from an IG(a,b) from a Gamma(a,1/b), where “a” and “b” are the shape and scale parameters of the distribution. It is trivial to match these parameters with the “IG 2 Distribution”, but not with the “IG 1 Distribution”. Is there any quick fix to use the same structure of “IG 1” to generate random draws?