Expectation

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.

Expectation

Postby danicara » Thu Dec 25, 2014 5:53 am

I am trying to replicate the results in Andrea Ferrero's paper

https://www.ecb.europa.eu/pub/pdf/scpwps/ecbwp502.pdf

However, I do not know how to write the following which can be found on page 53,

Code: Select all
E_{t}[sum_{s=t}^{\infty} (\beta)^{s-t} v_{F,s}]


I think I know how to write the infinite sum using a macro processor but I am not sure about two things:

-why there is an infinity in the first place if the whole thing is log-linearized

-how do I write a sum in terms of t, the period we are in, in Dynare?

Thank you very much,
danicara
 
Posts: 3
Joined: Thu Dec 25, 2014 5:40 am

Re: Expectation

Postby jpfeifer » Sun Dec 28, 2014 9:58 am

Log linearization does not convert infinite sums to finite sums. The trick rather is that log-linearization often makes it easier to find a recursive representation that gets rid of the infinite sum. That is what is done on that page 53. After
Code: Select all
Up to the first order, the flow version of the government budget constraint is

follows a recursive equation in v_{F,t}. This equation should completely determine the evolution of v_{F,t}. This variable v_{F,t} is used to get rid of the variable v_{F,s} that only has a representation as an infinite sum and should not appear in any other equation in the model and can thus be left out when entering the model. In a nutshell, the recursive definition of v_{F,t} replaces v_{F,s}.
------------
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: Expectation

Postby danicaratelli » Tue Dec 30, 2014 4:07 am

Thank you very much, that was really helpful.
danicaratelli
 
Posts: 3
Joined: Tue Aug 19, 2014 8:38 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests