Dear everyone
Thank you very much for your attention. I am doing a Bayesian estimated model. When I tried to run the command "shock_decomposition", I got these error messages
"Error using load
Unable to read file 'h4_1/metropolis/jules1_mh_history': no such file or directory.
Error in prior_posterior_statistics (line 73)
load([ DirectoryName '/' M_.fname '_mh_history'])
Error in dynare_estimation_1 (line 821)
prior_posterior_statistics('posterior',dataset_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in jules1 (line 623)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ; "
But when I did Bayesian estimation, I got these messages
Estimation::mcmc: Write details about the MCMC... Ok!
Estimation::mcmc: Details about the MCMC are available in jules1/metropolis\jules1_mh_history_0.mat.
So I thought the file exists. But why Dynare told me that the file does not exist?
I am very confused with this problem. Any help will be highly appreciated!
The mod file and data are attached.