Trend variables

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.

Trend variables

Postby matheus_silva92 » Tue Mar 01, 2016 11:37 pm

Hi,

I'm working on a monetary model with technological and populational growth. Therefore, I should have 3 trend variables: technology growing at rate (1+gt), population at rate (1+gn) and money at rate (1+gm).

I'd like dynare to recognize that (1+gm) = (1+gn)*(1+gt) in the long run, but in the short run they may differ (so my price level changes).

For example, what I'm trying to do is:

trend_var(growth_factor= 1+gx) X; //technological progress
trend_var(growth_factor= 1+gn) N; //population
trend_var(growth_factor= 1+gm) M; //money supply

However, I keep getting the error message that my trends are not compatible.

So... Is it even possible to do this in Dynare? I know it's possible to detrend the variables, but it would be extremely convenient if I could do it this way.

Thanks in advance,
Matheus
matheus_silva92
 
Posts: 12
Joined: Tue Mar 01, 2016 11:16 pm

Re: Trend variables

Postby jpfeifer » Wed Mar 02, 2016 10:52 am

That should be possible if all variables are cointegrated. An example is at https://github.com/DynareTeam/dynare/blob/master/examples/fs2000_nonstationary.mod
Did you provide growth factors for all variables?
------------
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: Trend variables

Postby matheus_silva92 » Wed Mar 02, 2016 4:25 pm

Hi Johannes,

Thanks for your response. Do you mind if I upload my code so that you can take a look at it?
matheus_silva92
 
Posts: 12
Joined: Tue Mar 01, 2016 11:16 pm

Re: Trend variables

Postby jpfeifer » Fri Mar 04, 2016 2:38 pm

I can have a look, but cannot promise anything.
------------
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 16 guests