From d000e3ae0bde3380e1b743977ac79f8a47447503 Mon Sep 17 00:00:00 2001 From: adjemian Date: Thu, 19 Jan 2006 15:38:00 +0000 Subject: [PATCH] Removed empty arguments () git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@613 ac1d8469-bf42-47a9-8791-bf33cf982152 --- matlab/dynare_estimation.m | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/matlab/dynare_estimation.m b/matlab/dynare_estimation.m index 8757971a2..9b83dff71 100644 --- a/matlab/dynare_estimation.m +++ b/matlab/dynare_estimation.m @@ -109,7 +109,7 @@ nvn = estim_params_.nvn; ncx = estim_params_.ncx; ncn = estim_params_.ncn; np = estim_params_.np ; -nx = nvx+nvn+ncx+ncn+np; +nx = nvx+nvn+ncx+ncn+np; %% Static solver if exist([M_.fname '_steadystate']) @@ -227,7 +227,6 @@ if options_.mode_compute > 0 & options_.posterior_mode_estimation if isfield(options_,'optim_opt') eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']); end - [xparam1,fval,exitflag,output,lamdba,grad,hessian_fmincon] = ... fmincon(fh,xparam1,[],[],[],[],lb,ub,[],optim_options,gend,data); elseif options_.mode_compute == 2 @@ -241,7 +240,6 @@ if options_.mode_compute > 0 & options_.posterior_mode_estimation if isfield(options_,'optim_opt') eval(['optim_options = optimset(optim_options,' options_.optim_opt ');']); end - [xparam1,fval,exitflag] = fminunc(fh,xparam1,optim_options,gend, ... data); elseif options_.mode_compute == 4 @@ -653,14 +651,14 @@ if (any(bayestopt_.pshape >0 ) & options_.mh_replic) | (any(bayestopt_.pshape > McMCDiagnostics; end %% Here i discard first half of the draws: - CutSample(); + CutSample; %% Estimation of the marginal density from the Mh draws: marginal = marginal_density; %% - GetPosteriorParametersStatistics(); - PlotPosteriorDistributions(); + GetPosteriorParametersStatistics; + PlotPosteriorDistributions; if options_.bayesian_irf - PosteriorIRF(); + PosteriorIRF; end return