### problem with shock decomposition

Posted:

**Sun Jun 07, 2015 5:50 pm**Hi ,

Shock decomposition doesn't run

this message appears each time I run it:

Subscripted assignment dimension mismatch.

Error in read_variables (line 101)

dyn_data_01(:,dyn_i_01) = dyn_tmp_01;

Error in initialize_dataset (line 32)

rawdata = read_variables(datafile,varobs,[],xls.sheet,xls.range);

Error in dynare_estimation_init (line 475)

dataset_ =

initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

Error in evaluate_smoother (line 54)

[dataset_,xparam1, hh, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list, M_.fname, [], M_, options_,

oo_, estim_params_, bayestopt_);

Error in shock_decomposition (line 64)

oo = evaluate_smoother(parameter_set,varlist);

Error in SA (line 426)

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

Error in dynare (line 180)

evalin('base',fname) ;

What's wrong with that?

Thank you

Best regards

Shock decomposition doesn't run

this message appears each time I run it:

Subscripted assignment dimension mismatch.

Error in read_variables (line 101)

dyn_data_01(:,dyn_i_01) = dyn_tmp_01;

Error in initialize_dataset (line 32)

rawdata = read_variables(datafile,varobs,[],xls.sheet,xls.range);

Error in dynare_estimation_init (line 475)

dataset_ =

initialize_dataset(options_.datafile,options_.varobs,options_.first_obs,options_.nobs,transformation,options_.prefilter,xls);

Error in evaluate_smoother (line 54)

[dataset_,xparam1, hh, M_, options_, oo_, estim_params_,bayestopt_] = dynare_estimation_init(var_list, M_.fname, [], M_, options_,

oo_, estim_params_, bayestopt_);

Error in shock_decomposition (line 64)

oo = evaluate_smoother(parameter_set,varlist);

Error in SA (line 426)

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

Error in dynare (line 180)

evalin('base',fname) ;

What's wrong with that?

Thank you

Best regards