Removed empty arguments ()
git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@613 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
482d132aff
commit
d000e3ae0b
|
@ -109,7 +109,7 @@ nvn = estim_params_.nvn;
|
||||||
ncx = estim_params_.ncx;
|
ncx = estim_params_.ncx;
|
||||||
ncn = estim_params_.ncn;
|
ncn = estim_params_.ncn;
|
||||||
np = estim_params_.np ;
|
np = estim_params_.np ;
|
||||||
nx = nvx+nvn+ncx+ncn+np;
|
nx = nvx+nvn+ncx+ncn+np;
|
||||||
|
|
||||||
%% Static solver
|
%% Static solver
|
||||||
if exist([M_.fname '_steadystate'])
|
if exist([M_.fname '_steadystate'])
|
||||||
|
@ -227,7 +227,6 @@ if options_.mode_compute > 0 & options_.posterior_mode_estimation
|
||||||
if isfield(options_,'optim_opt')
|
if isfield(options_,'optim_opt')
|
||||||
eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']);
|
eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']);
|
||||||
end
|
end
|
||||||
|
|
||||||
[xparam1,fval,exitflag,output,lamdba,grad,hessian_fmincon] = ...
|
[xparam1,fval,exitflag,output,lamdba,grad,hessian_fmincon] = ...
|
||||||
fmincon(fh,xparam1,[],[],[],[],lb,ub,[],optim_options,gend,data);
|
fmincon(fh,xparam1,[],[],[],[],lb,ub,[],optim_options,gend,data);
|
||||||
elseif options_.mode_compute == 2
|
elseif options_.mode_compute == 2
|
||||||
|
@ -241,7 +240,6 @@ if options_.mode_compute > 0 & options_.posterior_mode_estimation
|
||||||
if isfield(options_,'optim_opt')
|
if isfield(options_,'optim_opt')
|
||||||
eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']);
|
eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']);
|
||||||
end
|
end
|
||||||
|
|
||||||
[xparam1,fval,exitflag] = fminunc(fh,xparam1,optim_options,gend, ...
|
[xparam1,fval,exitflag] = fminunc(fh,xparam1,optim_options,gend, ...
|
||||||
data);
|
data);
|
||||||
elseif options_.mode_compute == 4
|
elseif options_.mode_compute == 4
|
||||||
|
@ -653,14 +651,14 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | (any(bayestopt_.pshape >
|
||||||
McMCDiagnostics;
|
McMCDiagnostics;
|
||||||
end
|
end
|
||||||
%% Here i discard first half of the draws:
|
%% Here i discard first half of the draws:
|
||||||
CutSample();
|
CutSample;
|
||||||
%% Estimation of the marginal density from the Mh draws:
|
%% Estimation of the marginal density from the Mh draws:
|
||||||
marginal = marginal_density;
|
marginal = marginal_density;
|
||||||
%%
|
%%
|
||||||
GetPosteriorParametersStatistics();
|
GetPosteriorParametersStatistics;
|
||||||
PlotPosteriorDistributions();
|
PlotPosteriorDistributions;
|
||||||
if options_.bayesian_irf
|
if options_.bayesian_irf
|
||||||
PosteriorIRF();
|
PosteriorIRF;
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue