Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Minje Jeon
dynare
Commits
e1034620
Commit
e1034620
authored
8 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'rattoma/gsa'
parents
732aa8c3
c60379ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/gsa/scatter_callback.m
+2
-2
2 additions, 2 deletions
matlab/gsa/scatter_callback.m
matlab/gsa/scatter_plots.m
+5
-6
5 additions, 6 deletions
matlab/gsa/scatter_plots.m
with
7 additions
and
8 deletions
matlab/gsa/scatter_callback.m
+
2
−
2
View file @
e1034620
...
...
@@ -23,7 +23,7 @@ function scatter_callback(K, type)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
global
oo_
M_
global
oo_
M_
options_
bayestopt_
estim_params_
x
=
get
(
gcf
,
'userdata'
);
r2
=
x
{
1
};
...
...
@@ -37,6 +37,6 @@ switch type
case
'eval'
disp
(
'Evaluating smoother ...'
)
oo_
=
evaluate_smoother
(
xparam1
,
M_
.
endo_names
);
[
oo_
,
M_
]
=
evaluate_smoother
(
xparam1
,
M_
.
endo_names
,
M_
,
oo_
,
options_
,
bayestopt_
,
estim_params_
);
% [rmse, lnam, r2,vv] = plot_fit(obsname{:});
end
This diff is collapsed.
Click to expand it.
matlab/gsa/scatter_plots.m
+
5
−
6
View file @
e1034620
function
scatter_plots
(
X
,
xp
,
vnames
,
plotsymbol
,
fnam
,
dirname
,
figtitle
,
xparam1
,
DynareOptions
)
%
% Written by Marco Ratto
% Joint Research Centre, The European Commission,
...
...
@@ -53,16 +52,17 @@ if nargin<4 || isempty(plotsymbol)
end
end
if
nargin
<
5
fnam
=
''
;
if
nargin
<
5
||
isempty
(
fnam
)
fnam
=
'
scatter_plot
'
;
end
if
nargin
<
6
,
if
nargin
<
6
||
isempty
(
dirname
)
,
dirname
=
''
;
nograph
=
1
;
DynareOptions
.
nodisplay
=
0
;
else
nograph
=
0
;
end
if
nargin
<
7
,
if
nargin
<
7
||
isempty
(
figtitle
)
,
figtitle
=
fnam
;
end
if
nargin
<
8
,
...
...
@@ -75,7 +75,6 @@ fig_nam_=[fnam];
if
~
nograph
,
hh
=
dyn_figure
(
DynareOptions
.
nodisplay
,
'name'
,
figtitle
);
set
(
hh
,
'userdata'
,{
X
,
xp
})
end
bf
=
0.1
;
ffs
=
0.05
/(
p
-
1
);
...
...
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