Error messages when using dsge_prior_weight

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.

Error messages when using dsge_prior_weight

Postby Robyn » Fri Feb 08, 2008 12:37 am

Hi,

I have a program to estimate a small open economy model. Everything works fine, but then I also want to estimate it using the BVAR-DSGE procedure. All I do is add two lines to my program:

parameters dsge_prior_weight ;
dsge_prior_weight = 3 ;

This gives me error messages which I've copied below. I just wondered whether there might be a problem with the DsgeVarLikelihood file? Or is it more likely to be a problem with my model.

Any help would be greatly appreciated.
Thanks,
Robyn


Error in ==> DsgeVarLikelihood at 24
global bayestopt_ estim_params_ M_ options_

??? Output argument "info" (and maybe others) not assigned during call to
"C:\dynare_v4\matlab\DsgeVarLikelihood.m (DsgeVarLikelihood)".

Error in ==> initial_estimation_checks at 43
[fval,cost_flag,info] = DsgeVarLikelihood(xparam1,gend);

Error in ==> dynare_estimation at 248
initial_estimation_checks(xparam1,gend,data);

Error in ==> SimAnn at 429
dynare_estimation(var_list_);

Error in ==> dynare at 79
evalin('base',fname) ;
>>
Robyn
 
Posts: 3
Joined: Sun Nov 11, 2007 11:27 pm

Re: Error messages when using dsge_prior_weight

Postby StephaneAdjemian » Fri Feb 08, 2008 8:12 am

Hi Robin,

Could you post your mod file and dataset ?

Best, Stéphane.

Robyn wrote:Hi,

I have a program to estimate a small open economy model. Everything works fine, but then I also want to estimate it using the BVAR-DSGE procedure. All I do is add two lines to my program:

parameters dsge_prior_weight ;
dsge_prior_weight = 3 ;

This gives me error messages which I've copied below. I just wondered whether there might be a problem with the DsgeVarLikelihood file? Or is it more likely to be a problem with my model.

Any help would be greatly appreciated.
Thanks,
Robyn


Error in ==> DsgeVarLikelihood at 24
global bayestopt_ estim_params_ M_ options_

??? Output argument "info" (and maybe others) not assigned during call to
"C:\dynare_v4\matlab\DsgeVarLikelihood.m (DsgeVarLikelihood)".

Error in ==> initial_estimation_checks at 43
[fval,cost_flag,info] = DsgeVarLikelihood(xparam1,gend);

Error in ==> dynare_estimation at 248
initial_estimation_checks(xparam1,gend,data);

Error in ==> SimAnn at 429
dynare_estimation(var_list_);

Error in ==> dynare at 79
evalin('base',fname) ;
>>
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.

Postby Robyn » Mon Feb 11, 2008 11:03 pm

Hi Stephane,

Here is the mod file and data. Thanks so much for your help.

Cheers,
Robyn
You do not have the required permissions to view the files attached to this post.
Robyn
 
Posts: 3
Joined: Sun Nov 11, 2007 11:27 pm


Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests