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
Marco Ratto
dynare
Commits
3496c266
Unverified
Commit
3496c266
authored
May 19, 2022
by
Sébastien Villemot
Browse files
Merge branch 'evaluate_planner' of git.dynare.org:JohannesPfeifer/dynare
Ref. !2030
parents
962d6680
26db005e
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/evaluate_planner_objective.m
View file @
3496c266
...
@@ -86,6 +86,10 @@ nstatic = M_.nstatic;
...
@@ -86,6 +86,10 @@ nstatic = M_.nstatic;
nspred
=
M_
.
nspred
;
nspred
=
M_
.
nspred
;
beta
=
get_optimal_policy_discount_factor
(
M_
.
params
,
M_
.
param_names
);
beta
=
get_optimal_policy_discount_factor
(
M_
.
params
,
M_
.
param_names
);
if
beta
>=
1
fprintf
(
'evaluate_planner_objective: the planner discount factor is not strictly smaller than 1. Unconditional welfare will not be finite.\n'
)
end
if
options_
.
ramsey_policy
if
options_
.
ramsey_policy
if
oo_
.
gui
.
ran_perfect_foresight
if
oo_
.
gui
.
ran_perfect_foresight
T
=
size
(
oo_
.
endo_simul
,
2
);
T
=
size
(
oo_
.
endo_simul
,
2
);
...
...
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