??? Subscripted assignment dimension mismatch.

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.

??? Subscripted assignment dimension mismatch.

Postby zlg122 » Tue Jan 10, 2012 9:40 am

Hi all
The mod with the wrong"??? Subscripted assignment dimension mismatch."
who can help me!
thanks a lot!

MATRIX OF CORRELATIONS

Code: Select all
Variables   
??? Subscripted assignment dimension mismatch.

Error in ==> disp_th_moments at 103
        z(:,i) = diag(oo_.gamma_y{i+1}(i1,i1));

Error in ==> stoch_simul at 73
    disp_th_moments(oo_.dr,var_list);

Error in ==> dibbanksector25 at 376
info = stoch_simul(var_list_);

Error in ==> dynare at 132
evalin('base',fname) ;
Attachments
dibbanksector25.mod
(5.06 KiB) Downloaded 68 times
zlg122
 
Posts: 6
Joined: Thu Dec 29, 2011 7:27 am

Re: ??? Subscripted assignment dimension mismatch.

Postby SébastienVillemot » Tue Jan 17, 2012 9:42 am

I was able to run this code without a crash using Dynare 4.2.4.

However it looks like you forgot to declare standard deviations for your shocks. So currently the model has no source of shocks.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests