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
74bc73e7
Commit
74bc73e7
authored
1 month ago
by
Johannes Pfeifer
Browse files
Options
Downloads
Patches
Plain Diff
conditional forecasts: allow using vectors in blocks
Closes
#1949
parent
48c18522
No related branches found
Branches containing commit
No related tags found
1 merge request
!2346
:bug: conditional forecasts: allow using vectors in blocks
Changes
2
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
@
9372796b
Compare
991759b2
...
9372796b
Subproject commit 9
91759b2c7c60b59a41e1079cdfcf938170d716c
Subproject commit 9
372796b0552b442f2f363cdc987001f4824c779
This diff is collapsed.
Click to expand it.
tests/conditional_forecasts/1/fs2000_cal.mod
+
17
−
0
View file @
74bc73e7
...
...
@@ -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.
Johannes Pfeifer
@JohannesPfeifer
mentioned in commit
db195f92
·
1 month ago
mentioned in commit
db195f92
mentioned in commit db195f9277b93ad125543c4ca97304f420dc1038
Toggle commit list
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