dynare estimation - inverse gamma priors

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

dynare estimation - inverse gamma priors

Postby earsmall » Mon May 16, 2016 10:31 am

I have been trying to reproduce the estimated results in Justiniano and Preston (2010).
In this paper, the priors for the standard deviations of the shocks are chosen as

"Inverse-Gamma 1 densities with infinite variance by fixing the degrees of freedom at 2.
The scale parameters are chosen to obtain a mean of 0.5"

However, in dynare, we can only specify means (p(1)) and standard deviations (p(2)) when imposing priors that follow inverse gamma distribution.

For example,

Code: Select all
estimated_params ;

...
...
stderr eps_z, , , , INV_GAMMA_PED, p(1), p(2)

end;


Is there any way to specify p(1) and p(2) in this case?
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: dynare estimation - inverse gamma priors

Postby jpfeifer » Tue May 17, 2016 6:32 pm

Sorry, but at the current stage, we only support distributions with finite moments, see https://github.com/DynareTeam/dynare/issues/846
Try using a large variance instead. This should not make a difference.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 14 guests