Replication-Justiniano and Primiceri

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.

Replication-Justiniano and Primiceri

Postby ashley674 » Sat Apr 29, 2017 2:44 pm

Hi All,
I am trying to replicate Justiano and Primiceri (2008) bayesian estimation for time-invariant posteriors. My problem is that I am able to derive the steady state without including the measurement equations but when those equations are included I am getting an error stating that the steady state contains Nan or Inf. I am not sure what I am doing wrong as I am writing the code following what the researchers uploaded online. I have uploaded my mod file so you can get a clearer picture of what I have done so far to see where I am going wrong.

Any help on this will be greatly appreciated and thank you in advance.
Ashley
Attachments
timevarying1.mod
(4.38 KiB) Downloaded 44 times
ashley674
 
Posts: 4
Joined: Sat Apr 29, 2017 2:05 pm

Re: Replication-Justiniano and Primiceri

Postby ashley674 » Sat Apr 29, 2017 3:15 pm

Hey All,
I was able to get the steady state with the measurement equations so you can disregard my first post.

Ashley
ashley674
 
Posts: 4
Joined: Sat Apr 29, 2017 2:05 pm

Re: Replication-Justiniano and Primiceri

Postby ashley674 » Sat Apr 29, 2017 3:52 pm

Hi All,
First of all I apologize for all the messages in such a short time but I really need to get these results this week.

I am now trying to estimate posteriors for the model but I keep getting the error message below;

Error in computing likelihood for initial parameter values

ESTIMATION_CHECKS: There was an error in computing the likelihood for initial parameter values.
ESTIMATION_CHECKS: You should try using the calibrated version of the model as starting values. To do
ESTIMATION_CHECKS: this, add an empty estimated_params_init-block with use_calibration option immediately before the estimation
ESTIMATION_CHECKS: command (and after the estimated_params-block so that it does not get overwritten):


Error using print_info (line 42)
Blanchard Kahn conditions are not satisfied: no stable equilibrium

I am really lost as to what is wrong with the model now as I was able to simulate the model and get steady states.
Again any help will be greatly appreciated and thank you in advance.
Attachments
timevarying_stst1.mod
(728 Bytes) Downloaded 50 times
timevarying2.mod
(4.95 KiB) Downloaded 53 times
ashley674
 
Posts: 4
Joined: Sat Apr 29, 2017 2:05 pm

Re: Replication-Justiniano and Primiceri

Postby ashley674 » Sat Apr 29, 2017 6:31 pm

Hi All,
I figured out my errors and was able to get posterior results so you can ignore all my postings.
Ashley
ashley674
 
Posts: 4
Joined: Sat Apr 29, 2017 2:05 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests