Skip to content
Snippets Groups Projects
Commit 74bc73e7 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

:bug: conditional forecasts: allow using vectors in blocks

Closes #1949
parent 48c18522
No related branches found
No related tags found
1 merge request!2346:bug: conditional forecasts: allow using vectors in blocks
Subproject commit 991759b2c7c60b59a41e1079cdfcf938170d716c
Subproject commit 9372796b0552b442f2f363cdc987001f4824c779
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment