Skip to content
Snippets Groups Projects
Commit c14e4021 authored by MichelJuillard's avatar MichelJuillard
Browse files

fixed expectation model test cases. They had a crazy steady state

revealed by the now more accurate nonlinear solver.

(cherry picked from commit 8bf484a1)
parent 7ef62e14
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ theta = 2.95;
phi = 0.1;
model;
c*theta*h^(1+psi)=expectation(1)((1-alpha)*y)+expectation(-2)((1-alpha)*y);
c*theta*h^(1+psi)=(expectation(1)((1-alpha)*y)+expectation(-2)((1-alpha)*y))/2;
k = beta*(((exp(b)*c)/(exp(b(+1))*c(+1)))
*(exp(b(+1))*alpha*y(+1)+(1-delta)*k));
y = exp(a)*(k(-1)^alpha)*(h^(1-alpha));
......
......@@ -15,7 +15,7 @@ theta = 2.95;
phi = 0.1;
model;
c*theta*h^(1+psi)=expectation(1)(((1-alpha)*y)+expectation(3)((1-alpha)*y));
c*theta*h^(1+psi)=expectation(1)(((1-alpha)*y)+expectation(3)((1-alpha)*y))/2;
k = beta*(((exp(b)*c)/(exp(b(+1))*c(+1)))
*(exp(b(+1))*alpha*y(+1)+(1-delta)*k));
y = exp(a)*(k(-1)^alpha)*(h^(1-alpha));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment