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.time-shift
parent
2d6e513738
commit
67d7ba75f0
|
@ -334,6 +334,8 @@ if iload <=0,
|
||||||
disp('----------- ')
|
disp('----------- ')
|
||||||
skipline()
|
skipline()
|
||||||
return
|
return
|
||||||
|
else
|
||||||
|
parameters = 'Random_prior_params';
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
idehess_point.params=params;
|
idehess_point.params=params;
|
||||||
|
@ -344,6 +346,7 @@ if iload <=0,
|
||||||
% normJ = max(abs(siJ)')';
|
% normJ = max(abs(siJ)')';
|
||||||
% normLRE = max(abs(siLRE)')';
|
% 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 '_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);
|
disp_identification(params, idemodel_point, idemoments_point, name, advanced);
|
||||||
if ~options_.nograph,
|
if ~options_.nograph,
|
||||||
plot_identification(params,idemoments_point,idehess_point,idemodel_point,idelre_point,advanced,parameters,name,IdentifDirectoryName);
|
plot_identification(params,idemoments_point,idehess_point,idemodel_point,idelre_point,advanced,parameters,name,IdentifDirectoryName);
|
||||||
|
|
Loading…
Reference in New Issue