3d graphs in DSGE

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.

3d graphs in DSGE

Postby ecrgap » Sun Jul 11, 2010 4:21 am

Hi all,

I was wondering if it is possible to produce a 3d graph for the quadratic loss function. That is, to see how loss changes with changes in the coefficients of the inflation target and the output gap in the Taylor rule.

Thanks in advance.
ecrgap
 
Posts: 13
Joined: Mon Jul 05, 2010 8:34 pm

Re: 3d graphs in DSGE

Postby p.gelain » Tue Jul 20, 2010 11:36 am

use the matlab command

surf(x,y,Z)

were x is a vector containing the values of one parameter, y is a vector containing the values of the other parameter and Z the loss values.

Paolo
p.gelain
 
Posts: 61
Joined: Wed Jul 11, 2007 9:13 pm
Location: Norges Bank

Re: 3d graphs in DSGE

Postby ecrgap » Thu Jul 22, 2010 3:51 pm

Thanks a lot Paolo
ecrgap
 
Posts: 13
Joined: Mon Jul 05, 2010 8:34 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests