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):
Sorry, but you need to help me out here. Using primes for both derivatives and future values is confusing. Also, I have a hard time mapping the theoretical equations with abstract functional forms to your code. And in the theoretical model, lZ does not show up in any other equation. Is the system supposed to be block recursive?
Some general comments: Dynare will only use the rational expectations operator when you use a (+1) timing. Thus, you must use auxiliary variables dated contemporaneously to evaluate the biased expectations. It seems this is what you are trying to do.
Thanks Johannes for your answer! (and great job you do here at the forum )
I also implemented this method in a RE model (so I replaced lz(+1) with e_lz_n) and it gave the same results as in a standard RE model, so it seems everything works fine. I was just concerned how Dynare would handle it, but I checked the lead and lags and the Jacobian and it works perfectly
For completeness I wrote down the model again, hopefully in a less confusing way (using primes only for future values).
By the way, I don’t understand what you mean with ‘block recursive’. My lz also appears in the production function (and therefore also in the return, lr, but i only need E(lr(+1))).