Closed ikarib closed 6 years ago
I have accepted the pull request, however, for bkw compatibility, I will rearrange the inv gamma distributions as follows in the next pre-release:
logdist.invgamma
to what it used to be before.logdist.invgamma1
and logdist.invgamma2
, with the latter one simply shadowing the existing logdist.invgamma
.Best Jaromir
I prefer how Dynare sets inv_gamma_pdf to inv_gamma1_pdf
Bkw compatibility, the bitch of all of us :)
In Dynare we usually use two types of inverse gamma distributions: INV_GAMMA2_PDF for variance and INV_GAMMA1_PDF for the standard deviation of the transition or measurement shock. Please see the derivations at https://archives.dynare.org/phpBB3/download/file.php%3Fid=5955
IRIS currently only has type-2 distribution logdist.invgamma used only for the variance. Please add type-1 distribution for the standard deviation.