data for estimation

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.

data for estimation

Postby avi » Thu Jun 04, 2009 10:32 am

hi

I entered my model in a non linear form and I want to use dynare in order to log- linearized the model and estimate it (in a log-linear form).

I have 3 questions:

1) how should I write the model? should I use log-exp terms?

2) at the estimation function, should I use the log-linear command?

3) in what terms should i transform the data? should I use deviations from steady state (log and than deviation from hp filter), should I use log terms, and so on...

thanks
avi
 
Posts: 2
Joined: Thu Jun 04, 2009 9:14 am

Re: data for estimation

Postby StephaneAdjemian » Fri Jun 05, 2009 11:38 am

Hi,

avi wrote: I entered my model in a non linear form and I want to use dynare in order to log- linearized the model and estimate it (in a log-linear form).

I have 3 questions:

1) how should I write the model? should I use log-exp terms?


A much simpler approach is to add measurement equations in the model block of your mod file. For instance, you would write:

Code: Select all
GDPobs = 100*log(GDP/GDPss) ;


where GDP is defined in your non linear model and GDPss is a parameter for the steady state level of GDP.

avi wrote: 2) at the estimation function, should I use the log-linear command?


If you follow my suggestion you don't need this option.

avi wrote: 3) in what terms should i transform the data? should I use deviations from steady state (log and than deviation from hp filter), should I use log terms, and so on...


It's up to you. The one thing that matters is that the transformations on your data must be consistent with the declaration of the variables in the model.

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: data for estimation

Postby avi » Mon Jun 08, 2009 2:29 pm

thank you for your answer. it was very useful
avi
 
Posts: 2
Joined: Thu Jun 04, 2009 9:14 am


Return to Dynare help

Who is online

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