stationarity problem with log-linearization model around the

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.

stationarity problem with log-linearization model around the

Postby zulfiqar1974 » Thu Mar 29, 2012 11:21 pm

Hi all, I am working with Financial Frictions in NK-DSGE-Model with durable goods. In my earlier post, I was ask for the solution of rank condition problem. With the invaluable response, I have removed one reduntant equation and now my model is generating IRFs and some of the theoretical moments with NAN for others. If I use Drop and period option, then I am getting simulated moments for all endogenous variables. I have compared the IRFs with "stoch_simul(order=1,irf=40)" and "stoch_simul(order=1,irf=40, periods=2000, drop=200)" and these are identical. Can someone please let me know why is this happening? Is this still a serious problem? What can I do to get theoretical moments? Another question is about the nominal shock of my model. My model works well with 3 out of 4 main shocks (shock to networth, productivity shock and capital quality shock) but with nominal shock, I am getting the following message "All endogenous are constant or non-stationary, not displaying correlations and auto-correlations". I read the various post in the forum and consult the user manual for this which talked about stationarity issue. I have log-linearized my model around steady state by hand and input the model in mod file as "model (linear)". Can I still expect stationarity problem with log-linearization model around the steady state? What should I do to get rid of this problem?
zulfiqar1974
 
Posts: 3
Joined: Thu Sep 15, 2011 3:16 pm
Location: Canberra

Re: stationarity problem with log-linearization model around

Postby jpfeifer » Fri Mar 30, 2012 8:40 pm

Could you please post the mod-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: stationarity problem with log-linearization model around

Postby missredridinghood » Sun Dec 14, 2014 11:44 pm

I believe that the model that I was working with is suffering from this type of issue. What would be the necessary steps to take when you are programming a log-linearization done by hand?
missredridinghood
 
Posts: 19
Joined: Tue Nov 11, 2014 12:37 am

Re: stationarity problem with log-linearization model around

Postby missredridinghood » Wed Dec 17, 2014 6:17 am

I am getting the following results after log-linearizing by hand. I did look at listing 3 as a guide.

MOMENTS OF SIMULATED VARIABLES

VARIABLE MEAN STD. DEV. VARIANCE SKEWNESS KURTOSIS
y_hat 0.000000 0.000000 0.000000 NaN NaN
k_hat 0.000000 0.000000 0.000000 NaN NaN
n_hat 0.000000 0.000000 0.000000 NaN NaN
inv_hat 0.000000 0.000000 0.000000 NaN NaN
c_hat 0.000000 0.000000 0.000000 NaN NaN
w_hat 0.000000 0.000000 0.000000 NaN NaN
h_hat 0.000000 0.000000 0.000000 NaN NaN


CORRELATION OF SIMULATED VARIABLES

VARIABLE y_hat k_hat n_hat inv_hat c_hat w_hat h_hat
y_hat NaN NaN NaN NaN NaN NaN NaN
k_hat NaN NaN NaN NaN NaN NaN NaN
n_hat NaN NaN NaN NaN NaN NaN NaN
inv_hat NaN NaN NaN NaN NaN NaN NaN
c_hat NaN NaN NaN NaN NaN NaN NaN
w_hat NaN NaN NaN NaN NaN NaN NaN
h_hat NaN NaN NaN NaN NaN NaN NaN


AUTOCORRELATION OF SIMULATED VARIABLES

VARIABLE 1 2 3 4 5
y_hat NaN NaN NaN NaN NaN
k_hat NaN NaN NaN NaN NaN
n_hat NaN NaN NaN NaN NaN
inv_hat NaN NaN NaN NaN NaN
c_hat NaN NaN NaN NaN NaN
w_hat NaN NaN NaN NaN NaN
h_hat NaN NaN NaN NaN NaN
missredridinghood
 
Posts: 19
Joined: Tue Nov 11, 2014 12:37 am

Re: stationarity problem with log-linearization model around

Postby jpfeifer » Wed Dec 17, 2014 10:00 am

In your case, your only shock is epsa. It affects the model via
Code: Select all
  A_hat = rhoa*A_hat(-1) + epsa;

But A_hat does not enter anywhere else. That is why it has no impact on any other variable and why they are all constant.
------------
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: stationarity problem with log-linearization model around

Postby missredridinghood » Wed Dec 17, 2014 10:29 am

Thanks Johannes so much for your help. I fixed it and it's ok.
missredridinghood
 
Posts: 19
Joined: Tue Nov 11, 2014 12:37 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests