Bounded Rationality in standard growth model
Posted: Tue Oct 14, 2014 11:25 am
Hello,
I want to build a model where the expected productivity shock has a bias (depending on past shocks). I have been looking in the forum and other websites, but I can't get a clear view of how to handle it. The model should be (using primes for both derivatives and next period values):
K' = f(K,Z) - C;
u'(c) = beta* E( u'(c') * f_k(K',Z') );
lZ = rho * lZ(-1) + e;
E(lZ(+1)) = rho*lZ + BIAS(lZ,lZ(-1));
I implemented this in Dynare with the following model block:
model;
-nu * l_c = log(beta) - nu * l_c(+1) + log(exp(e_lr_n) + (1-delta));
exp(l_k) = exp( l_z + alpha*l_k(-1)) + (1-delta)*exp(l_k(-1)) - exp(l_c);
l_z = rho * l_z(-1) + sigma * e1;
%E(lr(+1)):
e_lr_n = e_lz_n + log(alpha) + (alpha-1)*l_k;
%E(lz(+1)):
e_lz_n = (1-rho)*bias + rho * l_z;
bias = f(l_z,l_z(-1)); %the form of the function shouldn't matter so I left it out
Dynare does solve it, but I am wondering if it is the correct solution. Can anybody tell me if I implemented it correctly or not?
Many thanks in advance!!
I want to build a model where the expected productivity shock has a bias (depending on past shocks). I have been looking in the forum and other websites, but I can't get a clear view of how to handle it. The model should be (using primes for both derivatives and next period values):
K' = f(K,Z) - C;
u'(c) = beta* E( u'(c') * f_k(K',Z') );
lZ = rho * lZ(-1) + e;
E(lZ(+1)) = rho*lZ + BIAS(lZ,lZ(-1));
I implemented this in Dynare with the following model block:
model;
-nu * l_c = log(beta) - nu * l_c(+1) + log(exp(e_lr_n) + (1-delta));
exp(l_k) = exp( l_z + alpha*l_k(-1)) + (1-delta)*exp(l_k(-1)) - exp(l_c);
l_z = rho * l_z(-1) + sigma * e1;
%E(lr(+1)):
e_lr_n = e_lz_n + log(alpha) + (alpha-1)*l_k;
%E(lz(+1)):
e_lz_n = (1-rho)*bias + rho * l_z;
bias = f(l_z,l_z(-1)); %the form of the function shouldn't matter so I left it out
Dynare does solve it, but I am wondering if it is the correct solution. Can anybody tell me if I implemented it correctly or not?
Many thanks in advance!!