Skip to content
Snippets Groups Projects
Commit acef5d7d authored by Marco Ratto's avatar Marco Ratto
Browse files

1) Define a new type of parameter Random_prior_params, when prior/posterior...

1) Define a new type of parameter Random_prior_params, when prior/posterior mean mode do not work and the code searches randomly in the prior space a parameter combination that provides unique saddle path solution;
2) save point estimates in separate file, in order not lose work when subsequent analyses are done for prior/posterior mean/mode etc.
(cherry picked from commit 67d7ba75)
parent 7922c17d
No related branches found
No related tags found
No related merge requests found
......@@ -334,6 +334,8 @@ if iload <=0,
disp('----------- ')
skipline()
return
else
parameters = 'Random_prior_params';
end
else
idehess_point.params=params;
......@@ -344,6 +346,7 @@ if iload <=0,
% normJ = max(abs(siJ)')';
% normLRE = max(abs(siLRE)')';
save([IdentifDirectoryName '/' M_.fname '_identif.mat'], 'idehess_point', 'idemoments_point','idemodel_point', 'idelre_point','store_options_ident')
save([IdentifDirectoryName '/' M_.fname '_' parameters '_identif.mat'], 'idehess_point', 'idemoments_point','idemodel_point', 'idelre_point','store_options_ident')
disp_identification(params, idemodel_point, idemoments_point, name, advanced);
if ~options_.nograph,
plot_identification(params,idemoments_point,idehess_point,idemodel_point,idelre_point,advanced,parameters,name,IdentifDirectoryName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment