RBC_Est.mod error on Octave

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.

RBC_Est.mod error on Octave

Postby dynarestudent » Fri Jan 21, 2011 9:06 am

Hello, everyone.
I'm a beginner of the DYNARE.
I am running the DYNARE 4.1.0 or 4.1.3 with the Octave 3.2.3 or 3.2.4.

When I try to run the RBC_Est.mod of User Guide
always the following error occurs.

warning: called from
delete at line 37 column 9
CheckPath at line 42 column 1
set_prior at line 227 column 1
dynare_estimation_1 at line 83 column 50
dynare_estimation at line 62 column 5
RBC_Est at line 134 column 1
dynare at line 132 column 1
error: exception encountered in Fortran subroutine xgammainc_
error: called from:
error: C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\statistics\distributions\gamcdf.m at line 54, column 15
error: C:\Octave\3.2.3_gcc-4.4.0\share\octave\3.2.3\m\statistics\distributions\gaminv.m at line 80, column 13
error: c:\dynare\4.1.3\matlab\draw_prior_density.m at line 53, column 14
error: c:\dynare\4.1.3\matlab\plot_priors.m at line 52, column 40
error: c:\dynare\4.1.3\matlab\dynare_estimation_1.m at line 87, column 13
error: c:\dynare\4.1.3\matlab\dynare_estimation.m at line 62, column 5
error: c:\user\RBC_Est.m at line 134, column 1
error: c:\dynare\4.1.3\matlab\dynare.m at line 132, column 1

How should I deal wtih this error?

In addition, the fs2000.mod runs successfully.
Thanks!
dynarestudent
 
Posts: 3
Joined: Fri Jan 21, 2011 8:53 am

Re: RBC_Est.mod error on Octave

Postby SébastienVillemot » Mon Jan 24, 2011 8:37 pm

Hi,

Your error is related to a bug in Octave.

Concretely, you must increase the variance of gamma priors (psi and epsilon parameters).

Once this is fixed, you may encounter another bug. I will give you the fix upon request.

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: RBC_Est.mod error on Octave

Postby dynarestudent » Tue Jan 25, 2011 3:03 am

Dear Sébastien :D
Thank you for a reply.

As you say, I increase the variance of psi and epsilon,
The xgammainc_ error of octave does not occur.
However, another error occurs.

error: number of columns must match (1 != 2)
error: called from:
error: c:\dynare\4.1.3\matlab\dynare_estimation_1.m at line 190, column 29
error: c:\dynare\4.1.3\matlab\dynare_estimation.m at line 62, column 5
error: c:\user\RBC_Est.m at line 133, column 1
error: c:\dynare\4.1.3\matlab\dynare.m at line 132, column 1

Plese fix this problem. Thank you in advance.
dynarestudent
 
Posts: 3
Joined: Fri Jan 21, 2011 8:53 am

Re: RBC_Est.mod error on Octave

Postby dynarestudent » Fri Jan 28, 2011 3:20 am

Dear Sébastien

I executed the dynare unstable version after increased the variance of psi and epsilon.
Then,the RBC_Est.mod ran successfully.
Great.

Thank you very much. :D
dynarestudent
 
Posts: 3
Joined: Fri Jan 21, 2011 8:53 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 8 guests