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
Alexander Tishin
dynare
Commits
a62e69cf
Verified
Commit
a62e69cf
authored
Jan 15, 2020
by
Willi Mutschler
Browse files
🐛
fix identification strength barplots for one parameter
parent
c4f7c416
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/plot_identification.m
View file @
a62e69cf
...
...
@@ -60,9 +60,9 @@ if SampleSize == 1
mmm
=
(
idehess
.
ide_strength_dMOMENTS
);
[
ss
,
is
]
=
sort
(
mmm
);
if
~
all
(
isnan
(
idehess
.
ide_strength_dMOMENTS_prior
))
bar
(
log
([
idehess
.
ide_strength_dMOMENTS
(:,
is
)
' idehess.ide_strength_dMOMENTS_prior(:,is)'
]))
bar
(
1
:
nparam
,
log
([
idehess
.
ide_strength_dMOMENTS
(:,
is
)
' idehess.ide_strength_dMOMENTS_prior(:,is)'
]))
else
bar
(
log
([
idehess
.
ide_strength_dMOMENTS
(:,
is
)
'
]))
bar
(
1
:
nparam
,
log
([
idehess
.
ide_strength_dMOMENTS
(:,
is
)
'
]))
end
hold
on
plot
((
1
:
length
(
idehess
.
ide_strength_dMOMENTS
(:,
is
)))
-
0.15
,
log
([
idehess
.
ide_strength_dMOMENTS
(:,
is
)
']),'
o
','
MarkerSize
',7,'
MarkerFaceColor
',[0 0 0],'
MarkerEdgeColor
','
none
'
)
...
...
@@ -106,9 +106,9 @@ if SampleSize == 1
subplot
(
212
)
if
~
all
(
isnan
(
idehess
.
deltaM_prior
))
bar
(
log
([
idehess
.
deltaM
(
is
)
idehess
.
deltaM_prior
(
is
)]))
bar
(
1
:
nparam
,
log
([
idehess
.
deltaM
(
is
)
idehess
.
deltaM_prior
(
is
)]))
else
bar
(
log
([
idehess
.
deltaM
(
is
)]))
bar
(
1
:
nparam
,
log
([
idehess
.
deltaM
(
is
)]))
end
hold
on
plot
((
1
:
length
(
idehess
.
deltaM
(
is
)))
-
0.15
,
log
([
idehess
.
deltaM
(
is
)
']),'
o
','
MarkerSize
',7,'
MarkerFaceColor
',[0 0 0],'
MarkerEdgeColor
','
none
'
)
...
...
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