I am new to Dynare. I am doing a value function iteration where I have to use a max operator in the forward looking variables. It is of the form (simplified here):
Dynare does not do value function iterations, so I don’t know what you are doing. The rank condition is based on a local/linear approximation. Your equation is non-differentiable, so it does not make sense.
I am modifying Thomas Winberry’s " Method for Solving and Estimating Heterogeneous Agent Macro Models" according to my model. This part is where Chebyshev polynomials are used to approximate value functions. The coefficients on these polynomials give rise to forward looking equations.
Where I am facing an error is:
If I have equations like
“v1=u+bmax(v1(+1),v2(+1))", the rank condition is verified,
but if I change it to
"v1=u+b(p1* max(v1(+1),v2(+1)) + p2*max(v1(+1),v2(+1)))”, the rank condition is not verified any more.