Measurement equation in Del Negro et al (2013)

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.

Measurement equation in Del Negro et al (2013)

Postby dareios82 » Tue Feb 18, 2014 11:01 pm

Hi everyone,

I would like to replicate in dynare the paper by Del Negro, Giannoni and Schorfheide: Inflation in the Great Recession and New Keynesian Models:

http://www.newyorkfed.org/research/staf ... /sr618.pdf

They observe 10-year inflation expectations. To avoid to deal with a large state vector, they first solve the model without inflation expectations in the measurement equation. Then they compute expected inflation 40-quarter ahead using the solution of the model. Finally they append the additional measurement equation (eq 32) relating data and model inflation expectations. I wanted to know whether it is possible to do something similar in dynare, or I need to have inflation(+40) in the mod file, which I suppose would make the solution and estimation substantially slower.

Thanks,
Dario
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm

Re: Measurement equation in Del Negro et al (2013)

Postby jpfeifer » Sat Mar 08, 2014 12:31 pm

I may be wrong here, but the inflation term here is purely forward looking. Using inflation(+40) should not add any states to the model. The less in speed should hence be manageable. Moreover, I don't think Del Negro, Giannoni and Schorfheide actually first solve the model without inflation expectations. Rather, they solve it with inflation expectation and then show how to link those inflation expectations to the data. Thus, you might not get around specifying the forward-looking terms. Their second line of writing equation (32) seems like what Dynare would do if you enter the first line into the model. But I have not tried to derive this second line.
------------
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: Measurement equation in Del Negro et al (2013)

Postby dareios82 » Fri Mar 14, 2014 4:13 pm

HI Johannes,

I think the difference is that if you write the definition of inflation expectations in the model block (the average inflation expectations 'piexp' from 1 to 40), Dynare needs to create 39 auxiliary variables. Instead, what they do is to use the solution of the model (without piexp) to compute inflation expecations. You are right that the number of states is the same in both cases, what differs is the muber of jumps (12 vs 51). It seems a nice trick, especially if one wants to introduce additional observations reflecting average expectations. But maybe your point is that the difference in speed is minimal.

Dario
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm

Re: Measurement equation in Del Negro et al (2013)

Postby jpfeifer » Fri Mar 14, 2014 4:21 pm

Hi Dario,

I am not sure I understand the point. I don't see how you can use the model solution without solving the model. I read this section to state that the solution used to get from the first to the second line is the one of the full model. It does not read as if the solution used for that equation is the solution to a different kind of model that does not feature this inflation expectations term.
------------
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: Measurement equation in Del Negro et al (2013)

Postby dareios82 » Fri Mar 14, 2014 5:48 pm

They first solve the model without measurement equations in the model block. Then they construct the measurement equations separately. As you point out, they can do it exactly because the measurement equations do not require additional state variables. To construct the average inflation expectations you simply need to cumulate inflation 1 to 40 periods ahead using the transition equation (the second line in equation 32).

The less parsimonious way, which is what I currently do in dynare, is to add the measurement equations directly in the model block, which lead to the creation of 39 jump variables (as inf(+1) is already in the model). I guess in dynare those two approaches might imply similar speeds because I am just adding jump variables?
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm

Re: Measurement equation in Del Negro et al (2013)

Postby dareios82 » Fri Mar 14, 2014 7:45 pm

I guess the anwer to my question is that dynare uses a Schur decomposition to solve for the transition equation for the state variables only. So effectively dynare already does what DGS do.
dareios82
 
Posts: 10
Joined: Sat Jun 30, 2007 3:01 pm


Return to Dynare help

Who is online

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