Various cosmetic fixes
parent
f07408a426
commit
6872d8b0d1
|
@ -186,7 +186,7 @@ if isequal(options_.mode_compute,0) && isempty(options_.mode_file) && ~options_.
|
|||
if options_.occbin.smoother.status
|
||||
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,decomp,Trend,state_uncertainty,M_,oo_,bayestopt_] = occbin.DSGE_smoother(xparam1,gend,transpose(data),data_index,missing_value,M_,oo_,options_,bayestopt_,estim_params_,dataset_,dataset_info);
|
||||
else
|
||||
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,decomp,Trend,state_uncertainty,M_,oo_,bayestopt_] = DsgeSmoother(xparam1,gend,transpose(data),data_index,missing_value,M_,oo_,options_,bayestopt_,estim_params_);
|
||||
[atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,T,R,P,PK,decomp,Trend,state_uncertainty,M_,oo_,bayestopt_] = DsgeSmoother(xparam1,gend,transpose(data),data_index,missing_value,M_,oo_,options_,bayestopt_,estim_params_);
|
||||
end
|
||||
[oo_]=store_smoother_results(M_,oo_,options_,bayestopt_,dataset_,dataset_info,atT,innov,measurement_error,updated_variables,ys,trend_coeff,aK,P,PK,decomp,Trend,state_uncertainty);
|
||||
end
|
||||
|
|
|
@ -104,7 +104,7 @@ dynareParallelMkDir(RemoteTmpFolder,DataInput);
|
|||
ErrorCode=0;
|
||||
|
||||
|
||||
for Node=1:length(DataInput) % To obtain a recoursive function remove the 'for'
|
||||
for Node=1:length(DataInput) % To obtain a recursive function remove the 'for'
|
||||
% and use AnalyseComputationalEnvironment with differents input!
|
||||
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
|
|||
fprintf(fidTeX,['%% ' datestr(now,0) '\n']);
|
||||
end
|
||||
|
||||
if options_.rplottype == 0
|
||||
if options_.rplottype == 0 %all in one plot
|
||||
hh=dyn_figure(options_.nodisplay,'Name', 'Simulated Trajectory');
|
||||
plot(ix(i),y(:,i)) ;
|
||||
if options_.TeX
|
||||
|
@ -98,7 +98,7 @@ if options_.rplottype == 0
|
|||
if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
|
||||
create_TeX_loader(fidTeX,[M_.dname, '/graphs/', 'SimulatedTrajectory_' s1{1}],'Simulated trajectories','SimulatedTrajectory_',s1{1},1)
|
||||
end
|
||||
elseif options_.rplottype == 1
|
||||
elseif options_.rplottype == 1 %separate figures each
|
||||
for j = 1:size(y,1)
|
||||
hh=dyn_figure(options_.nodisplay,'Name', 'Simulated Trajectory');
|
||||
plot(ix(i),y(j,i)) ;
|
||||
|
@ -114,7 +114,7 @@ elseif options_.rplottype == 1
|
|||
create_TeX_loader(fidTeX,[M_.dname, '/graphs/', 'SimulatedTrajectory_' s1{j}],'Simulated trajectories','SimulatedTrajectory_',s1{j},1);
|
||||
end
|
||||
end
|
||||
elseif options_.rplottype == 2
|
||||
elseif options_.rplottype == 2 %different subplots
|
||||
hh=dyn_figure(options_.nodisplay,'Name', 'Simulated Trajectory');
|
||||
nl = max(1,fix(size(y,1)/4)) ;
|
||||
nc = ceil(size(y,1)/nl) ;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function [xparam1, estim_params_, bayestopt_, lb, ub, M_]=set_prior(estim_params_, M_, options_)
|
||||
% function [xparam1,estim_params_,bayestopt_,lb,ub]=set_prior(estim_params_)
|
||||
% function [xparam1,estim_params_,bayestopt_,lb,ub, M_]=set_prior(estim_params_, M_, options_)
|
||||
% sets prior distributions
|
||||
%
|
||||
% INPUTS
|
||||
|
|
Loading…
Reference in New Issue