I downloaded the attached code from Doug Laxton's website but it fails when I run it returning "error in computing likelihood for initial parameter values" and "error: BK conditions not satisfied, no stable equilibrium" despite the fact that the BK condition are satisfied (4 eigenvalues with modulus>1 for 4 forward looking variables).
I'm running Dynare 4.2.2 on Octave 3.2.4.
Thanks!