Error after 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.

Error after estimation

Postby costa » Sat Feb 01, 2014 12:13 pm

Hi all,

I keep getting this message after estimation. I already searched the forum about this kind of error, but until now I didn´t find the source of the problem. Could somebody help me ?
THanks,


In an assignment A(I) = B, the number of elements in B and I must be the same.
Error in covariance_mc_analysis (line 76)
tmp(i1:i2) = Covariance_matrix(:,symmetric_matrix_index(indx1,indx2,nvar));
Error in posterior_analysis>job (line 57)
oo_ = covariance_mc_analysis(SampleSize,'posterior',M_.dname,M_.fname,...
Error in posterior_analysis (line 38)
oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_,nvar,vartan);
Error in compute_moments_varendo (line 68)
oo_ =
posterior_analysis('variance',var_list_(i,:),var_list_(j,:),[],options_,M_,oo_);
Error in dynare_estimation_1 (line 835)
oo_ = compute_moments_varendo('posterior',options_,M_,oo_,var_list_);
Error in dynare_estimation (line 84)
dynare_estimation_1(var_list,dname);
Error in oil_estimado (line 1102)
dynare_estimation(var_list_);
Error in dynare (line 174)
evalin('base',fname) ;
costa
 
Posts: 47
Joined: Thu Nov 14, 2013 8:09 pm

Re: Error after estimation

Postby jpfeifer » Sat Feb 01, 2014 2:25 pm

Could you please provide an example.
------------
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: Error after estimation

Postby costa » Sat Feb 01, 2014 8:16 pm

Hi,

These are the files I´m using when I get the error above. In addition to that, when I try the endogenous_prior command in estimation I get an error as well. I mentioned about this error in another post.

Thanks in advance.
Attachments
oil_data2.m
(3.42 KiB) Downloaded 66 times
oil.xls
(31 KiB) Downloaded 56 times
oil_estimado.mod
(31.89 KiB) Downloaded 58 times
costa
 
Posts: 47
Joined: Thu Nov 14, 2013 8:09 pm

Re: Error after estimation

Postby jpfeifer » Sun Feb 02, 2014 11:34 am

Your problem stems from having ca_y_hat twice in the list of variables after commands like estimation. In the future, such cases should be filtered out.

Regarding the endogenous_prior, I will try to have a look at it.
------------
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 6 guests