Page 1 of 1

To include time trend

PostPosted: Fri Nov 29, 2013 3:28 pm
by cjcostaj
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?

Re: To include time trend

PostPosted: Fri Nov 29, 2013 10:35 pm
by StephaneAdjemian
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

Re: To include time trend

PostPosted: Sat Nov 30, 2013 12:15 pm
by cjcostaj
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

Re: To include time trend

PostPosted: Mon Dec 02, 2013 2:48 pm
by jpfeifer
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.

Re: To include time trend

PostPosted: Tue Dec 10, 2013 5:07 am
by cjcostaj
Thank you, Stéphane and Johannes.