Erros in compute_model_moments.m?

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Erros in compute_model_moments.m?

Postby bigbigben » Tue Feb 17, 2009 12:23 am

The first line in this piece of code is :
moments=compute_model_moments(dr,M_,options,_)

Should it not be moments=compute_model_moments(dr,M_,options_)?

If I use Matlab 2007a, Matlab will give me an error message. If I use Matlab 2008b, Matlab seems stuck somewhere. I am runing the Smets and Wouters' code for their AER paper.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Re: Erros in compute_model_moments.m?

Postby billsnow » Mon Mar 16, 2009 4:17 am

Hi bigbigben,

Do you know where I can download this Dynare code?

Thanks.

Bill
billsnow
 
Posts: 6
Joined: Wed Feb 18, 2009 12:39 am
Location: Ottawa, ON, Canada

Re: Erros in compute_model_moments.m?

Postby bigbigben » Mon Mar 16, 2009 7:17 am

Hi, Bill:
It is on AEA website. AER offers technical appendix and replication code for all published paper online.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Re: Erros in compute_model_moments.m?

Postby billsnow » Mon Mar 16, 2009 12:30 pm

Thanks, Bigbigben!

This helps a lot. I used Uhlig's codes to replicate that paper...

Bill
billsnow
 
Posts: 6
Joined: Wed Feb 18, 2009 12:39 am
Location: Ottawa, ON, Canada

Re: Erros in compute_model_moments.m?

Postby StephaneAdjemian » Mon Mar 16, 2009 8:47 pm

Hi,

bigbigben wrote:The first line in this piece of code is :
moments=compute_model_moments(dr,M_,options,_)

Should it not be moments=compute_model_moments(dr,M_,options_)?


Yes. Thanks for reporting this bug.

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.


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 1 guest