Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dóra Kocsis
dynare
Commits
d0161843
Commit
d0161843
authored
Sep 24, 2010
by
Sébastien Villemot
Browse files
Testsuite: removed duplicate test case (now under tests/steady_state)
parent
ad89d0f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
d0161843
...
...
@@ -31,7 +31,6 @@ OCTAVE_MODS = \
block_bytecode/ireland.mod
\
block_bytecode/ls2003.mod
\
block_bytecode/ramst_normcdf_and_friends.mod
\
block_bytecode/ramst_steady_state.mod
\
k_order_perturbation/fs2000k2a.mod
\
k_order_perturbation/fs2000k2.mod
\
k_order_perturbation/fs2000k_1.mod
\
...
...
tests/block_bytecode/ramst_steady_state.mod
deleted
100644 → 0
View file @
ad89d0f1
// Tests steady_state, in the static and dynamic bytecode file
var c k w;
varexo x;
parameters alph gam delt bet aa c_steady_state;
alph=0.5;
gam=0.5;
delt=0.02;
bet=0.05;
aa=0.5;
model(bytecode, block);
c + k - aa*x*k(-1)^alph - (1-delt)*k(-1);
c^(-gam) - (1+bet)^(-1)*(aa*alph*x(+1)*k^(alph-1) + 1 - delt)*c(+1)^(-gam);
w = steady_state(k);
end;
initval;
x = 1;
k = ((delt+bet)/(1.0*aa*alph))^(1/(alph-1));
c = aa*k^alph-delt*k;
w = 0;
end;
steady(solve_algo=5);
//check;
shocks;
var x;
periods 1;
values 1.2;
end;
simul(periods=20, stack_solve_algo=5);
if(abs(oo_.steady_state(2) - oo_.steady_state(3)) > 1e-10)
error('Test failed in the static bytecode file for steady_state')
end
if(abs(oo_.steady_state(2) - oo_.endo_simul(3,2)) > 1e-10)
error('Test failed in the dynamic bytecode file for steady_state')
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment