zero variance decomposition

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.

zero variance decomposition

Postby earsmall » Fri Oct 14, 2016 2:35 pm

I modified the model proposed by Justiniano and Preston (2010) and have been trying to estimate the new model.
Actually, I wanted to do with mode_compute=4 but it was hard to find the initial posterior mode.
So, I use mode_compute=6.

Eventually, estimation was done. However, results of posterior variance decomposition is strange.
Mostly, they are zero...

I hope to have possible reasons for this.
I attached my mod file and data.
Attachments
data_neer_jp.mod
Excel file (data) : the extention is .xlsx
(49.94 KiB) Downloaded 57 times
fx_est_post_z.mod
Mod file
(8.51 KiB) Downloaded 72 times
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: zero variance decomposition

Postby jpfeifer » Sat Oct 15, 2016 10:02 am

Please upload everything including your mode-file as a zip-file
------------
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

Re: zero variance decomposition

Postby earsmall » Sun Oct 16, 2016 10:11 am

I uploaded zip file which includes the mod file and data.

Thank you
Attachments
mod_and_data.zip
(47.17 KiB) Downloaded 74 times
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: zero variance decomposition

Postby jpfeifer » Sun Oct 16, 2016 12:36 pm

You still did not provide your _mode.mat-file
------------
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

Re: zero variance decomposition

Postby earsmall » Sun Oct 16, 2016 12:55 pm

Sorry
I uploaded the mode file as well
Attachments
mod_and_data.zip
(60.08 KiB) Downloaded 71 times
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: zero variance decomposition

Postby jpfeifer » Sun Oct 16, 2016 5:06 pm

The mode-file does not match the mod-file:
Code: Select all
The posterior mode file fx_est_post_z_mode has been generated using another specification of the model or another model!
--> Estimated parameter eps_gg is not present in the loaded mode file.
--> Estimated parameter rho_gg is not present in the loaded mode file.
------------
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

Re: zero variance decomposition

Postby earsmall » Mon Oct 17, 2016 2:50 pm

Sorry, I uploaded data, program (*.mod) and mode file (*_mode.mat).
Also, I uploaded the result (*.mat) in whch fevd mean of most variables are zero.

I think there might be a stationary issue. But in my opinion it has to be with some variables only
such as z, e, p, pf, ph. Not c or y.
Attachments
archieve.zip
(77.08 KiB) Downloaded 73 times
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: zero variance decomposition

Postby jpfeifer » Mon Oct 17, 2016 6:31 pm

I can confirm that the problem relates to nonstationary variables. For those variables, we are displaying 0 for all shocks, which is incorrect and should be NaN. We will fix this.
------------
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

Re: zero variance decomposition

Postby earsmall » Tue Oct 18, 2016 2:37 am

I am wondering if you let me know which variable or part of the model incurs stationary problems.
In fact, c (consumption), pi (inflation) and y (domestic output) are definitely stationary.
earsmall
 
Posts: 40
Joined: Mon Jun 15, 2015 3:44 pm

Re: zero variance decomposition

Postby jpfeifer » Tue Oct 18, 2016 9:00 am

My guess is that
Code: Select all
// (7) Terms of Trade
s = pf - ph ;

causes this, because you have two non-stationary variables on the RHS and from there is spills over to the real side of the model.
------------
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: Google [Bot] and 6 guests