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
db195f92
Verified
Commit
db195f92
authored
1 month ago
by
Johannes Pfeifer
Committed by
Sébastien Villemot
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
conditional forecasts: allow using vectors in blocks
Closes
#1949
(manually cherry picked from commit
74bc73e7
)
parent
5d478f04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#11335
passed
1 month ago
Stage: build
Stage: test
Stage: pkg
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
preprocessor
+1
-1
1 addition, 1 deletion
preprocessor
tests/conditional_forecasts/1/fs2000_cal.mod
+17
-0
17 additions, 0 deletions
tests/conditional_forecasts/1/fs2000_cal.mod
with
18 additions
and
1 deletion
preprocessor
@
6e981b8a
Compare
a1bfb548
...
6e981b8a
Subproject commit
a1bfb5483d76715873f0689d9389793a0838a485
Subproject commit
6e981b8a7f256a40cac45c37a73022ae1d6597d7
This diff is collapsed.
Click to expand it.
tests/conditional_forecasts/1/fs2000_cal.mod
+
17
−
0
View file @
db195f92
...
...
@@ -78,5 +78,22 @@ end;
conditional_forecast(parameter_set=calibration, controlled_varexo=(e_a,e_m));
results_1=struct2array(oo_.conditional_forecast.cond.Mean);
plot_conditional_forecast(periods=10) gy_obs gp_obs;
xx=[0.01 -0.02 0 0 0];
conditional_forecast_paths;
var gy_obs;
periods 1:5;
values (xx);
var gp_obs;
periods 1:5;
values 0.05;
end;
conditional_forecast(parameter_set=calibration, controlled_varexo=(e_a,e_m));
results_2=struct2array(oo_.conditional_forecast.cond.Mean);
if max(max(abs(results_1-results_2)))>1e-10
error('Interface wrong')
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