Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Villemot
dynare
Commits
881f5f2e
Verified
Commit
881f5f2e
authored
1 year ago
by
Sébastien Villemot
Browse files
Options
Downloads
Plain Diff
Merge branch 'dynare-gsa_qz'
Ref. !2270
parents
330542a7
b1cb309a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/+gsa/run.m
+7
-2
7 additions, 2 deletions
matlab/+gsa/run.m
with
7 additions
and
2 deletions
matlab/+gsa/run.m
+
7
−
2
View file @
881f5f2e
...
...
@@ -13,7 +13,7 @@ function x0=run(M_,oo_,options_,bayestopt_,estim_params_,options_gsa)
% M. Ratto (2008), Analysing DSGE Models with Global Sensitivity Analysis,
% Computational Economics (2008), 31, pp. 115–139
% Copyright © 2008-202
3
Dynare Team
% Copyright © 2008-202
4
Dynare Team
%
% This file is part of Dynare.
%
...
...
@@ -150,6 +150,11 @@ end
[
~
,
~
,
~
,
~
,
oo_
.
dr
,
M_
.
params
]
=
dynare_resolve
(
M_
,
options_
,
oo_
.
dr
,
oo_
.
steady_state
,
oo_
.
exo_steady_state
,
oo_
.
exo_det_steady_state
);
if
isfield
(
oo_
.
dr
,
'eigval'
)
&&
any
(
abs
(
oo_
.
dr
.
eigval
-
1
)
<
abs
(
1
-
options_
.
qz_criterium
))
&&
options_
.
qz_criterium
<
1
fprintf
(
'\ngsa: The model features a unit root, but qz_criterium<1. Check whether that is intended.'
)
fprintf
(
'\ngsa: If not, use the diffuse_filter option.\n'
)
end
options_gsa
=
set_default_option
(
options_gsa
,
'identification'
,
0
);
if
options_gsa
.
identification
options_gsa
.
redform
=
0
;
...
...
@@ -522,4 +527,4 @@ if options_gsa.glue
save
([
OutputDirectoryName
,
'/'
,
fname_
,
'_glue_mc.mat'
],
'Out'
,
'Sam'
,
'Lik'
,
'Obs'
,
'Rem'
,
'Info'
,
'Exo'
)
end
end
end
\ No newline at end of file
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment