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
7fe6d733
Commit
7fe6d733
authored
Jan 26, 2011
by
Michel Juillard
Browse files
corrected bugs left in previous change set
parent
f36247ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/dynare_estimation_1.m
View file @
7fe6d733
...
...
@@ -239,13 +239,13 @@ if ~isempty(options_.unit_root_vars)
end
bayestopt_
.
var_list_stationary
=
setdiff
((
1
:
M_
.
endo_nbr
)
'
,
i_ur
);
[
junk
,
bayestopt_
.
restrict_var_list_nonstationary
]
=
...
intersect
(
bayestopt_
.
restrict_var_list
,
i_ur
);
intersect
(
oo_
.
dr
.
restrict_var_list
,
i_ur
);
bayestopt_
.
restrict_var_list_stationary
=
...
setdiff
((
1
:
length
(
bayestopt_
.
restrict_var_list
))
'
,
...
setdiff
((
1
:
length
(
oo_
.
dr
.
restrict_var_list
))
'
,
...
bayestopt_
.
restrict_var_list_nonstationary
);
if
M_
.
maximum_lag
>
1
l1
=
flipud
([
cumsum
(
M_
.
lead_lag_incidence
(
1
:
M_
.
maximum_lag
-
1
,
dr
.
order_var
),
1
);
ones
(
1
,
M_
.
endo_nbr
)]);
l2
=
l1
(:,
bayestopt_
.
restrict_var_list
);
l2
=
l1
(:,
oo_
.
dr
.
restrict_var_list
);
il2
=
find
(
l2
'
>
0
);
l2
(
il2
)
=
(
1
:
length
(
il2
))
'
;
bayestopt_
.
restrict_var_list_stationary
=
...
...
...
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