How to plot determinacy/indeterminacy regions?
Posted: Sun Jul 10, 2011 12:43 pm
Hello everyone.
I am trying to replicate the Gali, Lopes-Salido, Valles (2004) paper on "Rule-of-Thumb Consumers...".
I struggle at least a week to get a figure with determinacy/indeterminacy regions, where two parameters are changing in an interval (0,1).
The mod-file is attached. Although it might be a wrong one, but the problem's solution shouldn't depend on it.
One possible solution could be to loop both parameters. But, in the case of looping only one i got this message:
Anyway, I don't think that would be the right solution path.
So, could anybody help me to crack this?
Thanks a lot.
I am trying to replicate the Gali, Lopes-Salido, Valles (2004) paper on "Rule-of-Thumb Consumers...".
I struggle at least a week to get a figure with determinacy/indeterminacy regions, where two parameters are changing in an interval (0,1).
The mod-file is attached. Although it might be a wrong one, but the problem's solution shouldn't depend on it.
One possible solution could be to loop both parameters. But, in the case of looping only one i got this message:
??? Attempted to access lambdas(0.128708); index must be a positive integer or
logical.
Error in ==> rotc_noshock at 141
M_.params( 5 ) = lambdas(oo_.steady_state(2));
Error in ==> dynare at 132
evalin('base',fname) ;
Anyway, I don't think that would be the right solution path.
So, could anybody help me to crack this?
Thanks a lot.