RBC_Est.mod Errors

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 Errors

Postby dale » Fri Mar 27, 2015 2:03 am

Hi, think this topic had been dealt many times but face a new error message like below
(already set the mean and variance of psi with gamma.pdf as 1.75, 0.1 respectively)
Do we miss something in last estimation command of RBC_Est.mod?

========================

You did not declare endogenous variables after the estimation/calib_smoother command.

***MESSAGE FROM ROUTINE D9LGIT IN LIBRARY SLATEC.
***FATAL ERROR, PROG ABORTED, TRACEBACK REQUESTED
* NO CONVERGENCE IN 200 TERMS OF CONTINUED FRACTION
* ERROR NUMBER = 3
*
***END OF MESSAGE

***JOB ABORT DUE TO FATAL ERROR.
0 ERROR MESSAGE SUMMARY
LIBRARY SUBROUTINE MESSAGE START NERR LEVEL COUNT
SLATEC D9LGIT NO CONVERGENCE IN 20 3 2 8

error: Due to a bug in Octave, you must choose other values for mean and/or variance of your prior on psi, or use another shape
error: called from:
error: h:\dynare\4.4.3\matlab\draw_prior_density.m at line 58, column 13
error: h:\dynare\4.4.3\matlab\plot_priors.m at line 55, column 38
error: h:\dynare\4.4.3\matlab\dynare_estimation_init.m at line 257, column 13
error: h:\dynare\4.4.3\matlab\dynare_estimation_1.m at line 81, column 63
error: h:\dynare\4.4.3\matlab\dynare_estimation.m at line 89, column 5
error: H:\dynare\work\RBC_Est.m at line 159, column 1
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby dale » Fri Mar 27, 2015 2:32 am

Using Dynare 4.4.3 and Octave 3.8.2 versions now.
It seems that errors has something to do in part with GNU GUI..

If I add graphics_toolkit("gnuplot"); then more graphs come out but a long warning message show up like below


--------------------------------------------------

warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
warning: division by zero
Loading 1001 observations from simuldataRBC.m

Restricting the sample to observations 500 to 699. Using in total 200 observations.
Initial value of the log posterior (or likelihood): 668.828
warning: implicit conversion from matrix to real vector
Acceptance ratio [during last 500]: 0.251750 [0.304000] 2% done
warning: implicit conversion from matrix to real vector
Acceptance ratio: 0.362400 100% done

==========================================================
Change in the covariance matrix = 10.
Mode improvement = 6.6106
New value of jscale = 0.0004874
======================================================
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby dale » Mon Mar 30, 2015 8:39 am

Hi, here's another example of incomplete run...
don't know what went wrong...
thanks
Attachments
rbc_est.txt
RBC_Est saslog file
(50.28 KiB) Downloaded 64 times
Last edited by dale on Mon Mar 30, 2015 10:54 am, edited 1 time in total.
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby jpfeifer » Mon Mar 30, 2015 8:53 am

Please provide all files to replicate the issue in a zip or rar-file
------------
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: RBC_Est.mod Errors

Postby dale » Mon Mar 30, 2015 10:53 am

Dear Pfeifer,

Attached pls find the files. The RBC_Est.mod is the same as one presented in DYNARE User Guide(2007-208) pp54.
Attachments
RBC_Est.zip
(245.94 KiB) Downloaded 88 times
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby jpfeifer » Thu Apr 02, 2015 9:40 am

I was unable to replicate any problems with Matlab. I will have to try it with Octave. Which Dynare version are you using?
------------
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: RBC_Est.mod Errors

Postby dale » Thu Apr 02, 2015 1:51 pm

I am using Dynare 4.4.3 and Octave 3.8.2.....
Thanks.
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby jpfeifer » Thu Apr 02, 2015 7:16 pm

It seems there is no reason to worry. Octave seems to have a hard time computing the moments of the prior distribution specified, but finally succeeds. After that, everything runs as expected-
------------
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: RBC_Est.mod Errors

Postby dale » Fri Apr 03, 2015 5:58 am

Thanks a lot!
However still not sure if I got all the ouputs and the graphs right and correctly from the estimation. For example, the 4th graph of comparing historical and smoothed values look totally overlapped and same. I think it should be different but something might have gone wrong. I would appreciate if you can send me all outputs and graphs estimated with Matlab or Octave.
Attachments
graph.zip
(45.64 KiB) Downloaded 161 times
dale
 
Posts: 6
Joined: Thu Jan 15, 2015 1:19 am

Re: RBC_Est.mod Errors

Postby jpfeifer » Fri Apr 03, 2015 7:28 am

For observed variables, the smoothed and historical values must be the same (unless there is measurement error). The results look OK.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests