Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
6a809530
Commit
6a809530
authored
Mar 03, 2012
by
Stéphane Adjemian
Browse files
Added particle filter flag.
parent
2f3c8f91
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_1.m
View file @
6a809530
...
...
@@ -31,8 +31,17 @@ function dynare_estimation_1(var_list_,dname)
global
M_
options_
oo_
estim_params_
bayestopt_
dataset_
% Set particle filter flag.
if
options_
.
order
>
1
options_
.
particle_filter
.
status
=
1
;
end
if
~
options_
.
dsge_var
objective_function
=
str2func
(
'dsge_likelihood'
);
if
options_
.
particle_filter
.
status
objective_function
=
str2func
(
'non_linear_dsge_likelihood'
);
else
objective_function
=
str2func
(
'dsge_likelihood'
);
end
else
objective_function
=
str2func
(
'DsgeVarLikelihood'
);
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment