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
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
Dynare
dynare
Commits
b8094a2e
Commit
b8094a2e
authored
7 years ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
Correct display of identification message if parameters are only collinear
Closes
#1614
parent
856fc060
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1618
Correct display of identification message if parameters are only coll…
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/disp_identification.m
+11
-4
11 additions, 4 deletions
matlab/disp_identification.m
with
11 additions
and
4 deletions
matlab/disp_identification.m
+
11
−
4
View file @
b8094a2e
...
@@ -84,7 +84,11 @@ end
...
@@ -84,7 +84,11 @@ end
disp
([
' '
]),
disp
([
' '
]),
if
any
(
idemodel
.
ino
)
no_warning_message_display
=
1
;
if
any
(
idemodel
.
ino
)
||
any
(
any
(
idemodel
.
ind0
==
0
))
||
any
(
idemodel
.
jweak_pair
)
no_warning_message_display
=
0
;
disp
(
'WARNING !!!'
)
disp
(
'WARNING !!!'
)
if
SampleSize
>
1
if
SampleSize
>
1
disp
([
'The rank of H (model) is deficient for '
,
num2str
(
length
(
find
(
idemodel
.
ino
))),
' out of '
,
int2str
(
SampleSize
),
' MC runs!'
]),
disp
([
'The rank of H (model) is deficient for '
,
num2str
(
length
(
find
(
idemodel
.
ino
))),
' out of '
,
int2str
(
SampleSize
),
' MC runs!'
]),
...
@@ -152,12 +156,15 @@ if any(idemodel.ino)
...
@@ -152,12 +156,15 @@ if any(idemodel.ino)
% end
% end
end
end
if
~
any
(
idemodel
.
ino
)
&&
~
any
(
any
(
idemodel
.
ind0
==
0
))
if
no_warning_message_display
disp
([
'All parameters are identified in the model (rank of H).'
]),
disp
([
'All parameters are identified in the model (rank of H).'
]),
skipline
()
skipline
()
end
end
if
any
(
idemoments
.
ino
)
no_warning_message_display
=
1
;
if
any
(
idemoments
.
ino
)
||
any
(
any
(
idemoments
.
ind0
==
0
))
||
any
(
idemoments
.
jweak_pair
)
no_warning_message_display
=
0
;
skipline
()
skipline
()
disp
(
'WARNING !!!'
)
disp
(
'WARNING !!!'
)
if
SampleSize
>
1
if
SampleSize
>
1
...
@@ -234,7 +241,7 @@ if any(idemoments.ino)
...
@@ -234,7 +241,7 @@ if any(idemoments.ino)
% end
% end
% end
% end
end
end
if
~
any
(
idemoments
.
ino
)
&&
~
any
(
any
(
idemoments
.
ind0
==
0
))
if
no_warning_message_display
skipline
()
skipline
()
disp
([
'All parameters are identified by J moments (rank of J)'
]),
disp
([
'All parameters are identified by J moments (rank of J)'
]),
skipline
()
skipline
()
...
...
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