add xfail test for all_values_required

time-shift
Houtan Bastani 2012-11-07 13:05:10 +01:00
parent feced78ee6
commit c6a330ff7d
2 changed files with 35 additions and 1 deletions

View File

@ -148,7 +148,7 @@ MODFILES = \
deterministic_simulations/rbc_det5.mod \
walsh.mod
XFAIL_MODFILES =
XFAIL_MODFILES = ramst_xfail.mod
# Dependencies
example1_use_dll.m.trs: example1.m.trs

34
tests/ramst_xfail.mod Normal file
View File

@ -0,0 +1,34 @@
var c k;
varexo x;
parameters alph gam delt bet aa;
alph=0.5;
gam=0.5;
delt=0.02;
bet=0.05;
aa=0.5;
model;
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);
end;
initval(all_values_required);
c = aa*k^alph-delt*k;
end;
steady;
check;
shocks;
var x;
periods 1;
values 1.2;
end;
simul(periods=200);
rplot c;
rplot k;