Page 1 of 1

3d graphs in DSGE

PostPosted: Sun Jul 11, 2010 4:21 am
by ecrgap
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.

Re: 3d graphs in DSGE

PostPosted: Tue Jul 20, 2010 11:36 am
by p.gelain
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

Re: 3d graphs in DSGE

PostPosted: Thu Jul 22, 2010 3:51 pm
by ecrgap
Thanks a lot Paolo