why the two standard error not same from practicing 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.

why the two standard error not same from practicing dynare?

Postby lyjessica » Wed Aug 24, 2011 11:42 pm

Hi everybody,

I have a problem with the Practicing Dynare in page 46-47.

in page 46, it says:
shocks;
var e_d;
stderr 1;
var e_s;
stderr 1;
end;

but in page 47, when estimate the the parameters using Bayesian techniques, it says:
estimated_params;
a1, gamma_pdf,.5,.5;
d1, gamma_pdf,.2, .5;
stderr e_d, inv_gamma_pdf, 5, 30;
stderr e_s, inv_gamma_pdf, .2, 30;

My problem is why e_d and e_s's stderr are set to 1 in 'shocks', and the two standard errors are set to 30 in 'estimated_params'.

can anybody help me?

thankyou!

Jessica
how_to_use_dynare_to_calibrate_nyu.pdf
(501.32 KiB) Downloaded 137 times
lyjessica
 
Posts: 13
Joined: Thu Jun 16, 2011 2:44 pm

Re: why the two standard error not same from practicing dyna

Postby jpfeifer » Thu Aug 25, 2011 6:42 am

As the model is linear, the shocks are set 1 for simplicity in the shocks command. In the estimation command, the 30 is not the standard deviation of the parameter, but the standard deviation of the prior distribution for the shock standard deviation. These are two different objects (see the manual for the syntax in the estimated_params-block).
------------
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: why the two standard error not same from practicing dyna

Postby lyjessica » Thu Aug 25, 2011 8:03 am

thanks, I understand it. thanks again.
lyjessica
 
Posts: 13
Joined: Thu Jun 16, 2011 2:44 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests