Sigma Notation in Dynare

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.

Sigma Notation in Dynare

Postby ccmartinezs » Wed Oct 08, 2014 1:30 am

Hello:

I am a Beginner at Dynare and I am being asked to write the non-linearized New Keynesian Model as described in Walsh(2010) in order for Dynare to run log-linearization. I can't find how to express the following equation

pstar_t/P_t = {sum_j(0:inf)[w^i*beta^i*C_t+i^(1-sigma)*phi_t+i*(P_t+i/P_t)^theta] / sum_j(0:inf)[w^i*beta^i*C_t+i^(1-sigma)*(P_t+i/P_t)^(theta-1)]} *(theta/(theta-1))

Where w and beta are parameters in the interval (0,1), sigma is an aversion risk coefficient and theta is a elasticity, where all of them are given values. pstar_t denotes the optimal price set by firms able to do so at period t, P_t is the aggregate price level at time t, C_t is consumption at time t and phi_t is marginal cost at time t. Sum_i(0:inf)[...] denotes the sum, for i gooing from zero to infinity of the expression contained in square brackets. As is notices, there is sigma notation which, as I know, cannot be written down like that in dynare.

Can you please give me indications about how I should input this in dynare?

Thanks for your help.
ccmartinezs
 
Posts: 5
Joined: Tue Oct 07, 2014 10:15 pm
Location: Bogotá, Colombia.

Re: Sigma Notation in Dynare

Postby jpfeifer » Wed Oct 08, 2014 6:54 am

------------
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: Sigma Notation in Dynare

Postby ccmartinezs » Wed Oct 08, 2014 4:03 pm

Thanks jpfeifer, could you please tell me exactly what is the paper by Schmitt and Uribe in which the authors solve the pricing problem, if you don't mind?

Thanks for your help.
ccmartinezs
 
Posts: 5
Joined: Tue Oct 07, 2014 10:15 pm
Location: Bogotá, Colombia.

Re: Sigma Notation in Dynare

Postby jpfeifer » Thu Oct 09, 2014 4:55 am

Have a look at:
Optimal Simple and Implementable Monetary and Fiscal Rules: Expanded Version
Stephanie Schmitt-Grohé and Martín Uribe
NBER Working Paper No. 12402
July 2006
http://www.nber.org/papers/w12402
------------
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: Sigma Notation in Dynare

Postby ccmartinezs » Thu Oct 09, 2014 3:30 pm

Thank you so much, I really appreciate your help.
ccmartinezs
 
Posts: 5
Joined: Tue Oct 07, 2014 10:15 pm
Location: Bogotá, Colombia.


Return to Dynare contributions and examples

Who is online

Users browsing this forum: No registered users and 5 guests