problems with dsgesmoother (from dynare 4)

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.

problems with dsgesmoother (from dynare 4)

Postby reluginbuhl » Mon Mar 30, 2009 8:54 pm

Hi,

I've not had any response yet to my post in the now closed dynare 4 section. Here is what I wrote: (see dynare4 forum for attached files)

I seem to be having a similar problem with the Kalman filter/smoothing algorithm (I think). Here is the error message the most recent version of Dynare 4 gives me:

??? Error using ==> mtimes
Inner matrix dimensions must agree.

Error in ==> DsgeSmoother at 322
decomp(jnk,:,:,i) = QT*squeeze(decomp(jnk,:,:,i));

Error in ==> dynare_estimation_1 at 995
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,d,decomp] = DsgeSmoother(xparam1,gend,data,data_index,missing_value);

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

Error in ==> RBC_schat at 175
dynare_estimation(var_list_);

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

This error occurs after the MH algorithm has run and the posterior graphs have been displayed by Dynare, but before the smoothed data are plotted. THIS IS AN VERY SIMPLE DSGE MODEL BASED ON THE RBC model from the user manual!! I have only changed the path for the technological progress to be non-stationary.
reluginbuhl
 
Posts: 53
Joined: Wed Mar 04, 2009 2:41 pm

Re: problems with dsgesmoother (from dynare 4)

Postby StephaneAdjemian » Wed Apr 01, 2009 10:14 am

Hi, This is a bug of Dynare (thanks for reporting it). In this mod file there is only one structural shock and in this case Dynare crashes when he computes the effects of the structural shocks on the filtered variables (level decomposition). The bug is fixed in the trunk directory of our subversion repository. The next version of dynare, 4.0.4 should be released next week, will contain the fix.

Best, Stéphane.
Stéphane Adjemian
Université du Maine, GAINS and DynareTeam
https://stepan.adjemian.eu
StephaneAdjemian
 
Posts: 429
Joined: Wed Jan 05, 2005 4:24 pm
Location: Paris, France.


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests