Hi everyone,

I am wondering if it is possible to compute shock decomposition (i have dynare version 4.3) after the estimation is done. I tried to put the “shock_decomposition;” command in the Matlab command window but it doesn’t work. Even if after loading “myfile_results.mat” from the estimation.

Moreover, I have the following command:

[code]estimation(datafile=data_cpi_ols,first_obs=1,mh_replic=20000,mh_nblocks=5,mh_drop=0.40,mh_jscale=0.85,mode_compute=6,smoother) LOPG_ZE LOPG_UK LOPG_CH LOPG_US LOPG_JP LOPG_SW;

shock_decomposition(parameter_set=posterior_mode) LOPG_ZE LOPG_UK LOPG_CH LOPG_US LOPG_JP LOPG_SW;[/code]

but this generates the following error message:

[code]

MH: Smoothed variables

MH: Smoothed variables, done!

MH: Smoothed shocks

MH: Smoothed shocks, done!

Loading 53 observations from data_cpi_ols.mat

??? Error using ==> describe_missing_data

Too many input arguments.

Error in ==> evaluate_smoother at 117

[data_index,number_of_observations,no_more_missing_observations] =

describe_missing_data(data,gend,n_varobs);

Error in ==> shock_decomposition at 60

oo = evaluate_smoother(parameter_set);

Error in ==> erpt at 1573

oo_ = shock_decomposition(M_,oo_,options_,var_list_);

Error in ==> dynare at 120

evalin(‘base’,fname) ;[/code]

Thanks in advance for any help!! I really need it for my phd thesis for which the deadline is on 29 october. Please, help!!!