Finite and infinite sums
Posted: Thu May 15, 2014 11:22 am
Dear All,
I am currently working on a New Keynesian model with Dynare. One equation has a particular form. The variable w is forward looking and notably depends on the expected future values for pi in the following way (here I omit arguments that have no impact on my topic):
w_t = E_t [Beta(pi_t+1) + Beta^2(pi_t+1 + pi_t+2) + Beta^3 (pi_t+1 + pi_t+2 + pi_t+3) + Beta^4 (pi_t+1 + pi_t+2 + pi_t+3 + pi_t+4) ..... up to infinity]
I would be grateful if you could tell me how to write it with Dynare. Especially the way to write the sequence for pi.
Best
I am currently working on a New Keynesian model with Dynare. One equation has a particular form. The variable w is forward looking and notably depends on the expected future values for pi in the following way (here I omit arguments that have no impact on my topic):
w_t = E_t [Beta(pi_t+1) + Beta^2(pi_t+1 + pi_t+2) + Beta^3 (pi_t+1 + pi_t+2 + pi_t+3) + Beta^4 (pi_t+1 + pi_t+2 + pi_t+3 + pi_t+4) ..... up to infinity]
I would be grateful if you could tell me how to write it with Dynare. Especially the way to write the sequence for pi.
Best