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
Dynare
dynare
Commits
088ac2be
Commit
088ac2be
authored
Oct 03, 2017
by
Johannes Pfeifer
Browse files
Fix incorrect comments
parent
fb6a11f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_init.m
View file @
088ac2be
...
...
@@ -549,7 +549,7 @@ else
steadystate_check_flag
=
1
;
end
%
If the
steady state
of the observed variables is non zero, set noconstant equal 0 ()
%
check
steady state
at initial parameters
M
=
M_
;
nvx
=
estim_params_
.
nvx
;
ncx
=
estim_params_
.
ncx
;
...
...
@@ -565,6 +565,7 @@ if info(1)
print_info
(
info
,
0
,
options_
);
end
% If the steady state of the observed variables is non zero, set noconstant equal 0 ()
if
(
~
options_
.
loglinear
&&
all
(
abs
(
oo_
.
steady_state
(
bayestopt_
.
mfys
))
<
1e-9
))
||
(
options_
.
loglinear
&&
all
(
abs
(
log
(
oo_
.
steady_state
(
bayestopt_
.
mfys
)))
<
1e-9
))
options_
.
noconstant
=
1
;
else
...
...
matlab/set_parameters_locally.m
View file @
088ac2be
...
...
@@ -56,7 +56,7 @@ end
% and update offset
offset
=
offset
+
nvx
+
nvn
;
% correlations amon
x
shocks (ncx)
% correlations amon
g
shocks (ncx)
if
ncx
corrx
=
estim_params_
.
corrx
;
for
i
=
1
:
ncx
...
...
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