To include time trend

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.

To include time trend

Postby cjcostaj » Fri Nov 29, 2013 3:28 pm

I am working with a model which will need to include a variable that represents a time trend as:
y = a + b * t
a and b are parameters and t is time trend (t = 1,2,3 ...)

How do I include it in the model? And How do dymare see this?
cjcostaj
 
Posts: 22
Joined: Sun Aug 26, 2012 6:26 pm

Re: To include time trend

Postby StephaneAdjemian » Fri Nov 29, 2013 10:35 pm

Hi,

All depends on what you are trying to do. General answer is that there is no interface to specify trends in the model block.

If you want to compute a stochastic simulation, with stoch_simul, it is not possible to include a time trend in the model. With a time trend it would not be possible to define the steady state level (of y in your example) which is needed to compute the local approximation of the model. The traditional approach is to write and solve the detrended version of the model... And to put back the trend on the reduced form solution (to simulate the endogenous variables with growth). If you want to solve a perfect foresight model, you can put a trend in the shocks.

Best,
Stéphane
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: To include time trend

Postby cjcostaj » Sat Nov 30, 2013 12:15 pm

Hello Stéphane,

It is in shock that I'm thinking to use the temporal trend. But in doing so, will the model turn out to be non stationary?

Thank you very much.

Celso
cjcostaj
 
Posts: 22
Joined: Sun Aug 26, 2012 6:26 pm

Re: To include time trend

Postby jpfeifer » Mon Dec 02, 2013 2:48 pm

Hi,
it depends. In the deterministic/perfect foresight context (simul), this does not matter. You don't need stationarity there. For stoch_simul, non-stationary shocks result in a non-stationary solution (no finite second moments). In that case, you have to do as Stéphane says: detrend the model, solve it in detrended form and bring it back to non-stationary form.
------------
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: To include time trend

Postby cjcostaj » Tue Dec 10, 2013 5:07 am

Thank you, Stéphane and Johannes.
cjcostaj
 
Posts: 22
Joined: Sun Aug 26, 2012 6:26 pm


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests