Remove remnants from estimation DLL
parent
a51bdf8948
commit
3939544498
|
@ -478,7 +478,6 @@ options_.filter_decomposition = false;
|
|||
options_.selected_variables_only = false;
|
||||
options_.contemporaneous_correlation = false;
|
||||
options_.initialize_estimated_parameters_with_the_prior_mode = 0;
|
||||
options_.estimation_dll = false;
|
||||
options_.estimation.moments_posterior_density.indicator = true;
|
||||
options_.estimation.moments_posterior_density.gridpoints = 2^9;
|
||||
options_.estimation.moments_posterior_density.bandwidth = 0; % Rule of thumb optimal bandwidth parameter.
|
||||
|
|
|
@ -155,22 +155,6 @@ if ~isempty(xparam1)
|
|||
xparam1 = xparam1(:);
|
||||
end
|
||||
|
||||
if DynareOptions.estimation_dll
|
||||
[fval,exit_flag,SteadyState,trend_coeff,info,params,H,Q] ...
|
||||
= logposterior(xparam1,DynareDataset, DynareOptions,Model, ...
|
||||
EstimatedParameters,BayesInfo,DynareResults);
|
||||
if exit_flag
|
||||
error('Error encountered in logposterior')
|
||||
end
|
||||
Model.params = params;
|
||||
if ~isequal(Model.H,0)
|
||||
Model.H = H;
|
||||
end
|
||||
Model.Sigma_e = Q;
|
||||
DynareResults.dr.ys = SteadyState;
|
||||
return
|
||||
end
|
||||
|
||||
% Set flag related to analytical derivatives.
|
||||
analytic_derivation = DynareOptions.analytic_derivation;
|
||||
|
||||
|
|
Loading…
Reference in New Issue