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
d61f4166
Verified
Commit
d61f4166
authored
4 years ago
by
Sébastien Villemot
Browse files
Options
Downloads
Patches
Plain Diff
Testsuite: add a test for a purely forward variable in block+bytecode mode
Closes:
#1727
parent
73253a06
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#4196
passed
4 years ago
Stage: build
Stage: test_and_pkg
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/block_bytecode/ls2003.mod
+9
-2
9 additions, 2 deletions
tests/block_bytecode/ls2003.mod
with
9 additions
and
2 deletions
tests/block_bytecode/ls2003.mod
+
9
−
2
View file @
d61f4166
var y y_s R pie dq pie_s de A y_obs pie_obs R_obs vv ww;
varexo e_R e_q e_ys e_pies e_A;
var y y_s R pie dq pie_s de A y_obs pie_obs R_obs vv ww
pure_forward
;
varexo e_R e_q e_ys e_pies e_A
e_pure_forward
;
parameters psi1 psi2 psi3 rho_R tau alpha rr k rho_q rho_A rho_ys rho_pies;
...
...
@@ -53,6 +53,10 @@ det = 0.25-0.02 = 0.23
= 1/0.23* = 1/0.23* =
[ww] [0.1 0.5] [2] [1.1] [4.7826]
*/
/* Test a purely forward variable (thus within a block of type “evaluate
backward”). See #1727. */
pure_forward = 0.9*pure_forward(+1) + e_pure_forward;
end;
shocks;
...
...
@@ -76,6 +80,9 @@ shocks;
var e_q;
periods 1;
values 0.5;
var e_pure_forward;
periods 19;
values 1;
end;
simul(periods=20, markowitz=0, stack_solve_algo = @{stack_solve_algo});
...
...
This diff is collapsed.
Click to expand it.
Sébastien Villemot
@sebastien
mentioned in commit
77e06207
·
4 years ago
mentioned in commit
77e06207
mentioned in commit 77e06207f8f00ffbc0d5ad9d6049d8fe00f45ec5
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