Added new algorithm for the estimation of nonlinear models.

time-shift
Stéphane Adjemian (Charybdis) 2016-06-01 14:50:54 +02:00
parent 272e3c96f8
commit 67b808207c
2 changed files with 5 additions and 0 deletions

View File

@ -6020,6 +6020,9 @@ Gaussian mixture filter.
@item cpf
Conditional particle filter.
@item nlkf
Use a standard (linear) Kalman filter algorithm with the nonlinear measurement and state equations.
@end table
@item proposal_approximation = @var{OPTION}

View File

@ -81,6 +81,8 @@ if ~options_.dsge_var
options_.particle.algorithm = 'gaussian_mixture_filter';
elseif strcmpi(options_.particle.filter_algorithm, 'cpf')
options_.particle.algorithm = 'conditional_particle_filter';
elseif strcmpi(options_.particle.filter_algorithm, 'nlkf')
options_.particle.algorithm = 'nonlinear_kalman_filter';
else
error(['Estimation: Unknown filter ' options_.particle.filter_algorithm])
end