moments_varendo in estimation

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.

moments_varendo in estimation

Postby JeanPaul » Fri Dec 17, 2010 8:29 am

Hi,
is there someone who can help me how to fix this bug?
I've been estimating my model and it works. But when I add the command «moments_varendo» to get endogenous variables moments, it gives only the posterior distribution of parameters and shock; Then blocks with the message :

Warning: Divide by zero. This warning will be removed in a future release.
Consider using DBSTOP IF NANINF when debugging.
> In dsge_simulated_theoretical_conditional_variance_decomposition at 71
In posterior_analysis>job at 75
In posterior_analysis at 34
In compute_moments_varendo at 110
In dynare_estimation_1 at 1081
In dynare_estimation at 62
In model1 at 120
In dynare at 132
??? Reference to non-existent field 'sigma_e_is_diagonal'.

Error in ==> dsge_simulated_theoretical_conditional_variance_decomposition at 120
StateSpaceModel.sigma_e_is_diagonal = M_.sigma_e_is_diagonal;

Error in ==> posterior_analysis>job at 75
[nvar,vartan,NumberOfFiles] = ...

Error in ==> posterior_analysis at 34
oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_);

Error in ==> compute_moments_varendo at 110
oo_ = posterior_analysis('conditional
decomposition',var_list_(i,:),M_.exo_names(j,:),Steps,options_,M_,oo_);

Error in ==> dynare_estimation_1 at 1081
oo_ = compute_moments_varendo('posterior',options_,M_,oo_,var_list_);

Error in ==> dynare_estimation at 62
dynare_estimation_1(var_list,varargin{:});

Error in ==> model1 at 120
dynare_estimation(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;

Here is the model and data files.
Attachments
data84S1.xls
(14.5 KiB) Downloaded 58 times
model1.mod
(1013 Bytes) Downloaded 68 times
JeanPaul
 
Posts: 5
Joined: Tue Jul 14, 2009 8:32 am
Location: montréal, Canada

Re: moments_varendo in estimation

Postby MichelJuillard » Thu Jan 06, 2011 1:31 pm

Hi Jean-Paul,

I think it is a bug that has been fixed in the unstable version. Please try with the unstable version and tells me how it goes.

Best

Michel
MichelJuillard
 
Posts: 680
Joined: Thu Nov 18, 2004 10:51 am


Return to Dynare help

Who is online

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