Page 1 of 1

Error shock_decomposition unstable version

PostPosted: Wed Dec 14, 2016 3:31 pm
by JoseDNino
Hi everyone,

I'm currently using the unstable version of 12-12-2016 and trying to use the shock_decomposition command, but it gives me the following error:

Subscripted assignment dimension mismatch.

Error in shock_decomposition (line 90)
z(:,end,:) = Smoothed_Variables_deviation_from_mean;

Error in gali2_fd (line 292)
oo_ = shock_decomposition(M_,oo_,options_,var_list_);

Error in dynare (line 223)
evalin('base',fname) ;

Right now I can't upload the data file beacuse of my work online restrictions, but could you please check if the command is working properly in your computer or tell me why is it probably failing in mine?

Thanks!

Re: Error shock_decomposition unstable version

PostPosted: Wed Dec 14, 2016 9:14 pm
by jpfeifer
That seems to be a bug caused by the use of the
Code: Select all
selected_variables_only
-option. Remove it and it will work.

Re: Error shock_decomposition unstable version

PostPosted: Wed Dec 14, 2016 10:10 pm
by JoseDNino
Thanks for your help Dr. Pfeifer. It worked.
By the way, thanks for all the great effort in Dynare and solving our doubts.