we are working with a simple RBC model, taking it to data, i.e. replicating the work in the fs2000ns.mod example. We get the following error:
- Code: Select all
- ??? Error using ==> mtimes
 Inner matrix dimensions must agree.
 Error in ==> DsgeSmoother at 297
 decomp(jnk,:,:,i) = QT*squeeze(decomp(jnk,:,:,i));
 Error in ==> prior_posterior_statistics at 154
 [alphahat,etahat,epsilonhat,alphatilde,SteadyState,trend_coeff,aK] = ...
 Error in ==> dynare_estimation at 949
 prior_posterior_statistics('posterior',data,gend);
 Error in ==> hansen_stoch_exog_estim at 138
 dynare_estimation(var_list_);
 Error in ==> dynare at 102
 evalin('base',fname) ;
We investigate further the problem; we substitute the command
- Code: Select all
- decomp(jnk,:,:,i) = QT*squeeze(decomp(jnk,:,:,i))
- Code: Select all
- decomp(jnk,:,:,i) = QT*squeeze(decomp(jnk,:,:,i))'
Otherwise, to run fs2000ns.mod we have to work with the unmodified file.
As we don't know the effects of correction, we would like to know if there's something wrong in our model. For this purpose we attach the files.
Bests
Michele

