welfare loss and infinite sums

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.

welfare loss and infinite sums

Postby marlenemaya » Sat Jun 17, 2017 9:50 am

Hi to everyone!
I have to evaluate the value of my objective function (welfare loss) in a new keynesian model. The value of the objective function W(t) is the infinite sum from 0 to infinitive of the parameter beta times a linear quadratic expression. How can I express the infiinte sum on dynare? I cannot linearize the expression, since in the command planner_objective ir must be quadratic, and is also impossible to write it in recursive form, since in the command leads or lags cannot enter. Can someone suggest me a trick?
Thank you!
marlenemaya
 
Posts: 19
Joined: Mon Nov 21, 2016 3:56 pm

Re: welfare loss and infinite sums

Postby jpfeifer » Sat Jun 17, 2017 3:15 pm

I think you are confusing something. The planner_objective takes the period loss/welfare function, not the intertemporal objective
------------
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: welfare loss and infinite sums

Postby StephaneAdjemian » Sat Jun 17, 2017 3:30 pm

Hi,

Not sure I understand your problem, but in Dynare you can write the infinite sum recursively in the model block if you need to evaluate welfare, I don't understand why you should use the planner_objective

Code: Select all
Welfare = u(Consumption, Labour) + beta*Welfare(1);


Best,
Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Re: welfare loss and infinite sums

Postby jpfeifer » Sat Jun 17, 2017 4:03 pm

@Stéphane: you can define welfare recursively, but it will not work with Ramsey or discretionary policy, which what the user is doing in http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=22550. As written there, if you need to work with leads/lags in the objective, you may have to work with auxiliary variables.
------------
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


Return to Dynare help

Who is online

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