error in mod file of risk shocks (2014, AER)
Posted: Fri Aug 26, 2016 3:35 pm
Dear all,
While I'm trying to run the main file of “Risk Shocks” by Christiano, Motto and Rostagno (2014,AER). Dynare returns error message.
For the mod file, it's available at the AER website: https://www.aeaweb.org/aer/data/jan2014 ... 2_data.zip
The main file is within the subfolder: cmrfiles\figure1.
My dynare version is 4.4.3. The error message is:
The posterior mode file cmr_mode has been generated using another specification of the model or another model!
--> Estimated parameter iota_p is not present in the loaded mode file.
--> Estimated parameter iotaw_p is not present in the loaded mode file.
--> Estimated parameter signal_corr_p is not present in the loaded mode file.
--> Estimated parameter stdsigma2_p is not present in the loaded mode file.
--> Estimated parameter stdsigma1_p is not present in the loaded mode file.
Error using dynare_estimation_init (line 234)
Please change the mode_file option, the list of estimated parameters or
set mode_compute>0.
When I search for this issue. I find that Professor Johannes Pfeifer mentioned this issue at https://github.com/DynareTeam/dynare/issues/519
I add the codes before "estimation" in the main mod file. After the modification, steady state is solved and rank conditions are satisfied. Yet, the error message change as the following:
Loading 118 observations from data_BAAoverTB.mat
Reference to non-existent field 'nvn_observable_correspondence'.
Error in set_all_parameters (line 78)
k = estim_params.nvn_observable_correspondence(i,1);
Error in check_for_calibrated_covariances (line 38)
M = set_all_parameters(xparam1,estim_params,M);
Error in dynare_estimation_1 (line 89)
estim_params_=check_for_calibrated_covariances(xparam1,estim_params_,M_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in cmr (line 3085)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
I try to run the mod file using unstable dynare version, and the error message is still there.
I want to know, is there any stable dynare version that could successfully run this code? Or how to solve the error displayed above.
While I'm trying to run the main file of “Risk Shocks” by Christiano, Motto and Rostagno (2014,AER). Dynare returns error message.
For the mod file, it's available at the AER website: https://www.aeaweb.org/aer/data/jan2014 ... 2_data.zip
The main file is within the subfolder: cmrfiles\figure1.
My dynare version is 4.4.3. The error message is:
The posterior mode file cmr_mode has been generated using another specification of the model or another model!
--> Estimated parameter iota_p is not present in the loaded mode file.
--> Estimated parameter iotaw_p is not present in the loaded mode file.
--> Estimated parameter signal_corr_p is not present in the loaded mode file.
--> Estimated parameter stdsigma2_p is not present in the loaded mode file.
--> Estimated parameter stdsigma1_p is not present in the loaded mode file.
Error using dynare_estimation_init (line 234)
Please change the mode_file option, the list of estimated parameters or
set mode_compute>0.
When I search for this issue. I find that Professor Johannes Pfeifer mentioned this issue at https://github.com/DynareTeam/dynare/issues/519
I add the codes before "estimation" in the main mod file. After the modification, steady state is solved and rank conditions are satisfied. Yet, the error message change as the following:
Loading 118 observations from data_BAAoverTB.mat
Reference to non-existent field 'nvn_observable_correspondence'.
Error in set_all_parameters (line 78)
k = estim_params.nvn_observable_correspondence(i,1);
Error in check_for_calibrated_covariances (line 38)
M = set_all_parameters(xparam1,estim_params,M);
Error in dynare_estimation_1 (line 89)
estim_params_=check_for_calibrated_covariances(xparam1,estim_params_,M_);
Error in dynare_estimation (line 89)
dynare_estimation_1(var_list,dname);
Error in cmr (line 3085)
dynare_estimation(var_list_);
Error in dynare (line 180)
evalin('base',fname) ;
I try to run the mod file using unstable dynare version, and the error message is still there.
I want to know, is there any stable dynare version that could successfully run this code? Or how to solve the error displayed above.