-
- Downloads
Fix several bugs related to estimated measurement errors
1. The first call to set_prior overwrote the first column of estim_params_.var_endo storing the position of the variable with measurement error in M_.endo_names with the position in options_.var_obs. All subsequent calls to set_prior then lead to crashes. 2. At the same time, for correlations of ME, the first column of estim_params_.corrn still stored the position of the variable with measurement error in M_.endo_names. But subsequent calls to it were done as if it stored the position in options_.var_obs I introduced two new variables in estim_params_ storing the respective positions in var_obs so as to not necessitate changes in the preprocessors. 3. For cases of calibrated measurement error correlations, the covariance matrix was not updated. 4. Fixing a lot of smaller bugs related to measurement errors, including some copy and paste errors -
Showing
- matlab/GetPosteriorParametersStatistics.m 5 additions, 5 deletionsmatlab/GetPosteriorParametersStatistics.m
- matlab/PlotPosteriorDistributions.m 2 additions, 2 deletionsmatlab/PlotPosteriorDistributions.m
- matlab/dynare_estimation_1.m 25 additions, 6 deletionsmatlab/dynare_estimation_1.m
- matlab/get_posterior_parameters.m 4 additions, 4 deletionsmatlab/get_posterior_parameters.m
- matlab/get_the_name.m 4 additions, 4 deletionsmatlab/get_the_name.m
- matlab/global_initialization.m 1 addition, 0 deletionsmatlab/global_initialization.m
- matlab/prior_posterior_statistics.m 5 additions, 5 deletionsmatlab/prior_posterior_statistics.m
- matlab/row_header_width.m 2 additions, 2 deletionsmatlab/row_header_width.m
- matlab/set_all_parameters.m 10 additions, 6 deletionsmatlab/set_all_parameters.m
- matlab/set_prior.m 19 additions, 10 deletionsmatlab/set_prior.m
Loading
Please register or sign in to comment