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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
Stéphane Adjemian
dynare
Commits
f594c27f
Commit
f594c27f
authored
12 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Conditional forecast test: remove spurious changes introduced in
dfa744fc
As a consequence, reactivate the tests
parent
3c5ce6aa
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/conditional_forecasts/fs2000_cal.mod
+7
-31
7 additions, 31 deletions
tests/conditional_forecasts/fs2000_cal.mod
tests/conditional_forecasts/fs2000_est.mod
+0
-2
0 additions, 2 deletions
tests/conditional_forecasts/fs2000_est.mod
with
7 additions
and
33 deletions
tests/conditional_forecasts/fs2000_cal.mod
+
7
−
31
View file @
f594c27f
...
...
@@ -13,7 +13,6 @@ rho = 0.7;
psi = 0.787;
del = 0.02;
//model(block, bytecode);
model;
dA = exp(gam+e_a);
log(m) = (1-rho)*log(mst) + rho*log(m(-1))+e_m;
...
...
@@ -57,41 +56,18 @@ steady;
check;
//
stoch_simul(irf=0);
stoch_simul(irf=0);
conditional_forecast_paths;
var gp_obs;
periods 1 2:5;
//values 0.05;
//values 0.98 1.00797;
values 0.98 0.99;
//expectation perfect_foresight;
var gy_obs;
periods 1 2 3:5;
//
values 0.01 -0.02 0;
//values 0.85 0.85 0.95
;
values 0.95 0.95 0.99
;
//expectation perfect_foresight
;
values 0.01 -0.02 0;
var gp_obs
;
periods 1:5
;
values 0.05
;
end;
options_.stack_solve_algo = 0;
options_.maxit_ = 50;
conditional_forecast(parameter_set=calibration, controlled_varexo=(e_a,e_m));
error('Test disabled, enters an infinite loop')
plot_conditional_forecast(periods=10) gy_obs gp_obs;
conditional_forecast(parameter_set=calibration, controlled_varexo=(e_m,e_a), simulation_type = deterministic);
/*shocks;
var e_a;
periods 1 2 3 4 5;
values -0.0109 -0.0122 -0.0137 -0.0154 -0.0173;
var e_m;
periods 1 2 3 4 5;
values -0.1242 -0.0386 -0.0392 -0.0398 -0.0405;
end;
simul(periods=40);*/
rplot gy_obs;
rplot gp_obs;
//if ~(exist('OCTAVE_VERSION') && octave_ver_less_than('3.4.0'))
//plot_conditional_forecast(periods=10) gy_obs gp_obs;
//end
This diff is collapsed.
Click to expand it.
tests/conditional_forecasts/fs2000_est.mod
+
0
−
2
View file @
f594c27f
...
...
@@ -97,8 +97,6 @@ varobs gp_obs gy_obs;
options_.solve_tolf = 1e-12;
error('Test disabled, enters an infinite loop')
// Metropolis replications are too few, this is only for testing purpose
estimation(order=1,datafile=fsdat_simul,nobs=192,loglinear,mh_replic=10000,mh_nblocks=1,mh_jscale=0.8);
...
...
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