Commit 67d7ba75 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.
parent 2d6e5137
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment