Comparing model with data after log-linearization

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.

Re: Comparing model with data after log-linearization

Postby AS90 » Sun Feb 22, 2015 11:50 am

I beg your pardon.

1. Say you have some non-stationary real data and you do not HP filter it. You run an SVAR in levels and compute IRFs. Say you want to reproduce these IRFs in a DSGE model. You then model technology with a stochastic drift (unit root+long-run trend+exogenous shock).

Should you normalise the nominal variables to able to properly compare the model IRFs (once the model is solved) with the real data ones or not? It appears to me that you should not, because the real data was kept non-stationary; is that not the case?

2. Is it appropriate to run the real data SVAR in levels rather than in log-levels, since one intends to compare it to a DSGE model which is in percentage deviations (as explained)? Papers seem to have done this. What do you think?

Thank you.
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Re: Comparing model with data after log-linearization

Postby jpfeifer » Tue Feb 24, 2015 9:46 am

1. I still do not understand what your question is. How do you jump from nominal to real variables? Also, you seem to be confusing stationary IRFs around a long-run nonstationary trend with the nonstationary trend movement itself.

2. No, that is not appropriate and I have never actually seen people run VARs in levels. They all use log-levels (even when they often refer to it colloquially as "levels").
------------
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: Comparing model with data after log-linearization

Postby AS90 » Fri Feb 27, 2015 4:05 pm

2. OK for the colloquial use of levels; thanks.
1. All I mean is: if you have non-stationary data IRFs are you supposed to de-trend your DSGE model if you want to obtain the same (NS IRFs) there too?
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Re: Comparing model with data after log-linearization

Postby bayes » Sat Feb 28, 2015 3:53 pm

Dear Johannes,

is there any alternative to the use of HP filter when comparing model variables to the data? Is any other transformation practically used?
bayes
 
Posts: 14
Joined: Thu Jan 22, 2015 9:45 am

Re: Comparing model with data after log-linearization

Postby jpfeifer » Sat Feb 28, 2015 4:48 pm

There are two other filters in practical use
  • First differences
  • Baxter-King filter
------------
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: Comparing model with data after log-linearization

Postby bayes » Sat Feb 28, 2015 6:02 pm

Thanks! Another question, are the lecture slides from your course that you referred to in this topic available somewhere online? Or is it possible to get them from you..?
bayes
 
Posts: 14
Joined: Thu Jan 22, 2015 9:45 am

Re: Comparing model with data after log-linearization

Postby jpfeifer » Sun Mar 01, 2015 10:59 am

No. If you send me an email, I can send the respective chapter to you.
------------
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: Comparing model with data after log-linearization

Postby jpfeifer » Mon Mar 02, 2015 7:35 pm

@AS90: You need to be more precise. What are
Code: Select all
non-stationary data IRFs?

Are the IRFs to temporary shocks estimated on non-stationary data? Or are the IRFs non-stationary, i.e. they show permanent effects of a temporary shock?
------------
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: Comparing model with data after log-linearization

Postby AS90 » Sat May 30, 2015 4:29 pm

Thanks, sorry for the hiatus.

Yes, the first one you wrote. Non-stationary data IRFs: the IRFs are estimated on non-stationary data.
Hence, is one to de-trend his DSGE model anyways if willing on reproducing said IRFs theoretically?
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Re: Comparing model with data after log-linearization

Postby jpfeifer » Sun May 31, 2015 11:12 am

In that case, you have to work with a detrended model and make sure the data are correctly matched to the stationary model variables. For example, you can use an observation equation with first differences. See Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models" https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.
------------
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: Comparing model with data after log-linearization

Postby AS90 » Sun May 31, 2015 12:04 pm

Thank you. That paper is very useful, you had already notified it to me. But, right because of the indications therein, what I asked was: what if you do not want to render the data stationary? That is, what if you wish to reproduce IRFs estimated on non-stationary data: should you still de-trend your DSGE model or not? By logical rigour you shouldn't, right?
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Re: Comparing model with data after log-linearization

Postby jpfeifer » Sun May 31, 2015 12:32 pm

In a sense, the data is still non-stationary if you use first differences as you are using an invertible transformation. But if you follow Canova's most recent arguments, you should not be treating your data. However, that massively restricts what you can do in estimation. The reason you need to stationarize your model is that you need to have a well-defined approximation point for log-linearization/Taylor approximation. Thus, you have to use a mapping of the non-stationary data to the stationary model. If you find a way to use a non-stationary model, you might be able to get around this, but I am not aware of any decent way to achieve this.
------------
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: Comparing model with data after log-linearization

Postby AS90 » Sun May 31, 2015 1:39 pm

True and elucidating. Thanks.
AS90
 
Posts: 39
Joined: Tue Jul 23, 2013 3:22 pm

Previous

Return to Dynare help

Who is online

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