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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
dynare
Commits
aa22cb56
Commit
aa22cb56
authored
Apr 21, 2012
by
MichelJuillard
Browse files
Options
Downloads
Patches
Plain Diff
computing shock_decomposition for calibrated models
parent
e692185c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/evaluate_smoother.m
+3
-0
3 additions, 0 deletions
matlab/evaluate_smoother.m
preprocessor/DynareBison.yy
+1
-0
1 addition, 0 deletions
preprocessor/DynareBison.yy
with
4 additions
and
0 deletions
matlab/evaluate_smoother.m
+
3
−
0
View file @
aa22cb56
...
@@ -62,6 +62,8 @@ if ischar(parameters)
...
@@ -62,6 +62,8 @@ if ischar(parameters)
parameters
=
bayestopt_
.
p5
(:);
parameters
=
bayestopt_
.
p5
(:);
case
'prior_mean'
case
'prior_mean'
parameters
=
bayestopt_
.
p1
;
parameters
=
bayestopt_
.
p1
;
case
'calibration'
parameters
=
[];
otherwise
otherwise
disp
(
'evaluate_smoother:: If the input argument is a string, then it has to be equal to:'
)
disp
(
'evaluate_smoother:: If the input argument is a string, then it has to be equal to:'
)
disp
(
'
''
posterior_mode
''
, '
)
disp
(
'
''
posterior_mode
''
, '
)
...
@@ -69,6 +71,7 @@ if ischar(parameters)
...
@@ -69,6 +71,7 @@ if ischar(parameters)
disp
(
'
''
posterior_median
''
, '
)
disp
(
'
''
posterior_median
''
, '
)
disp
(
'
''
prior_mode
''
or'
)
disp
(
'
''
prior_mode
''
or'
)
disp
(
'
''
prior_mean
''
.'
)
disp
(
'
''
prior_mean
''
.'
)
disp
(
'
''
calibration
''
.'
)
error
error
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
preprocessor/DynareBison.yy
+
1
−
0
View file @
aa22cb56
...
@@ -2034,6 +2034,7 @@ shock_decomposition_options_list : shock_decomposition_option COMMA shock_decomp
...
@@ -2034,6 +2034,7 @@ shock_decomposition_options_list : shock_decomposition_option COMMA shock_decomp
shock_decomposition_option : o_parameter_set
shock_decomposition_option : o_parameter_set
| o_shocks
| o_shocks
| o_labels
| o_labels
| o_datafile
;
;
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';'
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list 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