Skip to content
Snippets Groups Projects
Commit 75439d21 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

posterior_analysis.m: add comments

parent 3a294deb
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ switch info ...@@ -23,7 +23,7 @@ switch info
case 0 case 0
disp('check_posterior_analysis_data:: Can''t find any mcmc file!') disp('check_posterior_analysis_data:: Can''t find any mcmc file!')
error('Check the options of the estimation command...') error('Check the options of the estimation command...')
case {1,2} case {1,2} %need to get draws and store posterior
MaxMegaBytes = options_.MaximumNumberOfMegaBytes; MaxMegaBytes = options_.MaximumNumberOfMegaBytes;
drsize = size_of_the_reduced_form_model(oo_.dr); drsize = size_of_the_reduced_form_model(oo_.dr);
if drsize*SampleSize>MaxMegaBytes if drsize*SampleSize>MaxMegaBytes
...@@ -31,9 +31,9 @@ switch info ...@@ -31,9 +31,9 @@ switch info
end end
selec_posterior_draws(M_,options_,oo_.dr, oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state,estim_params_,SampleSize,drsize); %save draws to disk selec_posterior_draws(M_,options_,oo_.dr, oo_.steady_state, oo_.exo_steady_state, oo_.exo_det_steady_state,estim_params_,SampleSize,drsize); %save draws to disk
oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_); oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_);
case {4,5} case {4,5} %process draws and save files
oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_); oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_);
case 6 case 6 %just read out
[ivar,vartan] = get_variables_list(options_,M_); [ivar,vartan] = get_variables_list(options_,M_);
nvar = length(ivar); nvar = length(ivar);
oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_,nvar,vartan); oo_ = job(type,SampleSize,arg1,arg2,arg3,options_,M_,oo_,nvar,vartan);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment