Page 1 of 1

Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 3:03 am
by zhaoningru
According to literature, the linearization in Dynare(order=1 in stoch_simul) should have the same result with 1-order approximation in Dynare++. However, when I simulated a simple RBC model in DYNARE and DYNARE++, I got huge differences between variances(or standard variances) of variables in DYNARE and those in DYNARE++. Can anybody give me a reasonable explanation for this phenomena? Thanks for your help!

Re: Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 5:00 am
by jpfeifer
Please provide the mod-files for both.

Re: Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 5:11 am
by zhaoningru
I have attached both DYNARE code and DYNARE++ code here. Thanks for your reply.

Re: Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 5:12 am
by zhaoningru
DYNARE++ code.

Re: Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 9:16 am
by jpfeifer
You are using different orders, the HP-filter in one case, and you are using a variance of 0.01 in one case and of 0.01^2 in the other one.

Re: Difference Between Dynare and Dynare++?

PostPosted: Tue Sep 23, 2014 3:29 pm
by zhaoningru
I have corrected what you mentioned. The variances now are close to each other. By the way, how to implement HP-FILTER in dynare++? By using the dynare_simul to get the simulated data and then applies HP-FILTER to the simulated data?

Re: Difference Between Dynare and Dynare++?

PostPosted: Wed Sep 24, 2014 11:44 am
by jpfeifer
Yes. Dynare++ does not support the HP-filter. You need to apply it manually to the simulated series.

Re: Difference Between Dynare and Dynare++?

PostPosted: Thu Sep 25, 2014 1:30 am
by zhaoningru
Thanks, got it!