Theoretical moment Nan/ identifying unit root

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.

Theoretical moment Nan/ identifying unit root

Postby killergabin » Wed Feb 20, 2013 8:01 am

Dear all,

I'm running a model, everything seems good but I receive the following message "all endogenous are constant or non stationary not displaying correlations and autocorrelations" and I don't have theoretical moments. The purpose of my work is to obtain the historical decomposition of output, so i need help to identify the problem. Previous posts talk about unit root but I don't know how to identify the equation or the variables concerned.

Thank for your help.

Eric Gabin
Attachments
complete.txt
(6.47 KiB) Downloaded 121 times
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: Theoretical moment Nan/ identifying unit root

Postby jpfeifer » Wed Feb 20, 2013 2:53 pm

You have two unit roots in your model. It looks strange you have a variable P in your model. Usually prices in NK-models are non-stationary and everything has to be expressed in real terms using the inflation rate instead of the price level.
------------
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: Theoretical moment Nan/ identifying unit root

Postby killergabin » Wed Feb 20, 2013 3:07 pm

You're right about that. I'm going to change that right now.
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: Theoretical moment Nan/ identifying unit root

Postby killergabin » Wed Feb 20, 2013 7:03 pm

Dear Johannes,
I tried to follow your advise but I'm not sure in the way to proceed. I replaced the price level in the model with an equation of exogenous inflation (even if I know it's not that simple) :
"PI(+1) = PIbar + RHOpi*(PI-PIbar) + ETA_pi". But now one of the eigenvalues is close to 0/0.

Can you give me additional advise?
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: Theoretical moment Nan/ identifying unit root

Postby killergabin » Wed Feb 20, 2013 7:24 pm

I also tried the New keynesian Philips curve " PI(+1) = RHOpi*PI + Kappa*Y"; but my Blanchard Kahn conditions are not satisfied.
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am

Re: Theoretical moment Nan/ identifying unit root

Postby killergabin » Thu Feb 21, 2013 12:30 am

I think that I solve the unit root problem; but now theoretical moments have high or NaN std and variance. Thus I have bad variance decomposition.
Attachments
noroots.mod
Price in level replaced by the new keynesian philips curve
(6.62 KiB) Downloaded 106 times
killergabin
 
Posts: 15
Joined: Sun Sep 16, 2012 10:39 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests